Changing init variables to ansible_local variable.
This commit is contained in:
parent
e9150df4ad
commit
d19c26514e
@ -38,5 +38,5 @@
|
|||||||
- name: Authorizing Ansible Management User's key from server
|
- name: Authorizing Ansible Management User's key from server
|
||||||
authorized_key:
|
authorized_key:
|
||||||
user: amgmt
|
user: amgmt
|
||||||
key: "{{ lookup('pipe', 'curl -sSL http://' + serverfqdn + ':3000/mgmtkey') }}"
|
key: "{{ lookup('pipe', 'curl -sSL http://' + ansible_local.domain.serverfqdn + ':3000/mgmtkey') }}"
|
||||||
state: present
|
state: present
|
||||||
|
Loading…
x
Reference in New Issue
Block a user