ITPLT-3650 compatibility updates for ansible-core 2.16 and other dependencies

This commit is contained in:
Lee Goolsbee
2024-04-26 13:07:57 -05:00
parent cff27677c6
commit ecb262a15f
44 changed files with 43 additions and 45 deletions

View File

@@ -1,4 +1,4 @@
[defaults]
retry_files_enabled = False
callbacks_enabled = profile_tasks
collections_paths = ./
collections_path = ./

View File

@@ -1,14 +1,14 @@
---
- name: Enable CloudWatch Agent
ansible.builtin.systemd:
ansible.builtin.systemd_service:
name: "amazon-cloudwatch-agent.service"
daemon_reload: true
enabled: true
when: atl_aws_agent_restart | bool
- name: Restart CloudWatch Agent
ansible.builtin.systemd:
ansible.builtin.systemd_service:
name: "amazon-cloudwatch-agent.service"
enabled: true
state: restarted

View File

@@ -15,7 +15,7 @@ platforms:
provisioner:
name: ansible
env:
ANSIBLE_COLLECTIONS_PATH: "../../"
ANSIBLE_COLLECTIONS_PATH: "../../../../"
inventory:
links:
group_vars: ../../../../group_vars/

View File

@@ -15,7 +15,7 @@ platforms:
provisioner:
name: ansible
env:
ANSIBLE_COLLECTIONS_PATH: "../../"
ANSIBLE_COLLECTIONS_PATH: "../../../../"
inventory:
links:
group_vars: ../../../../group_vars/

View File

@@ -15,7 +15,7 @@ platforms:
provisioner:
name: ansible
env:
ANSIBLE_COLLECTIONS_PATH: "../../"
ANSIBLE_COLLECTIONS_PATH: "../../../../"
inventory:
links:
group_vars: ../../../../group_vars/

View File

@@ -23,7 +23,7 @@ platforms:
provisioner:
name: ansible
env:
ANSIBLE_COLLECTIONS_PATH: "../../"
ANSIBLE_COLLECTIONS_PATH: "../../../../"
options:
skip-tags: runtime_pkg
inventory:

View File

@@ -23,7 +23,7 @@ platforms:
provisioner:
name: ansible
env:
ANSIBLE_COLLECTIONS_PATH: "../../"
ANSIBLE_COLLECTIONS_PATH: "../../../../"
options:
skip-tags: runtime_pkg
inventory:

View File

@@ -17,7 +17,7 @@ platforms:
provisioner:
name: ansible
env:
ANSIBLE_COLLECTIONS_PATH: "../../"
ANSIBLE_COLLECTIONS_PATH: "../../../../"
options:
skip-tags: runtime_pkg
inventory:

View File

@@ -17,7 +17,7 @@ platforms:
provisioner:
name: ansible
env:
ANSIBLE_COLLECTIONS_PATH: "../../"
ANSIBLE_COLLECTIONS_PATH: "../../../../"
options:
skip-tags: runtime_pkg
inventory:

View File

@@ -18,7 +18,7 @@ platforms:
provisioner:
name: ansible
env:
ANSIBLE_COLLECTIONS_PATH: "../../"
ANSIBLE_COLLECTIONS_PATH: "../../../../"
options:
skip-tags: runtime_pkg
inventory:

View File

@@ -17,7 +17,7 @@ platforms:
provisioner:
name: ansible
env:
ANSIBLE_COLLECTIONS_PATH: "../../"
ANSIBLE_COLLECTIONS_PATH: "../../../../"
options:
skip-tags: runtime_pkg
inventory:

View File

@@ -10,6 +10,5 @@
ansible.builtin.shell:
cmd: "ln -sf /usr/share/fonts/google-noto*/* {{ item }}/"
creates: "{{ item }}/NotoSansJavanese-Regular.ttf"
warn: false
with_items: "{{ atl_fonts_fallback_dirs }}"
changed_when: false # For Molecule idempotence check

View File

@@ -10,6 +10,5 @@
ansible.builtin.shell:
cmd: "ln -sf /usr/share/fonts/truetype/noto/* {{ item }}/"
creates: "{{ item }}/NotoSansJavanese-Regular.ttf"
warn: false
with_items: "{{ atl_fonts_fallback_dirs }}"
changed_when: false # For Molecule idempotence check

View File

@@ -23,7 +23,7 @@ platforms:
provisioner:
name: ansible
env:
ANSIBLE_COLLECTIONS_PATH: "../../"
ANSIBLE_COLLECTIONS_PATH: "../../../../"
options:
skip-tags: runtime_pkg
inventory:

View File

@@ -23,7 +23,7 @@ platforms:
provisioner:
name: ansible
env:
ANSIBLE_COLLECTIONS_PATH: "../../"
ANSIBLE_COLLECTIONS_PATH: "../../../../"
options:
skip-tags: runtime_pkg
inventory:

View File

@@ -23,7 +23,7 @@ platforms:
provisioner:
name: ansible
env:
ANSIBLE_COLLECTIONS_PATH: "../../"
ANSIBLE_COLLECTIONS_PATH: "../../../../"
options:
skip-tags: runtime_pkg
inventory:

View File

@@ -23,7 +23,7 @@ platforms:
provisioner:
name: ansible
env:
ANSIBLE_COLLECTIONS_PATH: "../../"
ANSIBLE_COLLECTIONS_PATH: "../../../../"
options:
skip-tags: runtime_pkg
inventory:

View File

@@ -23,7 +23,7 @@ platforms:
provisioner:
name: ansible
env:
ANSIBLE_COLLECTIONS_PATH: "../../"
ANSIBLE_COLLECTIONS_PATH: "../../../../"
options:
skip-tags: runtime_pkg
inventory:

View File

@@ -17,7 +17,7 @@ platforms:
provisioner:
name: ansible
env:
ANSIBLE_COLLECTIONS_PATH: "../../"
ANSIBLE_COLLECTIONS_PATH: "../../../../"
inventory:
links:
group_vars: ../../../../group_vars/

View File

@@ -41,7 +41,7 @@
register: systemd_config_changed
- name: Force systemd to reload daemon configuration
ansible.builtin.systemd:
ansible.builtin.systemd_service:
daemon_reload: yes
when:
- systemd_config_changed is defined

View File

@@ -14,5 +14,5 @@
state: link
- name: Reload systemd services
ansible.builtin.systemd:
ansible.builtin.systemd_service:
daemon_reload: yes

View File

@@ -11,6 +11,6 @@ platforms:
provisioner:
name: ansible
env:
ANSIBLE_COLLECTIONS_PATH: "../../"
ANSIBLE_COLLECTIONS_PATH: "../../../../"
verifier:
name: testinfra

View File

@@ -11,6 +11,6 @@ platforms:
provisioner:
name: ansible
env:
ANSIBLE_COLLECTIONS_PATH: "../../"
ANSIBLE_COLLECTIONS_PATH: "../../../../"
verifier:
name: testinfra

View File

@@ -17,7 +17,7 @@ platforms:
provisioner:
name: ansible
env:
ANSIBLE_COLLECTIONS_PATH: "../../"
ANSIBLE_COLLECTIONS_PATH: "../../../../"
options:
skip-tags: runtime_pkg
inventory:

View File

@@ -17,7 +17,7 @@ platforms:
provisioner:
name: ansible
env:
ANSIBLE_COLLECTIONS_PATH: "../../"
ANSIBLE_COLLECTIONS_PATH: "../../../../"
options:
skip-tags: runtime_pkg
inventory:

View File

@@ -17,7 +17,7 @@ platforms:
provisioner:
name: ansible
env:
ANSIBLE_COLLECTIONS_PATH: "../../"
ANSIBLE_COLLECTIONS_PATH: "../../../../"
options:
skip-tags: runtime_pkg
inventory:

View File

@@ -17,7 +17,7 @@ platforms:
provisioner:
name: ansible
env:
ANSIBLE_COLLECTIONS_PATH: "../../"
ANSIBLE_COLLECTIONS_PATH: "../../../../"
options:
skip-tags: runtime_pkg
inventory:

View File

@@ -17,7 +17,7 @@ platforms:
provisioner:
name: ansible
env:
ANSIBLE_COLLECTIONS_PATH: "../../"
ANSIBLE_COLLECTIONS_PATH: "../../../../"
options:
skip-tags: runtime_pkg
inventory:

View File

@@ -17,7 +17,7 @@ platforms:
provisioner:
name: ansible
env:
ANSIBLE_COLLECTIONS_PATH: "../../"
ANSIBLE_COLLECTIONS_PATH: "../../../../"
options:
skip-tags: runtime_pkg
inventory:

View File

