DEV-364: fixed some stuff for patchday play

master
friedrich goerz 4 years ago committed by Görz, Friedrich
parent 1858c40b47
commit 4416164ba6

@ -366,11 +366,6 @@ management_oidc_client_secret: "{{ management_oidc_client_secret_vault }}"
# push mirror: https://dev-gitea-01.smardigo.digital/gitea-admin/communication-keys/ # push mirror: https://dev-gitea-01.smardigo.digital/gitea-admin/communication-keys/
gpg_key_smardigo_automation__private: '{{ gpg_key_smardigo_automation__private__vault }}' gpg_key_smardigo_automation__private: '{{ gpg_key_smardigo_automation__private__vault }}'
# TODO Upgrade dev state for containerd usage
k8s_basic_services:
- kubelet
- docker
iam_opentracing_jaeger_enabled: true iam_opentracing_jaeger_enabled: true
iam_opentracing_jaeger_http_sender_url: "http://{{ shared_service_kube_jaeger_collector_hostname }}/api/traces" iam_opentracing_jaeger_http_sender_url: "http://{{ shared_service_kube_jaeger_collector_hostname }}/api/traces"
webdav_opentracing_jaeger_enabled: true webdav_opentracing_jaeger_enabled: true

@ -5,6 +5,7 @@
- hosts: elastic - hosts: elastic
serial: 1 serial: 1
become: yes
tasks: tasks:
- name: "Smardigo Patchday: update pkgs" - name: "Smardigo Patchday: update pkgs"
ansible.builtin.apt: ansible.builtin.apt:
@ -32,6 +33,7 @@
reboot_timeout: 300 reboot_timeout: 300
- name: "Smardigo Patchday: wait_for host after reboot" - name: "Smardigo Patchday: wait_for host after reboot"
become: no
delegate_to: localhost delegate_to: localhost
ansible.builtin.wait_for: ansible.builtin.wait_for:
delay: 15 delay: 15
@ -66,6 +68,7 @@
- hosts: postgres - hosts: postgres
serial: 1 serial: 1
become: yes
tasks: tasks:
- name: "Smardigo Patchday: stop service(s)" - name: "Smardigo Patchday: stop service(s)"
ansible.builtin.systemd: ansible.builtin.systemd:
@ -85,6 +88,7 @@
reboot_timeout: 300 reboot_timeout: 300
- name: "Smardigo Patchday: wait_for host after reboot" - name: "Smardigo Patchday: wait_for host after reboot"
become: no
delegate_to: localhost delegate_to: localhost
ansible.builtin.wait_for: ansible.builtin.wait_for:
delay: 15 delay: 15
@ -100,6 +104,7 @@
- hosts: all,!elastic,!postgres,!k8s_cluster,!gw - hosts: all,!elastic,!postgres,!k8s_cluster,!gw
serial: 10 serial: 10
become: yes
tasks: tasks:
- name: "Smardigo Patchday: update pkgs" - name: "Smardigo Patchday: update pkgs"
ansible.builtin.apt: ansible.builtin.apt:
@ -127,6 +132,7 @@
reboot_timeout: 300 reboot_timeout: 300
- name: "Smardigo Patchday: wait_for host after reboot" - name: "Smardigo Patchday: wait_for host after reboot"
become: no
delegate_to: localhost delegate_to: localhost
ansible.builtin.wait_for: ansible.builtin.wait_for:
delay: 15 delay: 15
@ -143,6 +149,7 @@
- hosts: k8s_cluster - hosts: k8s_cluster
serial: 1 serial: 1
become: yes
tasks: tasks:
# draining the hard way # draining the hard way
@ -180,6 +187,7 @@
reboot_timeout: 300 reboot_timeout: 300
- name: "Smardigo Patchday: wait_for host after reboot" - name: "Smardigo Patchday: wait_for host after reboot"
become: no
delegate_to: localhost delegate_to: localhost
ansible.builtin.wait_for: ansible.builtin.wait_for:
delay: 15 delay: 15

Loading…
Cancel
Save