Difference between revisions of "Examples of Ansible execution modules"

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
  
 
== Example ==
 
== Example ==
* <code>[[ansible -m raw]] --ask-pass --ask-become-pass DESTINATION_HOSTNAME -a uptime</code>
+
* <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>
 
* <code>[[ansible -m raw]] -u MY_USERNAME -k -K DESTINATION_HOSTNAME -a uptime</code>
  

Revision as of 11:34, 29 November 2020

Advertising: