remove debugging; add changed_when on new node registration so stop product handler is actually notified

This commit is contained in:
Lee Goolsbee
2024-04-03 13:02:10 -05:00
parent 60912100d4
commit 9668c34b9d

View File

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