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