summaryrefslogtreecommitdiffstats
path: root/distro/tests
diff options
context:
space:
mode:
Diffstat (limited to 'distro/tests')
-rw-r--r--distro/tests/ansible-roles/knot_dns/tasks/configure_zone.yaml1
-rw-r--r--distro/tests/ansible-roles/obs_repos/tasks/CentOS.yaml1
-rw-r--r--distro/tests/ansible-roles/obs_repos/tasks/Debian.yaml1
-rw-r--r--distro/tests/ansible-roles/obs_repos/tasks/Fedora.yaml1
4 files changed, 4 insertions, 0 deletions
diff --git a/distro/tests/ansible-roles/knot_dns/tasks/configure_zone.yaml b/distro/tests/ansible-roles/knot_dns/tasks/configure_zone.yaml
index 704181a3a..c6cce014b 100644
--- a/distro/tests/ansible-roles/knot_dns/tasks/configure_zone.yaml
+++ b/distro/tests/ansible-roles/knot_dns/tasks/configure_zone.yaml
@@ -2,6 +2,7 @@
- name: create example.com zone
copy:
dest: /etc/knot/example.com.zone
+ mode: 0644
content: |
$ORIGIN example.com.
$TTL 3600
diff --git a/distro/tests/ansible-roles/obs_repos/tasks/CentOS.yaml b/distro/tests/ansible-roles/obs_repos/tasks/CentOS.yaml
index 6d603070c..d777cbfc2 100644
--- a/distro/tests/ansible-roles/obs_repos/tasks/CentOS.yaml
+++ b/distro/tests/ansible-roles/obs_repos/tasks/CentOS.yaml
@@ -8,4 +8,5 @@
get_url:
url: "{{ obs_repofile_url }}"
dest: /etc/yum.repos.d/home:CZ-NIC:{{ item }}.repo
+ mode: 0644
with_items: "{{ repos }}"
diff --git a/distro/tests/ansible-roles/obs_repos/tasks/Debian.yaml b/distro/tests/ansible-roles/obs_repos/tasks/Debian.yaml
index db3d8e5c1..9d70fd7df 100644
--- a/distro/tests/ansible-roles/obs_repos/tasks/Debian.yaml
+++ b/distro/tests/ansible-roles/obs_repos/tasks/Debian.yaml
@@ -3,6 +3,7 @@
get_url:
url: https://gitlab.nic.cz/knot/knot-resolver-release/raw/master/cznic-obs.gpg.asc
dest: /etc/apt/trusted.gpg.d/cznic-obs.gpg.asc
+ mode: 0644
- name: Add OBS repo(s)
apt_repository:
diff --git a/distro/tests/ansible-roles/obs_repos/tasks/Fedora.yaml b/distro/tests/ansible-roles/obs_repos/tasks/Fedora.yaml
index b004f36c0..8e1bbba98 100644
--- a/distro/tests/ansible-roles/obs_repos/tasks/Fedora.yaml
+++ b/distro/tests/ansible-roles/obs_repos/tasks/Fedora.yaml
@@ -3,4 +3,5 @@
get_url:
url: "{{ obs_repofile_url }}"
dest: "/etc/yum.repos.d/home:CZ-NIC:{{ item }}.repo"
+ mode: 0644
with_items: "{{ repos }}"