Added base for k8s playbook repo

This commit is contained in:
Vlad R
2023-03-15 12:13:51 +00:00
parent 425ebbebcb
commit 6f7d1f9bd3
5 changed files with 59 additions and 14 deletions
+5 -12
View File
@@ -4,22 +4,15 @@ all:
services:
hosts:
ubuntu.dnaclab.net:
telemetry:
hosts:
telemetry.dnaclab.net:
developer:
hosts:
developer.dnaclab.net:
gitlab:
hosts:
gitlab.dnaclab.net:
test:
kubernetes:
hosts:
test.dnaclab.net:
all_servers:
hosts:
ubuntu.dnaclab.net:
telemetry.dnaclab.net:
developer.dnaclab.net:
gitlab.dnaclab.net:
test.dnaclab.net:
10.221.0.130:
10.221.0.131:
10.221.0.132:
+2 -2
View File
@@ -1,6 +1,6 @@
---
- name: Reboots linux host and checks status
hosts: all_servers
hosts: all
become: yes
vars_files:
- global_vars/main.yml
@@ -19,4 +19,4 @@
recipient_id: "{{ webex_id }}"
msg_type: markdown
personal_token: "{{ webex_token }}"
msg: "**Host {{ inventory_hostname }} has successfully rebooted.**"
msg: "**Host {{ inventory_hostname }} has successfully rebooted.**"