mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 08:53:07 -06:00
drop duplicate handlers in mesh role and drop unused registered variable
This commit is contained in:
@@ -1,24 +1,6 @@
|
||||
---
|
||||
# Handlers are executed in the order they are defined in the handlers section, not in the order listed in the notify statement.
|
||||
|
||||
- name: Restart Product
|
||||
ansible.builtin.service:
|
||||
name: "{{ atl_systemd_service_name }}"
|
||||
state: restarted
|
||||
when:
|
||||
- atl_startup_restart
|
||||
- molecule_yml is not defined
|
||||
no_log: true
|
||||
|
||||
- name: Enable Product
|
||||
ansible.builtin.service:
|
||||
name: "{{ atl_systemd_service_name }}"
|
||||
enabled: true
|
||||
when:
|
||||
- atl_startup_enable
|
||||
- molecule_yml is not defined
|
||||
no_log: true
|
||||
|
||||
- name: Register Mesh Node
|
||||
ansible.builtin.uri:
|
||||
url: '{{ atl_proxy_name }}/rest/api/latest/admin/git/mesh/nodes'
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
timeout: 300
|
||||
delegate_to: localhost
|
||||
become: false
|
||||
register: mesh_service_waiter
|
||||
|
||||
- name: Trigger the handler to update this existing mesh node
|
||||
ansible.builtin.assert:
|
||||
|
||||
Reference in New Issue
Block a user