diff --git a/group_vars/all/vars.yml b/group_vars/all/vars.yml index f0a0709..ae464f6 100644 --- a/group_vars/all/vars.yml +++ b/group_vars/all/vars.yml @@ -13,3 +13,10 @@ users: ssh_keys: - sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIFWZGLov8wPBNxuvnaPK+8vv6wK5hHUVEFzXKsN9QeuBAAAADHNzaDpzYW1zYXB0aQ== ssh:samsapti - ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPd/4fQV7CL8/KVwbo/phiV5UdXFBIDlkZ+ps8C7FeRf cardno:14 336 332 + + - name: ansible + comment: Ansible user + groups: + - sudo + ssh_keys: + - ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDyAuOqh0vcpLMBa8FFbvrTOgw8N+bcImFzyBspfQDAf ansible diff --git a/site.yml b/site.yml index e45ac56..09531ac 100644 --- a/site.yml +++ b/site.yml @@ -1,8 +1,21 @@ # vim: ft=yaml.ansible # code: language=ansible --- -- name: Base configuration +- name: Base VM configuration hosts: virtualservers remote_user: root roles: - vm-common + +- name: App servers + hosts: appservers + remote_user: ansible + roles: + - docker + - apps + +- name: Database servers + hosts: dbservers + remote_user: ansible + roles: + - postgresql