Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

central store of the facts #185

Open
martbhell opened this issue Feb 3, 2017 · 0 comments
Open

central store of the facts #185

martbhell opened this issue Feb 3, 2017 · 0 comments

Comments

@martbhell
Copy link
Contributor

martbhell commented Feb 3, 2017

Another way would be to have a central store of the facts that the nodes can query when they run ansible-pull. This would remove some of the hacks we have, like discussed in
#182

I haven't looked into this or tested it but seems cleaner and could perhaps also provide some performance boost:

http://docs.ansible.com/ansible/playbooks_variables.html#fact-caching

Using NFS (facts in json files in a directory) would be convenient but we need the variables available before we run ansible (when NFS is not available) so we'd need to run another service (like redis) on the install node with a persistent store of the facts. There are also some notes in the docs about

  • redis client in EPEL being too old (also true for EL7?)
  • beta-status
  • can't use password while connecting to redis

After this is implemented we could probably give removing pull_variables.yml another shot ( #182 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant