toolbox/tests/roles/set_image/tasks/main.yml
Debarshi Ray cd00cb09ca tests: Fix the permissions of /etc/containers/toolbox.conf
The RPM installs /etc/containers/toolbox.conf with its permissions set
to 0644, and there's no reason for the test suite to deviate from that.

Resolves: #2000807
2021-12-16 23:26:20 +01:00

9 lines
303 B
YAML

---
# Copy the toolbox.conf file to /etc/containers/
- name: Check containers directory exists
file:
path: /etc/containers
state: directory
- name: Copy toolbox.conf file to set default image
copy: src={{ role_path }}/files/toolbox.conf dest=/etc/containers/toolbox.conf force=yes mode=0644