ensure kube directory is created in user not root context

master
Michael Wilson 3 years ago
parent 8f24da754a
commit f7bacea6fe
  1. 2
      linux/k3s/ansible_setup/tasks/main.yml

@ -37,6 +37,8 @@
- name: store ansible home as fact
set_fact:
ansible_home: "{{ ansible_env['HOME'] }}"
become: yes
become: "{{ ansible_user }}"
- name: Create kube directory if it does not exist
ansible.builtin.file:

Loading…
Cancel
Save