Hiho,

I'm currently working with most recent ansible in a very restricted system 
environment, e.g. I don't have root access.

now I'm gathering data via shell commands and register.
E.g.
- name: check for java installation
  shell: ls {{ installdir }}
  register: installdircontent

I'd like to gather information via facts, because the "PLAY RECAP" shows 
"changed=xx", but I'm only collecting information and don't change, when 
everything is fine.

custom facts can only placed in /etc/ansible/fact.d as described in the 
docs.
Is there any possibility to gather facts with non-root permissions?

Best Regards,
Uwe 

-- 
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/4019901f-3a90-4b08-b693-395caf175bf6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to