mirror of
https://github.com/PyratLabs/ansible-role-k3s
synced 2024-11-09 23:13:30 +01:00
Case insensitive control node lookup
This commit is contained in:
parent
730edbf6cb
commit
3006716f66
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@
|
|||
block:
|
||||
- name: Lookup control node from file
|
||||
ansible.builtin.command:
|
||||
cmd: "grep '{{ 'P_True' if (k3s_controller_list | length > 1) else 'C_True' }}' /tmp/inventory.txt"
|
||||
cmd: "grep -i '{{ 'P_True' if (k3s_controller_list | length > 1) else 'C_True' }}' /tmp/inventory.txt"
|
||||
changed_when: false
|
||||
check_mode: false
|
||||
register: k3s_control_delegate_raw
|
||||
|
|
Loading…
Reference in a new issue