Merge "Don't write out nodepool primary file on non-primary node"
This commit is contained in:
commit
d9a92bc8be
@ -18,6 +18,7 @@
|
||||
copy:
|
||||
dest: /etc/nodepool/primary_node_private
|
||||
content: "{{ hostvars['primary']['nodepool']['private_ipv4'] }}"
|
||||
when: hostvars['primary'] is defined
|
||||
- name: Copy ssh keys to nodepool directory
|
||||
command: "cp .ssh/{{ item }} /etc/nodepool/{{ item }}"
|
||||
with_items:
|
||||
|
Loading…
Reference in New Issue
Block a user