Difference between revisions of "--ask-become-pass"

From wikieduonline
Jump to navigation Jump to search
(Created page with " #!/usr/bin/env ansible-playbook --ask-become-pass - hosts: YOUR_HOSTNAME become: yes become_method: sudo gather_facts: no tasks: - lineinfile:...")
 
Line 4: Line 4:
 
   
 
   
 
  - hosts: YOUR_HOSTNAME
 
  - hosts: YOUR_HOSTNAME
   become: yes
+
   [[become:]] yes
   become_method: sudo
+
   [[become_method:]] sudo
   gather_facts: no
+
   [[gather_facts:]] no
 
   tasks:
 
   tasks:
 
     - lineinfile:
 
     - lineinfile:

Revision as of 09:14, 16 November 2020

Advertising: