diff --git a/sandbox/terraform/libvirt/ubuntu/cloud_init.cfg b/sandbox/terraform/libvirt/ubuntu/cloud_init.cfg index 99e82f8..a628a76 100644 --- a/sandbox/terraform/libvirt/ubuntu/cloud_init.cfg +++ b/sandbox/terraform/libvirt/ubuntu/cloud_init.cfg @@ -30,6 +30,9 @@ users: +- name: root + ssh_authorized_keys: + - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC/wXdHpwpY/4ubhYTmuNdGepQpj1kchvTUTApxMZyfyVW4uzrPRTYsle1y9QbTBV35qLkNajRC/wmC5/xPchdXpsJpuD9st1HMhLeR8qwaPyptiYJYT+z/WisWw2k6oWhG3QKvPoRtBdW9nhZnkG+O6zkuGXiRHpS7j2VVboDPpWEe1UdELQFVCwfraRal2g3ENFZ/9V1UrW/4ahRnQnSxERplZUm/fgSxQtmXubTkW68ut7yasBsrKFffMm8JztW0tWgTlTKONd3LCjv4juM0t5+cJDotNDnUR86Tq2PG8io7no/h8BWtazmjdpfGgn02ibX26BkdU0LDEYbJt5q9/Fh9TGk2ZwcMQeyepO1AWQgkmHXZWZELqu6MLQpqdtsOjHp9k0MeSpuIbdwzgf10Ydy7vK1z8irS24tVNNnJaMBwOlVOPwfyztHRADPkFcv2lKSjS1uyKR0FIkV8Kvs4txaIjmwv2LfMg6lF5W6j3ZPLyeE4cplJP0DDjzorSanu31xVnqVb3A8V9awsJ/4H7d59bI99c7QHL4K3fBVP3O0gqd31xAVRsdGs5Tj2P+RpiI6o5JJiOa1+DuBdWzrVIXYchQ30ZjaJp1wTNsYLmAsjeYuQZE2tf1xvywdzD4MB4avugDEWikzRWN9V5PHDZr1bamTCCjOrb2PRCd7eSQ== aravinth7820@gmail.com - name: atm gecos: Aravinth Manivannan groups: users, admin diff --git a/sandbox/terraform/libvirt/ubuntu/templates/hosts.yml.tpl b/sandbox/terraform/libvirt/ubuntu/templates/hosts.yml.tpl index bef7877..f17af23 100644 --- a/sandbox/terraform/libvirt/ubuntu/templates/hosts.yml.tpl +++ b/sandbox/terraform/libvirt/ubuntu/templates/hosts.yml.tpl @@ -2,7 +2,7 @@ live: hosts: ubuntu: ansible_host: ${ubuntu_ip} - ansible_user: atm + ansible_user: root debian: ansible_host: ${debian_ip} - ansible_user: atm + ansible_user: root