mirror of
https://github.com/PyratLabs/ansible-role-k3s
synced 2025-01-07 18:20:19 +01:00
Fix templating error
This commit is contained in:
parent
4d5d5b2838
commit
50fa321e7e
3 changed files with 4 additions and 2 deletions
|
@ -14,13 +14,14 @@
|
||||||
---
|
---
|
||||||
-->
|
-->
|
||||||
|
|
||||||
## 2021-05-13, v2.9.1
|
## 2021-05-14, v2.9.1
|
||||||
|
|
||||||
<!-- Today was a better day... <3 -->
|
<!-- Today was a better day... <3 -->
|
||||||
|
|
||||||
### Notable changes
|
### Notable changes
|
||||||
|
|
||||||
- Documentation, remove references to deprecated configuration techniques #115
|
- Documentation, remove references to deprecated configuration techniques #115
|
||||||
|
- Bugfix: Templating issue.
|
||||||
|
|
||||||
## 2021-05-13, v2.9.0
|
## 2021-05-13, v2.9.0
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
become: true
|
become: true
|
||||||
vars:
|
vars:
|
||||||
molecule_is_test: true
|
molecule_is_test: true
|
||||||
|
k3s_release_version: latest
|
||||||
k3s_build_cluster: false
|
k3s_build_cluster: false
|
||||||
k3s_install_dir: /opt/k3s/bin
|
k3s_install_dir: /opt/k3s/bin
|
||||||
k3s_config_file: /opt/k3s/etc/k3s.yaml
|
k3s_config_file: /opt/k3s/etc/k3s.yaml
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ directory.path }}"
|
path: "{{ directory.path }}"
|
||||||
state: directory
|
state: directory
|
||||||
mode: "{{ directory.mode | default(0755) }}"
|
mode: "{{ directory.mode | default(755) }}"
|
||||||
become: "{{ k3s_become_for_directory_creation | ternary(true, false, k3s_become_for_all) }}"
|
become: "{{ k3s_become_for_directory_creation | ternary(true, false, k3s_become_for_all) }}"
|
||||||
when:
|
when:
|
||||||
- directory.path is defined
|
- directory.path is defined
|
||||||
|
|
Loading…
Reference in a new issue