aboutsummaryrefslogtreecommitdiff
path: root/ansible/gather-facts.yml
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2024-08-21 11:22:37 +0000
committerGerrit Code Review <review@openstack.org>2024-08-21 11:22:37 +0000
commit5fddabaf55dd301e123aa434dc6ccfda53b982e4 (patch)
treef9569f9a90ab1b722d8f92d81c59bf6c6914db39 /ansible/gather-facts.yml
parentf0ff325a51ced3b26418282a2b4bcd3949603578 (diff)
parent8709db2a257849a34c745b68282ebc5907d39e00 (diff)
downloadkolla-ansible-5fddabaf55dd301e123aa434dc6ccfda53b982e4.tar.gz
kolla-ansible-5fddabaf55dd301e123aa434dc6ccfda53b982e4.zip
Merge "fact gathering: Remove gathering of package facts"
Diffstat (limited to 'ansible/gather-facts.yml')
-rw-r--r--ansible/gather-facts.yml17
1 files changed, 0 insertions, 17 deletions
diff --git a/ansible/gather-facts.yml b/ansible/gather-facts.yml
index 59c9903f5..b47ecf609 100644
--- a/ansible/gather-facts.yml
+++ b/ansible/gather-facts.yml
@@ -19,13 +19,6 @@
when:
- not ansible_facts
- - name: Gather package facts
- package_facts:
- when:
- - "'packages' not in ansible_facts"
- - kolla_action is defined
- - kolla_action == "precheck"
-
- name: Group hosts to determine when using --limit
group_by:
key: "all_using_limit_{{ (ansible_play_batch | length) != (groups['all'] | length) }}"
@@ -64,14 +57,4 @@
# We gathered facts for all hosts in the batch during the first play.
when:
- not hostvars[item].ansible_facts
-
- - name: Gather package facts
- package_facts:
- delegate_facts: True
- delegate_to: "{{ item }}"
- with_items: "{{ delegate_hosts }}"
- when:
- - "'packages' not in hostvars[item].ansible_facts"
- - kolla_action is defined
- - "kolla_action == 'precheck'"
tags: always