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] [defaults]
retry_files_enabled = False retry_files_enabled = False
callbacks_enabled = profile_tasks callbacks_enabled = profile_tasks
collections_paths = ./ collections_path = ./

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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