Skip to content

Commit

Permalink
clear mode bits
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Ivanov <[email protected]>
  • Loading branch information
roivanov committed Nov 30, 2023
1 parent b9feccc commit dd60d29
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions roles/k3s_server/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,14 @@
changed_when:
- cp_result.rc == 0

- name: Clear access mode bits for kube config
ansible.builtin.file:
path: ~/.kube/config
state: file
mode: go=
delegate_to: 127.0.0.1
become: false

- name: Start other server if any and verify status
when:
- (groups['server'] | length) > 1
Expand Down

0 comments on commit dd60d29

Please sign in to comment.