![]() Here is the quick screen snip of executing this playbook. Same way here in ansible, the following playbook/play would do that for you - name: Playbook to install NGINXīecome: true tasks: - name: Ansible apt install nginx In typical Ubuntu machine, in order to install a package, you would execute the following command apt install nginx Clean up the useless Packages using ansible aptĪnsible apt module manages apt packages in Debian or Ubuntu systems.How to validate if a package is installed - Ansible apt.Install Specific version of a package with Ansible apt.How to install a list of packages in One Go with Ansible apt.Update & Upgrade All the packages installed in OneGo.Upgrade a Single package or Software with ansible apt.Update cache if it is older than a certain time. ![]() How to remove a Package with Ansible apt.How to install a Package with Ansible apt. ![]()
0 Comments
Leave a Reply. |