Sergey
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
7 additions and
0 deletions
-
ansible_version.yml
-
facts.yml
-
legacy_groups.yml
|
@ -7,6 +7,7 @@ |
|
|
minimal_ansible_version_2_10: 2.10.11 |
|
|
minimal_ansible_version_2_10: 2.10.11 |
|
|
maximal_ansible_version: 2.11.0 |
|
|
maximal_ansible_version: 2.11.0 |
|
|
ansible_connection: local |
|
|
ansible_connection: local |
|
|
|
|
|
tags: always |
|
|
tasks: |
|
|
tasks: |
|
|
- name: "Check {{ minimal_ansible_version }} <= Ansible version < {{ maximal_ansible_version }}" |
|
|
- name: "Check {{ minimal_ansible_version }} <= Ansible version < {{ maximal_ansible_version }}" |
|
|
assert: |
|
|
assert: |
|
|
|
@ -2,6 +2,7 @@ |
|
|
- name: Gather facts |
|
|
- name: Gather facts |
|
|
hosts: k8s_cluster:etcd:calico_rr |
|
|
hosts: k8s_cluster:etcd:calico_rr |
|
|
gather_facts: False |
|
|
gather_facts: False |
|
|
|
|
|
tags: always |
|
|
tasks: |
|
|
tasks: |
|
|
- name: Gather minimal facts |
|
|
- name: Gather minimal facts |
|
|
setup: |
|
|
setup: |
|
|
|
@ -4,6 +4,7 @@ |
|
|
- name: Add kube-master nodes to kube_control_plane |
|
|
- name: Add kube-master nodes to kube_control_plane |
|
|
hosts: kube-master |
|
|
hosts: kube-master |
|
|
gather_facts: false |
|
|
gather_facts: false |
|
|
|
|
|
tags: always |
|
|
tasks: |
|
|
tasks: |
|
|
- name: add nodes to kube_control_plane group |
|
|
- name: add nodes to kube_control_plane group |
|
|
group_by: |
|
|
group_by: |
|
@ -12,6 +13,7 @@ |
|
|
- name: Add kube-node nodes to kube_node |
|
|
- name: Add kube-node nodes to kube_node |
|
|
hosts: kube-node |
|
|
hosts: kube-node |
|
|
gather_facts: false |
|
|
gather_facts: false |
|
|
|
|
|
tags: always |
|
|
tasks: |
|
|
tasks: |
|
|
- name: add nodes to kube_node group |
|
|
- name: add nodes to kube_node group |
|
|
group_by: |
|
|
group_by: |
|
@ -20,6 +22,7 @@ |
|
|
- name: Add k8s-cluster nodes to k8s_cluster |
|
|
- name: Add k8s-cluster nodes to k8s_cluster |
|
|
hosts: k8s-cluster |
|
|
hosts: k8s-cluster |
|
|
gather_facts: false |
|
|
gather_facts: false |
|
|
|
|
|
tags: always |
|
|
tasks: |
|
|
tasks: |
|
|
- name: add nodes to k8s_cluster group |
|
|
- name: add nodes to k8s_cluster group |
|
|
group_by: |
|
|
group_by: |
|
@ -28,6 +31,7 @@ |
|
|
- name: Add calico-rr nodes to calico_rr |
|
|
- name: Add calico-rr nodes to calico_rr |
|
|
hosts: calico-rr |
|
|
hosts: calico-rr |
|
|
gather_facts: false |
|
|
gather_facts: false |
|
|
|
|
|
tags: always |
|
|
tasks: |
|
|
tasks: |
|
|
- name: add nodes to calico_rr group |
|
|
- name: add nodes to calico_rr group |
|
|
group_by: |
|
|
group_by: |
|
@ -36,6 +40,7 @@ |
|
|
- name: Add no-floating nodes to no_floating |
|
|
- name: Add no-floating nodes to no_floating |
|
|
hosts: no-floating |
|
|
hosts: no-floating |
|
|
gather_facts: false |
|
|
gather_facts: false |
|
|
|
|
|
tags: always |
|
|
tasks: |
|
|
tasks: |
|
|
- name: add nodes to no-floating group |
|
|
- name: add nodes to no-floating group |
|
|
group_by: |
|
|
group_by: |
|
|