diff options
author | Vlad Dm <2tunnels@gmail.com> | 2017-02-14 12:39:27 +0200 |
---|---|---|
committer | Brian Coca <bcoca@users.noreply.github.com> | 2017-02-14 10:47:37 -0500 |
commit | 32b92b53b04068615a351a543574892bf33063a7 (patch) | |
tree | 3fd4598082f881c014b4285652f75dcced341466 /docs | |
parent | e075307f3a79084262e516da684a0b95606cd035 (diff) | |
download | ansible-32b92b53b04068615a351a543574892bf33063a7.tar.gz |
service state typo
Diffstat (limited to 'docs')
-rw-r--r-- | docs/docsite/rst/playbooks_conditionals.rst | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/docsite/rst/playbooks_conditionals.rst b/docs/docsite/rst/playbooks_conditionals.rst index 78959ef57e..c5d7ac887e 100644 --- a/docs/docsite/rst/playbooks_conditionals.rst +++ b/docs/docsite/rst/playbooks_conditionals.rst @@ -194,8 +194,8 @@ but it is easily handled with a minimum of syntax in an Ansible Playbook:: - "vars/common.yml" - [ "vars/{{ ansible_os_family }}.yml", "vars/os_defaults.yml" ] tasks: - - name: make sure apache is running - service: name={{ apache }} state=running + - name: make sure apache is started + service: name={{ apache }} state=started .. note:: The variable 'ansible_os_family' is being interpolated into @@ -242,7 +242,7 @@ The following example shows how to template out a configuration file that was ve - name: template a file template: src={{ item }} dest=/etc/myapp/foo.conf with_first_found: - - files: + - files: - {{ ansible_distribution }}.conf - default.conf paths: @@ -320,4 +320,3 @@ You may check the registered variable's string contents for emptiness:: Have a question? Stop by the google group! `irc.freenode.net <http://irc.freenode.net>`_ #ansible IRC chat channel - |