This commit is contained in:
parent
69dce16ccd
commit
59417836b1
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Read authorized_keys file
|
- name: Read authorized_keys file
|
||||||
shell: cat ~/.ssh/authorized_keys | grep "{{ key_to_add }}"
|
shell: cat /home/awx/.ssh/authorized_keys | grep "{{ key_to_add }}"
|
||||||
register: authorized_key_output
|
register: authorized_key_output
|
||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue