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:
parent
320ce8f5f1
commit
b622429738
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
===============
|
||||
|
|
Loading…
Reference in a new issue