Skip to content

Commit

Permalink
fix: update ansible on runner (for Fedora)
Browse files Browse the repository at this point in the history
  • Loading branch information
DrPsychick committed Oct 27, 2024
1 parent 50201e9 commit 37e496f
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions molecule/default/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,16 @@
- name: Install docker driver
hosts: all
tasks:
- name: Update ansible
- name: Update ansible (fix for Fedora)
ansible.builtin.shell: |
ansible --version
pip3 install -U ansible
ansible --version
delegate_to: localhost
run_once: true
when: ansible_distribution == "Fedora"
# ansible --version
# apt-get update && apt-get upgrade -y ansible python3-pip
# register: ansible_update
# - name: Ansible update
# debug: var=ansible_update

# when: ansible_distribution == "Fedora"
# - name: Fix dnf5 issue
# ansible.builtin.shell: |
# dnf install -y fuse-overlayfs
# delegate_to: localhost
# when: ansible_distribution == "Fedora"

- name: Install fuse-overlayfs
package:
name: fuse-overlayfs
# when: ansible_distribution != "Fedora"

- name: Install prerequisite docker
hosts: all
Expand Down

0 comments on commit 37e496f

Please sign in to comment.