vn-ansible/linux/os/create_user_ssh/add_authorized_key.yml

14 lines
736 B
YAML
Raw Normal View History

2023-07-26 08:57:51 +00:00
---
2023-07-26 09:04:29 +00:00
- hosts: "{{ host }}"
gather_facts: no
2023-08-29 08:48:42 +00:00
2023-08-29 08:43:14 +00:00
tasks:
2023-08-29 08:48:42 +00:00
- name: Add ssh pub keys AWX
authorized_key:
2023-08-29 08:04:37 +00:00
key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDXzZ9SOKE/2uuXEeiFmOyYG0qR0thjjfxylJxURFoXE2SnUqJI3ZPac2f3KK4fScHKpAnFL4OARHi8cLFI3Uwcn40GEvRBArmUrNnPdCIWk2YH8GYNNfbQkWfcXxOAwHsM7XMgiZ7PAp0nG4u2aO+1GWOTkczBaVZ53mIlSUXnfo+EYUMwheixBydHDSYmOU7JHEw5YggXt0wds0fbzVk1bT++EAIS705m/14AcpGpeJgWpviCLzkfJNe7sbyuQdTVuP2pP7KN/NgmQQPZdniKbYIf+wz3TfkHRTNtg+N86C48aWfTfRncHgFQI4tQnCFWxrbydRJL0lpg2sRqYXrXNGLRzofLJRtx5yP4F2G0R9XBBnA/WknqjiLw4DKC73tAkqSPTciIHqBsjNo0wI15fu63TGQz8hKDecqJOso5tTpSlofTdRtvgCaLLMogS4uUmj4QZYpQ+9SRBeS33CLD4DUUN8Oc7V5f3EK4/GZKfuBHAne1tfDZN0A5UKieyfE= root@dockertest
2023-07-26 10:59:50 +00:00
state: present
manage_dir: yes
2023-07-26 10:47:05 +00:00