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
0 Comments
Leave a Reply. |