Skip to content

Commit

Permalink
Config API node needs to have facts to check if it is Linux
Browse files Browse the repository at this point in the history
For code:
  when:
    - ('vrouter' in node_roles_dict[instance_name].deleted_roles)
    - ansible_system == 'Linux'

in playbooks/roles/contrail/tasks/deregister.yml

Closes-Bug: #1788447

Change-Id: I4146ec4db43e62178d7b120b1b747dcb14fd7adb
  • Loading branch information
nitishkrishna committed Dec 3, 2018
1 parent 70aa87b commit a2d150d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playbooks/install_contrail.yml
Expand Up @@ -28,7 +28,7 @@

- name: Remove Contrail from Deleted Nodes ( Deregister )
hosts: container_hosts
gather_facts: no
gather_facts: yes
tasks:
- include_role:
name: contrail
Expand Down

0 comments on commit a2d150d

Please sign in to comment.