initial checkin
This commit is contained in:
commit
fa9fa9f60a
|
@ -0,0 +1,7 @@
|
||||||
|
# Ansible Role: trigger_kured_reboot
|
||||||
|
|
||||||
|
## Introduction
|
||||||
|
|
||||||
|
This role will create /var/run/reboot-required, triggering kured to do a reboot of the k8s node.
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
galaxy_info:
|
||||||
|
author: radar231
|
||||||
|
|
||||||
|
license: license (GPL-2.0-or-later, MIT, etc)
|
||||||
|
min_ansible_version: 2.1
|
||||||
|
galaxy_tags: []
|
||||||
|
dependencies: []
|
||||||
|
|
||||||
|
# EOF
|
|
@ -0,0 +1,17 @@
|
||||||
|
---
|
||||||
|
###########################################################################
|
||||||
|
#
|
||||||
|
# This role will create /var/run/reboot-required, triggering kured to do a
|
||||||
|
# reboot of the k8s node.
|
||||||
|
#
|
||||||
|
###########################################################################
|
||||||
|
# tasks file for trigger_kured_reboot
|
||||||
|
|
||||||
|
- debug: msg="Creating /var/run/reboot-required file"
|
||||||
|
|
||||||
|
############################################################
|
||||||
|
- name: Create /var/run/reboot-required
|
||||||
|
shell:
|
||||||
|
cmd: touch /var/run/reboot-required
|
||||||
|
|
||||||
|
# EOF
|
Loading…
Reference in New Issue