Update linux/os/create_user_ssh/awx_add_authorized_key.yml
This commit is contained in:
parent
0752bd0361
commit
83c32cdf8d
|
@ -6,15 +6,11 @@
|
|||
|
||||
tasks:
|
||||
|
||||
- name: Create user awx
|
||||
user:
|
||||
name: awx
|
||||
state: present
|
||||
shell: /bin/bash
|
||||
- name: Add ssh pub keys AWX
|
||||
authorized_key:
|
||||
user: awx
|
||||
key: "{{ key_to_add }}"
|
||||
path: /root/.ssh/authorized_keys
|
||||
state: present
|
||||
manage_dir: yes
|
||||
|
||||
|
|
Loading…
Reference in New Issue