Commit beafd54
committed
Fix openstack driver private address retrieval
In ansible 2.19, the template for retrieving the public(floating) address
of a molecule instance returns a NoneType value, which in turn evaluates
to False when compared to , which cause the private address of the instance
to never get picker up as fallback. This commit changes the condition to
not address | bool which in both case will evaluate to True if the retrieval
of the public ip failed.1 parent 9dfa726 commit beafd54
File tree
1 file changed
+1
-1
lines changed- src/molecule_plugins/openstack/playbooks/tasks
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments