Merge "Don't write out nodepool primary file on non-primary node"

This commit is contained in:
Zuul 2017-09-26 21:49:42 +00:00 committed by Gerrit Code Review
commit d9a92bc8be

View File

@ -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: