diff options
author | Olaf Alders <olaf@wundersolutions.com> | 2016-08-16 15:02:25 -0400 |
---|---|---|
committer | René Moser <mail@renemoser.net> | 2016-08-16 21:02:25 +0200 |
commit | 8681df4b58af7f038ba2bc29e483e2634c063fbc (patch) | |
tree | 80b176274c735f75d1b97bf22757dacd36c8b4a8 | |
parent | 297e2d8266bdd8e37c8d9dfa72f7590968ed9342 (diff) | |
download | ansible-8681df4b58af7f038ba2bc29e483e2634c063fbc.tar.gz |
s/shutdown/shut down/ (#17107)
shutdown is a noun. In the task name you really want a verb.
-rw-r--r-- | docsite/rst/playbooks_conditionals.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docsite/rst/playbooks_conditionals.rst b/docsite/rst/playbooks_conditionals.rst index 56a25a44a1..cf6ed50a37 100644 --- a/docsite/rst/playbooks_conditionals.rst +++ b/docsite/rst/playbooks_conditionals.rst @@ -24,7 +24,7 @@ This is easy to do in Ansible with the `when` clause, which contains a raw Jinja It's actually pretty simple:: tasks: - - name: "shutdown Debian flavored systems" + - name: "shut down Debian flavored systems" command: /sbin/shutdown -t now when: ansible_os_family == "Debian" # note that Ansible facts and vars like ansible_os_family can be used @@ -33,7 +33,7 @@ It's actually pretty simple:: You can also use parentheses to group conditions:: tasks: - - name: "shutdown CentOS 6 and Debian 7 systems" + - name: "shut down CentOS 6 and Debian 7 systems" command: /sbin/shutdown -t now when: (ansible_distribution == "CentOS" and ansible_distribution_major_version == "6") or (ansible_distribution == "Debian" and ansible_distribution_major_version == "7") |