diff --git a/ansible/inventories/host_vars/repo/public.yaml b/ansible/inventories/host_vars/repo/public.yaml new file mode 100644 index 0000000..cdcea2c --- /dev/null +++ b/ansible/inventories/host_vars/repo/public.yaml @@ -0,0 +1,3 @@ +--- +ssh_user: wahlback +frontend_domain: repo.2martens.de diff --git a/ansible/inventories/group_vars/frontend/public.yaml b/ansible/inventories/host_vars/wahlrecht-frontend/public.yaml similarity index 100% rename from ansible/inventories/group_vars/frontend/public.yaml rename to ansible/inventories/host_vars/wahlrecht-frontend/public.yaml diff --git a/ansible/inventories/production b/ansible/inventories/production index 469890d..36bd655 100644 --- a/ansible/inventories/production +++ b/ansible/inventories/production @@ -9,7 +9,8 @@ devops ansible_host=49.12.69.146 ansible_python_interpreter=/usr/bin/python3 gitea ansible_host=giteajim.uber.space ansible_python_interpreter=/usr/bin/python [frontend] -wahlrecht-frontend ansible_host=wahlfron.uber.space ansible_python_interpreter=/usr/bin/python +wahlrecht-frontend ansible_host=gienah.uberspace.de ansible_python_interpreter=/usr/bin/python +repo ansible_host=shaula.uberspace.de ansible_python_interpreter=/usr/bin/python [applications] api-server ansible_host=49.13.77.70 ansible_python_interpreter=/usr/bin/python3 diff --git a/ansible/setup.yaml b/ansible/setup.yaml index 95139fe..e963a9e 100644 --- a/ansible/setup.yaml +++ b/ansible/setup.yaml @@ -9,6 +9,7 @@ hosts: frontend gather_facts: false remote_user: "{{ ssh_user }}" + serial: 1 roles: - frontend - name: Set up devops server