Difference between revisions of "Ansible tasks:"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
   - name: Shut down Debian flavored systems
 
   - name: Shut down Debian flavored systems
 
     [[command:]] /sbin/shutdown -t now
 
     [[command:]] /sbin/shutdown -t now
     [[when:]] [[ansible_facts]]['os_family'] == "Debian"
+
     [[when: (Ansible)|when:]] [[ansible_facts]]['os_family'] == "Debian"
  
 
== Related ==
 
== Related ==
 +
* <code>[[/usr/bin/env ansible-playbook]]</code>
 +
* [[Ansible playbooks examples]]
 
* <code>[[include:]]</code>
 
* <code>[[include:]]</code>
 
* <code>[[hosts:]]</code>
 
* <code>[[hosts:]]</code>

Latest revision as of 11:53, 8 September 2023

Advertising: