The example shown in Ansible website shows that update_cache is executed when ansible_distribution is Centos.
- name: install system updates for centos systems yum: name=* state=latest update_cache=yes when: ansible_distribution == "CentOS" The exact same command works for us when we run it on Centos without the when condition, however it hangs up for hours in RHEL and finally outputs with a long error message depicting conflicts.. Does update_cache work in RHEL? -- 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/9a8e1b30-9fe8-4c48-875f-b734b19019b2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
