Commit 35b94948 by Jérémie Astori

Fix conditionals doc example

Use most recent parameters for yum
parent a55c6625
...@@ -166,11 +166,11 @@ To use this conditional import feature, you'll need facter or ohai installed pri ...@@ -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:: you can of course push this out with Ansible if you like::
# for facter # for facter
ansible -m yum -a "pkg=facter ensure=installed" ansible -m yum -a "pkg=facter state=present"
ansible -m yum -a "pkg=ruby-json ensure=installed" ansible -m yum -a "pkg=ruby-json state=present"
# for ohai # 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 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 from turning into arbitrary code with ugly nested ifs, conditionals, and so on - and results
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment