Fix templating error

This commit is contained in:
Xan Manning 2021-05-15 20:41:33 +01:00
parent 4d5d5b2838
commit 50fa321e7e
3 changed files with 4 additions and 2 deletions

View File

@ -14,13 +14,14 @@
---
-->
## 2021-05-13, v2.9.1
## 2021-05-14, v2.9.1
<!-- Today was a better day... <3 -->
### Notable changes
- Documentation, remove references to deprecated configuration techniques #115
- Bugfix: Templating issue.
## 2021-05-13, v2.9.0

View File

@ -4,6 +4,7 @@
become: true
vars:
molecule_is_test: true
k3s_release_version: latest
k3s_build_cluster: false
k3s_install_dir: /opt/k3s/bin
k3s_config_file: /opt/k3s/etc/k3s.yaml

View File

@ -4,7 +4,7 @@
ansible.builtin.file:
path: "{{ directory.path }}"
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) }}"
when:
- directory.path is defined