diff --git a/all/playbook.yaml b/all/playbook.yaml index 3df7675..769401b 100644 --- a/all/playbook.yaml +++ b/all/playbook.yaml @@ -15,11 +15,17 @@ - python3-pip - python3-passlib - vnstat + - chrony - name: Enable VNStat service service: name: vnstat enabled: yes state: started + - name: Enable Chrony (NTP) service + service: + name: chrony + enabled: yes + state: started - name: Add users hosts: all diff --git a/inventory.yml b/inventory.yml index 8b48475..aeefc49 100644 --- a/inventory.yml +++ b/inventory.yml @@ -4,8 +4,32 @@ all: hosts: core: ansible_host: soleil.projectsegfau.lt - ansible_user: user - ansible_port: 2270 + ansible_user: core + ansible_port: 2271 + port: 22 + ansible_become: yes # Run everything as root + docker: + ansible_host: soleil.projectsegfau.lt + ansible_user: docker + ansible_port: 2271 + port: 22 + ansible_become: yes # Run everything as root + lxc: + ansible_host: soleil.projectsegfau.lt + ansible_user: lxc + ansible_port: 2271 + port: 22 + ansible_become: yes # Run everything as root + db: + ansible_host: soleil.projectsegfau.lt + ansible_user: db + ansible_port: 2271 + port: 22 + ansible_become: yes # Run everything as root + backwards: + ansible_host: soleil.projectsegfau.lt + ansible_user: backwards + ansible_port: 2271 port: 22 ansible_become: yes # Run everything as root privfrontends: