inconsistant when accessing fact attributes

17 views
Skip to first unread message

Steve Kieu

unread,
Dec 10, 2014, 10:54:36 PM12/10/14
to ansible...@googlegroups.com
Hi Team,

When I first create a docker container which is centos6 based. Run ansible setup and the fact return for  "ansible_selinux" is a boolean.

After a while not sure what has been done if runs setup again - the value now is a dict.

        "ansible_selinux": {
            "status": "disabled"
        },

That makes harder in the condition I use. Should we have the dict at the beginning?

Thanks

James Cammarata

unread,
Dec 11, 2014, 10:36:02 AM12/11/14
to ansible...@googlegroups.com
Hi Steve, 

Could you open an issue on github for this? My guess would be that the target OS being detected is different between the runs, and the differing methods used for each OS are returning the inconsistent results. We can definitely look into that.

Thanks!

--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/401be86f-a99d-4f4b-b58f-6d2dddf08f23%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages