fix(ansible): fixing permissions on tmp folder

This commit is contained in:
Timothy Stewart 2022-09-06 19:07:09 -05:00
parent a6b2a95b7e
commit 4365a2a54b

View File

@ -3,9 +3,9 @@
file: file:
path: /tmp/k3s path: /tmp/k3s
state: directory state: directory
owner: root owner: "{{ ansible_user }}"
group: root group: "{{ ansible_user }}"
mode: 0644 mode: 0755
with_items: "{{ groups['master'] }}" with_items: "{{ groups['master'] }}"
run_once: true run_once: true
@ -13,9 +13,9 @@
template: template:
src: "metallb.crs.j2" src: "metallb.crs.j2"
dest: "/tmp/k3s/metallb-crs.yaml" dest: "/tmp/k3s/metallb-crs.yaml"
owner: root owner: "{{ ansible_user }}"
group: root group: "{{ ansible_user }}"
mode: 0644 mode: 0755
with_items: "{{ groups['master'] }}" with_items: "{{ groups['master'] }}"
run_once: true run_once: true