Difference between revisions of "Ansible tasks:"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
{{Draft}}
 
{{Draft}}
 
{{lowercase}}
 
{{lowercase}}
 +
 +
 +
[[tasks:]]
 +
  - name: Shut down Debian flavored systems
 +
    [[command:]] /sbin/shutdown -t now
 +
    [[when:]] [[ansible_facts]]['os_family'] == "Debian"
  
 
== Related ==
 
== Related ==
 
* <code>[[include:]]</code>
 
* <code>[[include:]]</code>
 
* <code>[[hosts:]]</code>
 
* <code>[[hosts:]]</code>
 +
* <code>[[when:]]</code>
 +
  
 
== See also ==
 
== See also ==

Revision as of 12:27, 21 October 2021

Advertising: