add all sol VMs to inventory & install+enable chrony by def
This commit is contained in:
parent
1b5054c5f8
commit
5965d6290e
@ -15,11 +15,17 @@
|
|||||||
- python3-pip
|
- python3-pip
|
||||||
- python3-passlib
|
- python3-passlib
|
||||||
- vnstat
|
- vnstat
|
||||||
|
- chrony
|
||||||
- name: Enable VNStat service
|
- name: Enable VNStat service
|
||||||
service:
|
service:
|
||||||
name: vnstat
|
name: vnstat
|
||||||
enabled: yes
|
enabled: yes
|
||||||
state: started
|
state: started
|
||||||
|
- name: Enable Chrony (NTP) service
|
||||||
|
service:
|
||||||
|
name: chrony
|
||||||
|
enabled: yes
|
||||||
|
state: started
|
||||||
|
|
||||||
- name: Add users
|
- name: Add users
|
||||||
hosts: all
|
hosts: all
|
||||||
|
@ -4,8 +4,32 @@ all:
|
|||||||
hosts:
|
hosts:
|
||||||
core:
|
core:
|
||||||
ansible_host: soleil.projectsegfau.lt
|
ansible_host: soleil.projectsegfau.lt
|
||||||
ansible_user: user
|
ansible_user: core
|
||||||
ansible_port: 2270
|
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
|
port: 22
|
||||||
ansible_become: yes # Run everything as root
|
ansible_become: yes # Run everything as root
|
||||||
privfrontends:
|
privfrontends:
|
||||||
|
Loading…
Reference in New Issue
Block a user