mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-15 09:23:06 -06:00
remove debugging; add changed_when on new node registration so stop product handler is actually notified
This commit is contained in:
@@ -14,12 +14,13 @@
|
|||||||
body:
|
body:
|
||||||
name: "{{ mesh_node_name }}"
|
name: "{{ mesh_node_name }}"
|
||||||
rpcUrl: "{{ mesh_node_scheme }}://{{ mesh_node_name }}.{{ atl_aws_stack_name }}-{{ ansible_ec2_placement_region }}.{{ atl_hostedzone }}:{{ mesh_node_port }}"
|
rpcUrl: "{{ mesh_node_scheme }}://{{ mesh_node_name }}.{{ atl_aws_stack_name }}-{{ ansible_ec2_placement_region }}.{{ atl_hostedzone }}:{{ mesh_node_port }}"
|
||||||
|
changed_when: register_mesh_node_result.status == 200
|
||||||
notify: Stop Product
|
notify: Stop Product
|
||||||
register: register_mesh_node_result
|
register: register_mesh_node_result
|
||||||
until: register_mesh_node_result is not failed
|
until: register_mesh_node_result is not failed
|
||||||
retries: 5
|
retries: 5
|
||||||
delay: 30
|
delay: 30
|
||||||
# no_log: True
|
no_log: True
|
||||||
|
|
||||||
- name: Update Existing Mesh Node
|
- name: Update Existing Mesh Node
|
||||||
ansible.builtin.uri:
|
ansible.builtin.uri:
|
||||||
|
|||||||
Reference in New Issue
Block a user