@@ -17,7 +17,7 @@ platforms:
provisioner:
name: ansible
env:
ANSIBLE_COLLECTIONS_PATH: "../../"
ANSIBLE_COLLECTIONS_PATH: "../../../../"
options:
vvv: true
skip-tags: runtime_pkg

View File

@@ -17,7 +17,7 @@ platforms:
provisioner:
name: ansible
env:
ANSIBLE_COLLECTIONS_PATH: "../../"
ANSIBLE_COLLECTIONS_PATH: "../../../../"
options:
vvv: true
skip-tags: runtime_pkg

View File

@@ -17,7 +17,7 @@ platforms:
provisioner:
name: ansible
env:
ANSIBLE_COLLECTIONS_PATH: "../../"
ANSIBLE_COLLECTIONS_PATH: "../../../../"
options:
skip-tags: runtime_pkg
inventory:

View File

@@ -17,7 +17,7 @@ platforms:
provisioner:
name: ansible
env:
ANSIBLE_COLLECTIONS_PATH: "../../"
ANSIBLE_COLLECTIONS_PATH: "../../../../"
options:
skip-tags: runtime_pkg
inventory:

View File

@@ -17,7 +17,7 @@ platforms:
provisioner:
name: ansible
env:
ANSIBLE_COLLECTIONS_PATH: "../../"
ANSIBLE_COLLECTIONS_PATH: "../../../../"
options:
skip-tags: runtime_pkg
inventory:

View File

@@ -17,7 +17,7 @@ platforms:
provisioner:
name: ansible
env:
ANSIBLE_COLLECTIONS_PATH: "../../"
ANSIBLE_COLLECTIONS_PATH: "../../../../"
options:
skip-tags: runtime_pkg
inventory:

View File

@@ -17,7 +17,7 @@ platforms:
provisioner:
name: ansible
env:
ANSIBLE_COLLECTIONS_PATH: "../../"
ANSIBLE_COLLECTIONS_PATH: "../../../../"
options:
skip-tags: runtime_pkg
inventory:

View File

@@ -17,7 +17,7 @@ platforms:
provisioner:
name: ansible
env:
ANSIBLE_COLLECTIONS_PATH: "../../"
ANSIBLE_COLLECTIONS_PATH: "../../../../"
options:
skip-tags: runtime_pkg
inventory:

View File

@@ -17,7 +17,7 @@ platforms:
provisioner:
name: ansible
env:
ANSIBLE_COLLECTIONS_PATH: "../../"
ANSIBLE_COLLECTIONS_PATH: "../../../../"
options:
vv: true
skip-tags: runtime_pkg

View File

@@ -17,7 +17,7 @@ platforms:
provisioner:
name: ansible
env:
ANSIBLE_COLLECTIONS_PATH: "../../"
ANSIBLE_COLLECTIONS_PATH: "../../../../"
options:
vv: true
skip-tags: runtime_pkg

View File

@@ -17,7 +17,7 @@ platforms:
provisioner:
name: ansible
env:
ANSIBLE_COLLECTIONS_PATH: "../../"
ANSIBLE_COLLECTIONS_PATH: "../../../../"
options:
vv: true
skip-tags: runtime_pkg

View File

@@ -23,7 +23,7 @@ platforms:
provisioner:
name: ansible
env:
ANSIBLE_COLLECTIONS_PATH: "../../"
ANSIBLE_COLLECTIONS_PATH: "../../../../"
options:
skip-tags: runtime_pkg
inventory:

View File

@@ -23,7 +23,7 @@ platforms:
provisioner:
name: ansible
env:
ANSIBLE_COLLECTIONS_PATH: "../../"
ANSIBLE_COLLECTIONS_PATH: "../../../../"
options:
skip-tags: runtime_pkg
inventory:

View File

@@ -23,7 +23,7 @@ platforms:
provisioner:
name: ansible
env:
ANSIBLE_COLLECTIONS_PATH: "../../"
ANSIBLE_COLLECTIONS_PATH: "../../../../"
ATL_STARTUP_RESTART: "false"
options:
skip-tags: runtime_pkg

View File

@@ -23,7 +23,7 @@ platforms:
provisioner:
name: ansible
env:
ANSIBLE_COLLECTIONS_PATH: "../../"
ANSIBLE_COLLECTIONS_PATH: "../../../../"
options:
skip-tags: runtime_pkg
inventory: