Skip to content

Commit

Permalink
Merge pull request #126 from mrobinsn/main
Browse files Browse the repository at this point in the history
Case insensitive control node lookup
  • Loading branch information
xanmanning committed May 30, 2021
2 parents 730edbf + 3006716 commit 10d11c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/build/preconfigure-k3s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 10d11c6

Please sign in to comment.