Fix user variable usage in completions task
This commit is contained in:
parent
f3008294e4
commit
d9c00a0d9e
@ -20,7 +20,7 @@
|
|||||||
- name: Configure bash completions
|
- name: Configure bash completions
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.blockinfile:
|
ansible.builtin.blockinfile:
|
||||||
path: ~{{ item.0 }}/.config/bash_completions
|
path: ~{{ item }}/.config/bash_completions
|
||||||
create: true
|
create: true
|
||||||
block: >-
|
block: >-
|
||||||
function _gg_completion() {
|
function _gg_completion() {
|
||||||
@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
complete -F _gg_completion gg
|
complete -F _gg_completion gg
|
||||||
owner: "{{ ansible_user }}"
|
owner: "{{ ansible_user }}"
|
||||||
group: "{{ item.0 }}"
|
group: "{{ item }}"
|
||||||
mode: 0664
|
mode: 0664
|
||||||
loop: "{{ _local_human_users }}"
|
loop: "{{ _local_human_users }}"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user