Commit 79a5ef3
authored
fix: prevent unnecessary changes to k3s config directory permissions (#25)
- Set k3s_config_dir to mode 0700 during initial creation in main.yml
- Remove redundant permission setting in security.yml
- Fixes idempotency issue where permissions were changed on every run
Previously, the directory was created with 0755 in main.yml and then
changed to 0700 in security.yml, causing the task to always report
'changed' status even when no actual changes were needed.1 parent b68dd41 commit 79a5ef3
2 files changed
+2
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
| 171 | + | |
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
| 173 | + | |
182 | 174 | | |
183 | 175 | | |
184 | 176 | | |
| |||
0 commit comments