Fix user variable usage in completions task

This commit is contained in:
Ethan Paul 2022-05-20 17:05:12 -04:00
parent f3008294e4
commit d9c00a0d9e
Signed by: enpaul
GPG Key ID: 9B6D99E4CFA31867

View File

@ -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 }}"