ons 2017-01-04 klockan 13:25 +0100 skrev Cosimo Streppone:
> ...
> I'm still unsure about this error message when the facts gathering is
> not happening:
> 
> "Could not detect which package manager to use. Try gathering facts
> or setting the \"use\" option."
> 
> what is the "use" option?

See https://docs.ansible.com/ansible/package_module.html

  - package:
      name: emacs
      use: apt

... which is a bit of a pointless exercise. What might make more sense
then is something along these lines.

  - package:
      name: emacs
      use: "{{ host_alt_group_variable }}"


// Andreas

-- 
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/1483555376.9288.4.camel%40arrakis.se.
For more options, visit https://groups.google.com/d/optout.

Reply via email to