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

From wikieduonline
Jump to navigation Jump to search
Line 13: Line 13:
 
         line: 'YOUR_USERNAME ALL=(ALL) NOPASSWD: ALL'
 
         line: 'YOUR_USERNAME ALL=(ALL) NOPASSWD: ALL'
 
         validate: 'visudo -cf %s'
 
         validate: 'visudo -cf %s'
 +
 +
 +
== Example ==
 +
* <code>[[ansible -m raw]] [[--ask-pass]] [[--ask-become-pass]] DESTINATION_HOSTNAME -a uptime</code>
 +
* <code>[[ansible -m raw]] -u MY_USERNAME -k -K DESTINATION_HOSTNAME -a uptime</code>
  
 
== Related terms ==
 
== Related terms ==

Revision as of 11:35, 29 November 2020

Advertising: