Make keys2deploy optional
This commit is contained in:
parent
9a6a05e2d0
commit
4c2e657c98
1 changed files with 1 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
||||||
user: ansible
|
user: ansible
|
||||||
key: "{{ item }}"
|
key: "{{ item }}"
|
||||||
loop: "{{ keys2deploy }}"
|
loop: "{{ keys2deploy }}"
|
||||||
|
when: keys2deploy is defined
|
||||||
|
|
||||||
- name: Allow sudo without password for ansible
|
- name: Allow sudo without password for ansible
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
|
|
Loading…
Add table
Reference in a new issue