From 8681df4b58af7f038ba2bc29e483e2634c063fbc Mon Sep 17 00:00:00 2001 From: Olaf Alders Date: Tue, 16 Aug 2016 15:02:25 -0400 Subject: [PATCH] s/shutdown/shut down/ (#17107) shutdown is a noun. In the task name you really want a verb. --- docsite/rst/playbooks_conditionals.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docsite/rst/playbooks_conditionals.rst b/docsite/rst/playbooks_conditionals.rst index 56a25a44a1b..cf6ed50a37f 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")