1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Add note about facter/ohai integration in the template engine

This commit is contained in:
Michael DeHaan 2012-02-27 23:16:46 -05:00
parent 320ce8f5f1
commit b622429738

View file

@ -92,8 +92,9 @@ placed by 'setup' can be reused between ansible runs.
ansible -p "*" -n template /srv/motd.j2 /etc/motd
ansible -p "*" -n template /srv/ntp.j2 /etc/ntp.conf
Very soon, templates will be able to also include facter and ohai
variables.
Need something like the fqdn in a template? If facter or ohai are installed, data from these projects
will also be made available to the template engine, using 'facter_' and 'ohai_'
prefixes for each.
Git Deployments
===============