BugfixRollout main => QA: DEV-699 fixing restore process

qa
Görz, Friedrich 3 years ago
parent b21690184c
commit fe911a80ad

@ -1,11 +1,12 @@
---
hetzner_server_type: "{{ hetzner_server_type_restore_database | default('cpx21') }}"
hetzner_server_labels: "stage={{ stage }} service=restore database_engine={{ database_engine | default('') }} manual=''"
hetzner_server_labels: "stage={{ stage }} service=restore database_engine={{ database_engine | default('') }}"
docker_enabled: false
traefik_enabled: false
filebeat_enabled: false
node_exporter_enabled: false
custom_plattform_users:
- '{{ backupuser_user_name }}'

@ -1,3 +1,5 @@
---
pass_tenant_id: "devops"
custom_plattform_users: []

@ -0,0 +1,7 @@
---
pass_tenant_id: "hocr"
hetzner_server_type: cpx41
custom_plattform_users: []

@ -2,16 +2,9 @@
pass_tenant_id: "plattform"
hetzner_server_type: cpx41
hetzner_server_type: cx51
default_plattform_users:
- 'claus.paetow'
- 'friedrich.goerz'
- 'sven.ketelsen'
- 'michael.haehnel'
- 'hoan.to'
- '{{ awx_ansible_user_name }}'
- '{{ gitlab_ansible_user_name }}'
custom_plattform_users:
- 'daniel.risse'
- 'esther.fuhrmann'
- 'philipp.eichhorn'

@ -58,7 +58,13 @@
!includedir /etc/mysql/mariadb.conf.d/
notify: restart mysql
- name: "Create mariadb cnf file"
- name: "ASSERT: stage_private_server_ip"
ansible.builtin.assert:
that:
- stage_private_server_ip != ''
msg: "stage_private_server_ip is EMPTY. plz check tasks/autodiscover_pre_tasks.yml "
- name: "Create mariadb cnf file: bind_address={{ stage_private_server_ip }}"
vars:
mariadb_server_bind_address: '{{ stage_private_server_ip }}'
template:

@ -74,6 +74,12 @@
- 'DNS:{{ inventory_hostname }}'
# selfsigned_ca_trigger_handler: restart postgres
- name: "ASSERT: stage_private_server_ip"
ansible.builtin.assert:
that:
- stage_private_server_ip != ''
msg: "stage_private_server_ip is EMPTY. plz check tasks/autodiscover_pre_tasks.yml "
- name: "Ensure postgresql.conf via evil lineinfile..."
lineinfile:
state: present

@ -54,6 +54,7 @@ prodnso-prometheus-01
[ubuntu_docker]
prodnso-platform-iaas-01
prodnso-hocr-iaas-01
[webdav]
#prodnso-webdav-01

Loading…
Cancel
Save