Fix conditionals doc example
Use most recent parameters for yum
This commit is contained in:
parent
a55c6625d4
commit
35b94948b9
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