![]() ![]() Here is the output from the ansibl-playbook run: Note that the other commands we've run so far did not need root privileges. This is necessary because the apt requires root privileges. The -ask-sudo-pass flag will prompt us for the sudo password. $ ansible-playbook apache.yml -ask-sudo-pass The apt line installs the apache2 package ( name=apache2) and ensures we have updated the cache (update_cache=yes).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |