initial checkin

This commit is contained in:
Radar231 2022-05-12 09:56:16 -04:00
commit fa9fa9f60a
3 changed files with 33 additions and 0 deletions

7
README.md Normal file
View File

@ -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.

9
meta/main.yml Normal file
View File

@ -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

17
tasks/main.yml Normal file
View File

@ -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