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 :( -- 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/851a281f-657f-477c-bba7-1c2fed1d03b5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
