task name, comments, and other general formatting updates

This commit is contained in:
Lee Goolsbee
2024-03-26 14:54:39 -05:00
parent b0824a858c
commit 6881bc1a89
12 changed files with 92 additions and 93 deletions

View File

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