Update linux/os/create_user_ssh/add_authorized_key.yml

This commit is contained in:
David Lopez 2023-08-29 07:27:05 +00:00
parent e2a612bea5
commit 82dc2127e1
1 changed files with 5 additions and 0 deletions

View File

@ -3,6 +3,11 @@
gather_facts: no gather_facts: no
tasks: tasks:
- name: Create user with hash
user:
name: awx
state: present
shell: /bin/bash
- name: Add ssh pub keys AWX - name: Add ssh pub keys AWX
authorized_key: authorized_key:
user: awx user: awx