[bootstrap] feat: target cluster ansible plays only to kubernetes in case other hosts are used (#1065)
This commit is contained in:
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
|
#jinja2: trim_blocks: True, lstrip_blocks: True
|
||||||
---
|
---
|
||||||
- name: Cluster Installation
|
- name: Cluster Installation
|
||||||
hosts: all
|
hosts: kubernetes
|
||||||
become: true
|
become: true
|
||||||
gather_facts: true
|
gather_facts: true
|
||||||
any_errors_fatal: true
|
any_errors_fatal: true
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Cluster Nuke
|
- name: Cluster Nuke
|
||||||
hosts: all
|
hosts: kubernetes
|
||||||
become: true
|
become: true
|
||||||
gather_facts: true
|
gather_facts: true
|
||||||
any_errors_fatal: true
|
any_errors_fatal: true
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Prepare System
|
- name: Prepare System
|
||||||
hosts: all
|
hosts: kubernetes
|
||||||
become: true
|
become: true
|
||||||
gather_facts: true
|
gather_facts: true
|
||||||
any_errors_fatal: true
|
any_errors_fatal: true
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Reboot
|
- name: Reboot
|
||||||
hosts: all
|
hosts: kubernetes
|
||||||
become: true
|
become: true
|
||||||
gather_facts: true
|
gather_facts: true
|
||||||
any_errors_fatal: true
|
any_errors_fatal: true
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
# https://github.com/kevincoakley/ansible-role-k8s-rolling-update
|
# https://github.com/kevincoakley/ansible-role-k8s-rolling-update
|
||||||
- name: Cluster rollout update
|
- name: Cluster rollout update
|
||||||
hosts: all
|
hosts: kubernetes
|
||||||
become: true
|
become: true
|
||||||
gather_facts: true
|
gather_facts: true
|
||||||
any_errors_fatal: true
|
any_errors_fatal: true
|
||||||
|
|||||||
Reference in new issue
Block a user