Browse Source
Gather just the necessary facts (#5955)
Gather just the necessary facts (#5955)
* Gather just the necessary facts * Move fact gathering to separate playbook.pull/5982/head
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 63 additions and 4 deletions
Split View
Diff Options
-
14cluster.yml
-
2docs/nodes.md
-
19facts.yml
-
7remove-node.yml
-
5reset.yml
-
5scale.yml
-
15upgrade-cluster.yml
@ -0,0 +1,19 @@ |
|||
--- |
|||
- name: Gather facts |
|||
hosts: k8s-cluster:etcd:calico-rr |
|||
gather_facts: False |
|||
tasks: |
|||
- name: Gather minimal facts |
|||
setup: |
|||
gather_subset: '!all' |
|||
|
|||
- name: Gather necessary facts |
|||
setup: |
|||
gather_subset: '!all,!min,network,hardware' |
|||
filter: "{{ item }}" |
|||
loop: |
|||
- ansible_distribution_major_version |
|||
- ansible_default_ipv4 |
|||
- ansible_all_ipv4_addresses |
|||
- ansible_memtotal_mb |
|||
- ansible_swaptotal_mb |
Write
Preview
Loading…
Cancel
Save