This commit is contained in:
David Lopez 2023-08-29 10:04:37 +02:00
parent abcfeea520
commit fe3a9965d1
2 changed files with 1 additions and 4 deletions

View File

@ -11,7 +11,7 @@
- name: Add ssh pub keys AWX
authorized_key:
user: awx
key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIF4i3ATrpj+uCj+b62AtMlS6LKGb1nKqVlKSmDdtm5ml awx@verdnatura.es
key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDXzZ9SOKE/2uuXEeiFmOyYG0qR0thjjfxylJxURFoXE2SnUqJI3ZPac2f3KK4fScHKpAnFL4OARHi8cLFI3Uwcn40GEvRBArmUrNnPdCIWk2YH8GYNNfbQkWfcXxOAwHsM7XMgiZ7PAp0nG4u2aO+1GWOTkczBaVZ53mIlSUXnfo+EYUMwheixBydHDSYmOU7JHEw5YggXt0wds0fbzVk1bT++EAIS705m/14AcpGpeJgWpviCLzkfJNe7sbyuQdTVuP2pP7KN/NgmQQPZdniKbYIf+wz3TfkHRTNtg+N86C48aWfTfRncHgFQI4tQnCFWxrbydRJL0lpg2sRqYXrXNGLRzofLJRtx5yP4F2G0R9XBBnA/WknqjiLw4DKC73tAkqSPTciIHqBsjNo0wI15fu63TGQz8hKDecqJOso5tTpSlofTdRtvgCaLLMogS4uUmj4QZYpQ+9SRBeS33CLD4DUUN8Oc7V5f3EK4/GZKfuBHAne1tfDZN0A5UKieyfE= root@dockertest
state: present
manage_dir: yes

View File

@ -1,9 +1,6 @@
---
- name: Ping Linux hosts
hosts: "{{ hosts_servers }}"
remote_user: awx
become: yes
become_method: sudo
tasks:
- name: Ping Linux hosts using ping module
ansible.builtin.ping: