-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
setup: Restrict to ansible version built with Py3.11
Very recently on CentOS Stream 8 ansible version got updated to v2.16.3 built with Python 3.12. Due to unavailability of python 3.12 module for jmespath playbook execution is expected to fail. Therefore restrict ansible installation to latest version built with Python 3.11 on CentOS Stream 8. Signed-off-by: Anoop C S <[email protected]>
- Loading branch information
Showing
6 changed files
with
27 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
--- | ||
- name: Install ansible | ||
yum: | ||
name: | ||
- ansible-core | ||
- ansible-collection-ansible-posix | ||
- ansible-collection-community-general | ||
state: latest | ||
|
||
- name: Process OS specific tasks | ||
include_tasks: "{{ include_file }}" | ||
with_first_found: | ||
- files: "{{ config.os[config.nodes[inventory_hostname].os].includes }}" | ||
loop_control: | ||
loop_var: include_file | ||
|
||
- name: Install required ansible collections | ||
yum: | ||
name: | ||
- ansible-collection-ansible-posix | ||
- ansible-collection-community-general | ||
state: latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters