Skip to content

Commit

Permalink
Guard check for container install based on openshift dictionary key
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Young committed Jun 7, 2017
1 parent a39fc60 commit 58a69b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playbooks/common/openshift-node/config.yml
Expand Up @@ -32,7 +32,7 @@
ansible_ssh_user: "{{ g_ssh_user | default(omit) }}"
ansible_become: "{{ g_sudo | default(omit) }}"
with_items: "{{ groups.oo_nodes_to_config | default([]) }}"
when: hostvars[item].openshift.common is defined and hostvars[item].openshift.common.is_containerized | bool and (item in groups.oo_nodes_to_config and item in groups.oo_masters_to_config)
when: hostvars[item].openshift is defined and hostvars[item].openshift.common is defined and hostvars[item].openshift.common.is_containerized | bool and (item in groups.oo_nodes_to_config and item in groups.oo_masters_to_config)
changed_when: False

- name: Configure containerized nodes
Expand Down

0 comments on commit 58a69b0

Please sign in to comment.