mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 00:13:09 -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:
|
||||
name: "{{ mesh_node_name }}"
|
||||
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
|
||||
register: register_mesh_node_result
|
||||
until: register_mesh_node_result is not failed
|
||||
retries: 5
|
||||
delay: 30
|
||||
# no_log: True
|
||||
no_log: True
|
||||
|
||||
- name: Update Existing Mesh Node
|
||||
ansible.builtin.uri:
|
||||
|
||||
Reference in New Issue
Block a user