Skip to content

Commit

Permalink
sit.glusterfs/setup: Install latest available ansible version
Browse files Browse the repository at this point in the history
Now that the required fixes[1] are in for gluster-ansible we could use
latest ansible packages.

[1] gluster/gluster-ansible-infra#136

Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
  • Loading branch information
anoopcs9 committed Oct 13, 2023
1 parent 1d0e622 commit e0f96f3
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions vagrant/roles/sit.glusterfs/tasks/setup/centos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
- name: Install gluster-ansible
yum:
name:
# Restricting to Ansible v2.12.x
# See https://github.com/gluster/gluster-ansible-infra/issues/135
- ansible-core-2.12*
- ansible-core
- gluster-ansible-cluster
- gluster-ansible-features
- gluster-ansible-infra
Expand All @@ -19,15 +17,14 @@
block:
- name: Install ansible collections
become: no
shell: ansible-galaxy collection install --no-cache {{ item }}
shell: ansible-galaxy collection install {{ item }}
loop:
- ansible.posix
- community.general
- gluster.gluster
- ovirt.ovirt

- name: Install ansible collection dependencies
pip:
name: jmespath
executable: pip3.8
yum:
name: python3.11-jmespath
state: latest

0 comments on commit e0f96f3

Please sign in to comment.