Code Review
/
ansible
/
roles
/
java-install.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
4b4e0db
)
Fix: Add gather_facts to molecule converge
74/73974/1
master
author
Anil Belur
<abelur@linuxfoundation.org>
Fri, 12 Dec 2025 04:03:42 +0000
(14:03 +1000)
committer
Anil Belur
<abelur@linuxfoundation.org>
Fri, 12 Dec 2025 04:04:48 +0000
(14:04 +1000)
The java-install role tasks use ansible_facts which require gather_facts
to be enabled in the converge playbook. This fixes molecule test failures.
Change-Id: Ie409b2e3ff82320769d0d403cc39d1acbd2ba24d
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
molecule/default/converge.yml
patch
|
blob
|
history
diff --git
a/molecule/default/converge.yml
b/molecule/default/converge.yml
index
1e30adc
..
a8044fd
100644
(file)
--- a/
molecule/default/converge.yml
+++ b/
molecule/default/converge.yml
@@
-1,5
+1,6
@@
---
- name: Converge
hosts: all
+ gather_facts: true
roles:
- role: "{{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }}"