Hi,
I need to remove one apt package but only if differ the version, example
should be:
- name: remove package
apt:
name:
- "htop!=2.2.0-2build1"
status: absent
Or something as:
- name: remove package
apt:
name:
- htop
status: absent
when: htop version != '2.2.0-2build1'
Howto write this task?
Regards
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/14a8e836-023d-4316-a890-209d64a43713n%40googlegroups.com.