On 06.02.17 15:34 Linus Sunde wrote: > I have two playbooks and a hosts file:
> Any ideas why this is happening? Second guess: By adding the hosts via add_hosts you overwrite your definition in the hosts file. And thus none of your options are set anymore. Note that this is just in memory, so your hosts file wont get changed. If you call the static play, it uses the hosts file with parameters. Solution: A) Move the parameters to the host_vars for this host. B) Call add_hosts with the parameters. Johannes -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/1c8918f1-f15a-4874-4f0b-cc057a33577d%40ojkastl.de. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: OpenPGP digital signature
