Report as puppet_report_as instead of fqdn
We want to report as the puppetmaster, not as the host in question. Change-Id: I0462a898502ad709e046be76c19c9e11f4617335 Depends-On: I290ad569283390bac2a74a9991331c9e86821ab7
This commit is contained in:
parent
42c28a7456
commit
0545b55d8d
@ -82,8 +82,8 @@
|
||||
puppetdb: "{{ puppetdb }}"
|
||||
hostvars: "{{ hostvars[inventory_hostname] }}"
|
||||
logfile: "{{ puppet_logfile }}"
|
||||
whoami: "{{ ansible_fqdn }}"
|
||||
whoami: "{{ puppet_report_as }}"
|
||||
delegate_to: localhost
|
||||
connection: local
|
||||
|
||||
when: puppetdb is defined
|
||||
when: puppetdb is defined and puppet_report_as is defined
|
||||
|
Loading…
x
Reference in New Issue
Block a user