Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions roles/beaker/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ beaker_base_environment:
BEAKER_provision: "yes"
BEAKER_setfile: "{{ beaker_os }}-64{hostname={{ beaker_os }}-64.example.com}"
BEAKER_destroy: "no"
BEAKER_PUPPET_COLLECTION: "openvox8"
PATH: "{{ ansible_facts['env'].PATH }}:/usr/local/bin"
beaker_environment: {}
beaker_puppet_module_path: "/src/{{ beaker_puppet_module }}"
18 changes: 17 additions & 1 deletion roles/beaker/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,22 @@
name: podman-docker
state: installed

- name: Create containers.conf.d directory
file:
path: /etc/containers/containers.conf.d
state: directory
mode: "0755"
when: ansible_facts['distribution_major_version'] == "10"

- name: Align podman's default network name with its reported NetworkMode
copy:
dest: /etc/containers/containers.conf.d/99-default-network.conf
content: |
[network]
default_network = "bridge"
mode: "0644"
when: ansible_facts['distribution_major_version'] == "10"
Comment thread
Odilhao marked this conversation as resolved.

- name: Start podman
service:
name: podman
Expand All @@ -28,7 +44,7 @@

- name: enable CRB
command: dnf config-manager --set-enabled crb
when: ansible_facts['distribution_major_version'] == "9"
when: ansible_facts['distribution_major_version'] in ["9", "10"]

- name: Install Ruby
package:
Expand Down