Update linux/os/create_user_ssh/add_authorized_key.yml

This commit is contained in:
David Lopez 2023-08-29 07:14:47 +00:00
parent c04e600417
commit e2a612bea5
1 changed files with 4 additions and 4 deletions

View File

@ -1,12 +1,12 @@
--- ---
- hosts: "{{ host }}" - hosts: "{{ host }}"
gather_facts: yes gather_facts: no
tasks: tasks:
- name: Add ssh pub keys - name: Add ssh pub keys AWX
authorized_key: authorized_key:
user: root user: awx
key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDHFG9s2iWDwiBTHmczwtXnH276FfAY5ehCmMkB6KMIrKl38DHxEWY3ajHUdnXsN7kL9EGmh4cKMaW3MYtDTFVAFs3dzupyJuOMbSV3KWXn5dcOfmV4m6IxjV8fyVQSF7xEmD/vXFxJOzY7wJnYMnAGD1RCqVx7r6XefCqHoXLm2LQ/IcIjFiBa3QeSW8KZ5wdHdoGtFYJFrPipr7RZ/ByU144AWyaxEloEdYwzOmzY2BOLsmst+Q8GBa8CCDiTnehLp/4Jxpvz5pByaIpqCh1od4Wpi+01id0FlKOPPvzu6GvkkQ5Vp3Eq2KvnDQENN6/rgnbvozs0JpjsLNKfb2x5Bkgjts3GYhdNWxEPpxCThtCzsRGUYb+XcRzG2ufmdYdq+nT+tPxOpI9MX2MnR+M/Z2u2aL8zWfEei73xg09UO5xgHPhW/hzyVHlLljO6qgAfZui/12FEUzbIBESNsoIc6mspvQcQhUdreaeFa8qlxqZ9rr5CmX+lRrnszbcHo9s0BmNUnt8BS79krHfJ0s/k8aCN0t+JPJF2yJNgxDGW9URS8kMfgHFbETsj0kZ87EueU6Opom9cy9QKxGa/hmm+WzO50EaQR6MEk2doc6J9tcVOnF0qAifCc+++89XBS7BmEiTa+WoV2/Znw/4ScmsxVjo6MKHB8cNR6q6CMMyLJw== rvalles@ubuntu1604 key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIF4i3ATrpj+uCj+b62AtMlS6LKGb1nKqVlKSmDdtm5ml awx@verdnatura.es
state: present state: present
manage_dir: yes manage_dir: yes