Move configuration variables from main.yml to inventory

This commit is contained in:
Stefan Haun 2020-12-09 19:15:45 +01:00
parent 8b94db4898
commit 44f208e4c6
2 changed files with 15 additions and 12 deletions

View file

@ -1,5 +1,9 @@
all: all:
vars: vars:
server_admin: "admin@netz39.de"
ag_timezone: Europe/Berlin
users: users:
- logname: "alex" - logname: "alex"
viewname: "Alexander Dahl" viewname: "Alexander Dahl"
@ -42,8 +46,19 @@ all:
hosts: hosts:
tau.netz39.de: tau.netz39.de:
server_admin: "admin+tau@netz39.de"
mysql_root_pw: !vault |
$ANSIBLE_VAULT;1.1;AES256
64313138383833643866383332623265383863623332343864306537633931326139303638303761
6464653933613663643632383935376164393033363233330a313063613832396166666464666136
36633532393231663634663034666666356332373438646130643161383134653739663066626538
3661663132343639310a613431653031626434323064313465373866666332353931313836623465
3461
children: children:
tau: tau:
vars:
hosts: hosts:
tau.netz39.de: tau.netz39.de:

View file

@ -5,21 +5,9 @@
vars: vars:
ansible_python_interpreter: /usr/bin/python3 ansible_python_interpreter: /usr/bin/python3
server_admin: "admin@netz39.de"
ag_timezone: Europe/Berlin
docker_compose_version: "1.25.4" docker_compose_version: "1.25.4"
docker_compose_path: /usr/local/bin/docker-compose docker_compose_path: /usr/local/bin/docker-compose
mysql_root_pw: !vault |
$ANSIBLE_VAULT;1.1;AES256
64313138383833643866383332623265383863623332343864306537633931326139303638303761
6464653933613663643632383935376164393033363233330a313063613832396166666464666136
36633532393231663634663034666666356332373438646130643161383134653739663066626538
3661663132343639310a613431653031626434323064313465373866666332353931313836623465
3461
roles: roles:
- role: ansible.timezone - role: ansible.timezone