A task I have uses the pip module in conjunction with 'with_items' to 
install different ansible packages, like so:

- name: install ansible versions
    name: ansible
    version: "{{ item }}"
    extra_args: "--install-option=\"--prefix=/opt/ansible/ansible-{{ item 
    state: present

Every time we run the playbook Ansible reinstalls the packages even though 
they are definitely there on the host. Any ideas why?


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-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
For more options, visit https://groups.google.com/d/optout.

Reply via email to