Just a tip of ansible newbies, ansible contains it's own facts system, so
there's no need to install facter or Ruby unless you really want to.

We include the existing facts in there for people who are in the process of
migrating playbooks over from Puppet - but in general where there are facts
missing, we enjoy pull requests.

It's also possible to write your own fact modules (just return a dictionary
named "ansible_facts" or extend them using the facts.d mechanism -
http://docs.ansible.com/playbooks_variables.html#local-facts-facts-d




On Sat, Jun 28, 2014 at 12:41 AM, Christopher O'Connell <
[email protected]> wrote:

> Hi David,
>
> I currently store a copy of the .repo file in a role called baseline that
> I put at the beginning of every playbook. baseline uses copy to upload the
> repo file to the boxes and then installs python-keyczar, facter, and adds
> the appropriate rule to the firewall to open 5099 to the ansible hosts.
>
> All the best,
>
> ~ Christopher
>
>
> On Fri, Jun 27, 2014 at 9:36 PM, David Reagan <[email protected]> wrote:
>
>> As far as I can tell, I need to add the EPEL repositories in order to
>> install facter on CentOS.
>>
>> Am I right?
>>
>> So far, the only way to install the EPEL repo I have found is to download
>> the rpm for it, and then use rpm to install it. Not something I really want
>> to do every time I run my playbooks.
>>
>> I also tried yum: name="
>> http://yum.puppetlabs.com/puppetlabs-release-el-6.noarch.rpm"; but that
>> said "No Package matching '
>> http://yum.puppetlabs.com/puppetlabs-release-el-6.noarch.rpm' found
>> available, installed or updated" even though there's an example like that
>> in the docs.
>>
>> So, what's the best way to install facter on CentOS?
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Ansible Project" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/ansible-project/6059eb86-07be-4c14-8aa0-4b3f6c1cb2d5%40googlegroups.com
>> <https://groups.google.com/d/msgid/ansible-project/6059eb86-07be-4c14-8aa0-4b3f6c1cb2d5%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CAEx8eySqbaz2HECTx7uqjnZ%3DpMchqMgfsA2daKBiasR_NdL-0w%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CAEx8eySqbaz2HECTx7uqjnZ%3DpMchqMgfsA2daKBiasR_NdL-0w%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgz-K%3DQPfWy5CCMWo_AmAAw9Cd3VJ0HHCL6T3cj-78ZOqw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to