Commit b6224297 by Michael DeHaan

Add note about facter/ohai integration in the template engine

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