2017-06-20 16:46 GMT+02:00 <[email protected]>:

>
>
> 20 juin 2017 11:26 "Stéphane Klein" <[email protected]
> <%22st%c3%a9phane%20klein%22%20%[email protected]%3E>> a écrit:
>
> Le lundi 19 juin 2017 18:16:37 UTC+2, Dick Davies a écrit :
>
> Start with: how would I tell the host is an Atomic host without Ansible?
>
> Then you can combine a command: with a register:clause,
> and run set_fact with a when: .
>
> For the effort, I'd just add a custom fact. But without knowing how to
> tell,
> that's tricky :)
>
>
> Thanks
>
> It is possible to override ansible_os_family fact?
>
> I try that:
>
> [all]
> atomic-test-node.example.com ansible_user=root ansible_os_family=atomic
>
> But it don't work :(
>
>
> hi,
>
> There's custom local fact available for this, no ?
> http://docs.ansible.com/ansible/playbooks_variables.
> html#local-facts-facts-d
>
>
This don't override default Ansible facts.

-- 
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/CADKxhpcJNCMgBDqSovzOvQehG2sOV4AKCr6urM3-AsScQ-10mA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to