mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 08:53:07 -06:00
ITPLT-3650 compatibility updates for ansible-core 2.16 and other dependencies
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
[defaults]
|
[defaults]
|
||||||
retry_files_enabled = False
|
retry_files_enabled = False
|
||||||
callbacks_enabled = profile_tasks
|
callbacks_enabled = profile_tasks
|
||||||
collections_paths = ./
|
collections_path = ./
|
||||||
|
|||||||
@@ -1,14 +1,14 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- name: Enable CloudWatch Agent
|
- name: Enable CloudWatch Agent
|
||||||
ansible.builtin.systemd:
|
ansible.builtin.systemd_service:
|
||||||
name: "amazon-cloudwatch-agent.service"
|
name: "amazon-cloudwatch-agent.service"
|
||||||
daemon_reload: true
|
daemon_reload: true
|
||||||
enabled: true
|
enabled: true
|
||||||
when: atl_aws_agent_restart | bool
|
when: atl_aws_agent_restart | bool
|
||||||
|
|
||||||
- name: Restart CloudWatch Agent
|
- name: Restart CloudWatch Agent
|
||||||
ansible.builtin.systemd:
|
ansible.builtin.systemd_service:
|
||||||
name: "amazon-cloudwatch-agent.service"
|
name: "amazon-cloudwatch-agent.service"
|
||||||
enabled: true
|
enabled: true
|
||||||
state: restarted
|
state: restarted
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ platforms:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
inventory:
|
inventory:
|
||||||
links:
|
links:
|
||||||
group_vars: ../../../../group_vars/
|
group_vars: ../../../../group_vars/
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ platforms:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
inventory:
|
inventory:
|
||||||
links:
|
links:
|
||||||
group_vars: ../../../../group_vars/
|
group_vars: ../../../../group_vars/
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ platforms:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
inventory:
|
inventory:
|
||||||
links:
|
links:
|
||||||
group_vars: ../../../../group_vars/
|
group_vars: ../../../../group_vars/
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ platforms:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ platforms:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ platforms:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ platforms:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ platforms:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ platforms:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -10,6 +10,5 @@
|
|||||||
ansible.builtin.shell:
|
ansible.builtin.shell:
|
||||||
cmd: "ln -sf /usr/share/fonts/google-noto*/* {{ item }}/"
|
cmd: "ln -sf /usr/share/fonts/google-noto*/* {{ item }}/"
|
||||||
creates: "{{ item }}/NotoSansJavanese-Regular.ttf"
|
creates: "{{ item }}/NotoSansJavanese-Regular.ttf"
|
||||||
warn: false
|
|
||||||
with_items: "{{ atl_fonts_fallback_dirs }}"
|
with_items: "{{ atl_fonts_fallback_dirs }}"
|
||||||
changed_when: false # For Molecule idempotence check
|
changed_when: false # For Molecule idempotence check
|
||||||
|
|||||||
@@ -10,6 +10,5 @@
|
|||||||
ansible.builtin.shell:
|
ansible.builtin.shell:
|
||||||
cmd: "ln -sf /usr/share/fonts/truetype/noto/* {{ item }}/"
|
cmd: "ln -sf /usr/share/fonts/truetype/noto/* {{ item }}/"
|
||||||
creates: "{{ item }}/NotoSansJavanese-Regular.ttf"
|
creates: "{{ item }}/NotoSansJavanese-Regular.ttf"
|
||||||
warn: false
|
|
||||||
with_items: "{{ atl_fonts_fallback_dirs }}"
|
with_items: "{{ atl_fonts_fallback_dirs }}"
|
||||||
changed_when: false # For Molecule idempotence check
|
changed_when: false # For Molecule idempotence check
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ platforms:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ platforms:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ platforms:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ platforms:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ platforms:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ platforms:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
inventory:
|
inventory:
|
||||||
links:
|
links:
|
||||||
group_vars: ../../../../group_vars/
|
group_vars: ../../../../group_vars/
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
register: systemd_config_changed
|
register: systemd_config_changed
|
||||||
|
|
||||||
- name: Force systemd to reload daemon configuration
|
- name: Force systemd to reload daemon configuration
|
||||||
ansible.builtin.systemd:
|
ansible.builtin.systemd_service:
|
||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
when:
|
when:
|
||||||
- systemd_config_changed is defined
|
- systemd_config_changed is defined
|
||||||
|
|||||||
@@ -14,5 +14,5 @@
|
|||||||
state: link
|
state: link
|
||||||
|
|
||||||
- name: Reload systemd services
|
- name: Reload systemd services
|
||||||
ansible.builtin.systemd:
|
ansible.builtin.systemd_service:
|
||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
@@ -11,6 +11,6 @@ platforms:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
verifier:
|
verifier:
|
||||||
name: testinfra
|
name: testinfra
|
||||||
|
|||||||
@@ -11,6 +11,6 @@ platforms:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
verifier:
|
verifier:
|
||||||
name: testinfra
|
name: testinfra
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ platforms:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ platforms:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ platforms:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ platforms:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ platforms:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ platforms:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ platforms:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
vvv: true
|
vvv: true
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ platforms:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
vvv: true
|
vvv: true
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ platforms:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ platforms:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ platforms:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ platforms:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ platforms:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ platforms:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ platforms:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
vv: true
|
vv: true
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ platforms:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
vv: true
|
vv: true
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ platforms:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
vv: true
|
vv: true
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ platforms:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ platforms:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ platforms:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
ATL_STARTUP_RESTART: "false"
|
ATL_STARTUP_RESTART: "false"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ platforms:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
Reference in New Issue
Block a user