Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Always clear cached facts first
Browse files Browse the repository at this point in the history
Because you could be running against different clouds or hosts, we need
to always clear the facts at the start of the deployment playbook to
ensure we aren't using incorrectly cached facts. That being said, the
caching mechanism should persist between the plays in the overall
deployment.

Change-Id: I5992edf43bf1995eebdf401c6bd886e77e528695
Closes-Bug: #1884654
  • Loading branch information
mwhahaha authored and EmilienM committed Jul 5, 2020
1 parent a0e65c9 commit 1f9942f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions common/deploy-steps-playbooks-common.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
- hosts: all
name: Clear cached facts
tasks:
- meta: clear_facts

- hosts: "{{ deploy_source_host }}"
name: Gather facts from undercloud
gather_facts: yes
Expand Down

0 comments on commit 1f9942f

Please sign in to comment.