Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

ansible become sudo pawwsord

ansible-playbook playbook.yml -i inventory.ini --user=username 
                              --extra-vars "ansible_sudo_pass=yourPassword"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #ansible #sudo #pawwsord
ADD COMMENT
Topic
Name
6+1 =