mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-16 01:43:06 -06:00
task name, comments, and other general formatting updates
This commit is contained in:
@@ -16,12 +16,12 @@
|
||||
become: false
|
||||
register: mesh_service_waiter
|
||||
|
||||
- name: trigger the handler to update this existing mesh node
|
||||
- name: Trigger the handler to update this existing mesh node
|
||||
ansible.builtin.assert:
|
||||
that:
|
||||
- mesh_nodes_report.json | community.general.json_query(query) | length == 0
|
||||
changed_when: true
|
||||
notify: update_mesh_node
|
||||
notify: Update Mesh Node
|
||||
when:
|
||||
- bitbucket_cluster_available
|
||||
- mesh_nodes_report.json | community.general.json_query(query) | length == 0
|
||||
@@ -30,7 +30,7 @@
|
||||
query: "[?name=='{{ mesh_node_name }}']"
|
||||
|
||||
# if node.id doesnt exist this is new/clean mesh node and we need to register a new node
|
||||
- name: if this node is not registered, cleanup any old keys to allow registration of new
|
||||
- name: If this node is not registered, cleanup any old keys to allow registration of new
|
||||
ansible.builtin.file:
|
||||
path: "{{ atl_product_home }}/config/{{ item }}"
|
||||
state: absent
|
||||
@@ -44,12 +44,12 @@
|
||||
vars:
|
||||
query: "[?name=='{{ mesh_node_name }}']"
|
||||
|
||||
- name: trigger the handler to register this new mesh node
|
||||
- name: Trigger the handler to register this new mesh node
|
||||
ansible.builtin.assert:
|
||||
that:
|
||||
- mesh_nodes_report.json | community.general.json_query(query) | length == 0
|
||||
changed_when: true
|
||||
notify: register_mesh_node
|
||||
notify: Register Mesh Node
|
||||
when:
|
||||
- bitbucket_cluster_available
|
||||
- mesh_nodes_report.json | community.general.json_query(query) | length == 0
|
||||
|
||||
Reference in New Issue
Block a user