Fix in time repositories for Jessie and Trusty

This commit is contained in:
Jeremy Gardais 2020-09-23 14:59:53 +02:00
parent 462d94a3f7
commit 200f265c6c
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,10 @@
## v1.x.y
### Enhancements
* Skip "Ensure to remove OpenManage related packages if requested" when it's not install (with package facts).
* Repositories for Debian Jessie and Ubuntu Trusty won't need modifications with new OS versions.
## v1.2.0 ## v1.2.0
### Enhancements ### Enhancements

View File

@ -23,14 +23,15 @@ openmanage__repositories:
state: '{{ openmanage__deploy_state state: '{{ openmanage__deploy_state
if (ansible_distribution_release in ["stretch", "xenial"]) if (ansible_distribution_release in ["stretch", "xenial"])
else "absent" }}' else "absent" }}'
# Previous version for Debian until Jessie and Ubuntu until Trusty # Previous OpenManage version for Debian until Jessie and Ubuntu until Trusty
- repo: 'deb http://linux.dell.com/repo/community/debian/dists/{{ ansible_distribution_release }} {{ ansible_distribution_release }} openmanage' - repo: 'deb http://linux.dell.com/repo/community/debian/dists/{{ ansible_distribution_release }} {{ ansible_distribution_release }} openmanage'
mode: '0644' mode: '0644'
filename: 'dell.openmanage' filename: 'dell.openmanage'
key_id: '1285491434D8786F' key_id: '1285491434D8786F'
key_keyserver: 'pool.sks-keyservers.net' key_keyserver: 'pool.sks-keyservers.net'
state: '{{ openmanage__deploy_state state: '{{ openmanage__deploy_state
if (ansible_distribution_release not in ["stretch", "xenial"]) if ((ansible_distribution == "Debian" and ansible_distribution_major_version is version("8", "<=")) or
(ansible_distribution == "Ubuntu" and ansible_distribution_version is version("14.04", "<=")))
else "absent" }}' else "absent" }}'
# ]]] # ]]]
# ]]] # ]]]