Browse Source

Fix missing file mode (risky-file-permissions) (#7959)

* Fix missing file mode (risky-file-permissions)

Found this using ansible-lint.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>

* Fix another missing file mode (risky-file-permissions)

This one fixes `/etc/crio/config.json`

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
pull/7964/head
Bryan Hundven 3 years ago
committed by GitHub
parent
commit
35c928798d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions
  1. 1
      roles/bootstrap-os/tasks/bootstrap-centos.yml
  2. 1
      roles/container-engine/cri-o/tasks/main.yaml

1
roles/bootstrap-os/tasks/bootstrap-centos.yml

@ -74,6 +74,7 @@
section: "extras"
option: "{{ item.option }}"
value: "{{ item.value }}"
mode: 0644
with_items:
- { option: "name", value: "CentOS-{{ ansible_distribution_major_version }} - Extras" }
- { option: "enabled", value: "1" }

1
roles/container-engine/cri-o/tasks/main.yaml

@ -84,6 +84,7 @@
template:
src: config.json.j2
dest: /etc/crio/config.json
mode: 0644
register: reg_auth_install
- name: Add skopeo pkg to install

Loading…
Cancel
Save