[bootstrap] feat: target cluster ansible plays only to kubernetes in case other hosts are used (#1065)

This commit is contained in:
sp3nx0r authored and GitHub committed 2023-12-07 09:51:08 -05:00
1 parent 6be6e78427
commit ab174f87fd
5 files changed
+5 -5

No files matched your search

@@ -1,7 +1,7 @@
#jinja2: trim_blocks: True, lstrip_blocks: True
---
- name: Cluster Installation
hosts: all
hosts: kubernetes
become: true
gather_facts: true
any_errors_fatal: true
@@ -1,6 +1,6 @@
---
- name: Cluster Nuke
hosts: all
hosts: kubernetes
become: true
gather_facts: true
any_errors_fatal: true
@@ -1,6 +1,6 @@
---
- name: Prepare System
hosts: all
hosts: kubernetes
become: true
gather_facts: true
any_errors_fatal: true
@@ -1,6 +1,6 @@
---
- name: Reboot
hosts: all
hosts: kubernetes
become: true
gather_facts: true
any_errors_fatal: true
@@ -1,7 +1,7 @@
---
# https://github.com/kevincoakley/ansible-role-k8s-rolling-update
- name: Cluster rollout update
hosts: all
hosts: kubernetes
become: true
gather_facts: true
any_errors_fatal: true