Merge pull request #9875 from astorije/patch-2
Fix conditionals doc example
This commit is contained in:
commit
241be0d6c5
1 changed files with 3 additions and 3 deletions
|
@ -166,11 +166,11 @@ To use this conditional import feature, you'll need facter or ohai installed pri
|
|||
you can of course push this out with Ansible if you like::
|
||||
|
||||
# for facter
|
||||
ansible -m yum -a "pkg=facter ensure=installed"
|
||||
ansible -m yum -a "pkg=ruby-json ensure=installed"
|
||||
ansible -m yum -a "pkg=facter state=present"
|
||||
ansible -m yum -a "pkg=ruby-json state=present"
|
||||
|
||||
# for ohai
|
||||
ansible -m yum -a "pkg=ohai ensure=installed"
|
||||
ansible -m yum -a "pkg=ohai state=present"
|
||||
|
||||
Ansible's approach to configuration -- separating variables from tasks, keeps your playbooks
|
||||
from turning into arbitrary code with ugly nested ifs, conditionals, and so on - and results
|
||||
|
|
Loading…
Reference in a new issue