diff --git a/inventory.yml b/inventory.yml index 51e7046..aa8adca 100644 --- a/inventory.yml +++ b/inventory.yml @@ -30,11 +30,10 @@ rpi_rpios: ansible_host: 192.168.2.20 naspi: ansible_host: 192.168.2.75 - # piprint: - # ansible_host: 192.168.2.95 + gfs-ca: + ansible_host: 192.168.2.72 + ansible_user: ansible # Hosts that have no proper user yet staging: - hosts: - gfs-ca: - ansible_host: 192.168.2.72 \ No newline at end of file + hosts: \ No newline at end of file diff --git a/playbooks/ansible_user.yml b/playbooks/ansible_user.yml index d7bf9cd..6ee5767 100644 --- a/playbooks/ansible_user.yml +++ b/playbooks/ansible_user.yml @@ -11,7 +11,7 @@ shell: /bin/bash groups: sudo - - name: add admin ssh-key + - name: add ansible ssh-key ansible.posix.authorized_key: user: admin state: present