Am 13.05.19 um 15:43 schrieb Maciej Delmanowski:
> What I did:
>
> * run services/prosody
> * found the wrong real is in the prosody config-file
> * changed pki_system_realm the host
> * run services/prosody again
>
> Now since debops.prosody does not run debops.pki, pki.fact was not
> updated. Thus the prosody config-file was still wrong. Worth a bug-report?
Did you change the 'pki_system_realm' in the inventory? You would have to
apply the 'debops.pki' role on the host before running the
'debops.prosody'
role, so that it updated its own local facts.
Indeed, I did not run the debops.pki after changing 'pki_system_realm'
in the inventory!
I dodn't want to create a precedent where 'debops.pki' is
used as a dependency
of another role in a playbook.
Okay, reasonable decision. So I simply made an error :-) (Changing
pki_system_realm should be rare, anyway.)
--
Regards
Hartmut Goebel
| Hartmut Goebel | h.goebel(a)crazy-compilers.com |
|
www.crazy-compilers.com | compilers which you thought are impossible |