mirror of
https://github.com/PyratLabs/ansible-role-k3s
synced 2024-11-05 13:23:30 +01:00
Merge pull request #42 from onedr0p/patch-1
Option to enable debug flag
This commit is contained in:
commit
d0e209d866
2 changed files with 4 additions and 0 deletions
|
@ -97,6 +97,7 @@ consistency.
|
|||
| `k3s_become_for_uninstall` | Enable become for running uninstall scripts. | _NULL_ |
|
||||
| `k3s_etcd_datastore` | Use Embedded Etcd as the database backend for HA. (EXPERIMENTAL) | `false` |
|
||||
| `k3s_secrets_encryption` | Use secrets encryption at rest. (EXPERIMENTAL) | `false` |
|
||||
| `k3s_debug` | Enable debug logging on the k3s service | `false` |
|
||||
|
||||
#### Important note about `k3s_release_version`
|
||||
|
||||
|
|
|
@ -10,6 +10,9 @@ ExecStartPre=-/sbin/modprobe overlay
|
|||
{% filter regex_replace('\s+', ' ') %}
|
||||
{% filter replace('\n', ' ') %}
|
||||
ExecStart={{ k3s_install_dir }}/k3s
|
||||
{% if k3s_debug is defined and k3s_debug %}
|
||||
--debug
|
||||
{% endif %}
|
||||
{% if k3s_control_node %}
|
||||
server
|
||||
{% if k3s_bind_address is defined %}
|
||||
|
|
Loading…
Reference in a new issue