Added base for k8s playbook repo
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
@@ -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.**"
|
||||
|
||||
Reference in New Issue
Block a user