-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HOTFIX: workaround for bug in yum_versionlock
See ansible-collections/community.general#4470 for details about the bug. Previously, holding back the version of the community.general collection to version 3.2 prevented the bug from impacting us, but now this version can no longer be installed. Since the bug only impacts idempotency, we decided to switch to the most recent version of community.general and mark all yum_versionlock tasks as non_idempotent.
- Loading branch information
Tony Edgin
committed
Aug 29, 2022
1 parent
bc6912e
commit 64a3388
Showing
7 changed files
with
185 additions
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,37 @@ | ||
--- | ||
- name: ensure netcdf plugins not installed | ||
package: | ||
- name: Ensure netcdf plugins not installed | ||
ansible.builtin.package: | ||
name: | ||
- irods-icommands-netcdf | ||
- irods-microservice-plugin-netcdf | ||
- irods-api-plugin-netcdf | ||
state: absent | ||
|
||
- name: ensure netcdf rpms removed | ||
file: | ||
- name: Ensure netcdf rpms removed | ||
ansible.builtin.file: | ||
path: /root/{{ item }}-1.0-centos{{ ansible_distribution_major_version }}.rpm | ||
state: absent | ||
with_items: | ||
- irods-icommands-netcdf | ||
- irods-microservice-plugin-netcdf | ||
- irods-api-plugin-netcdf | ||
|
||
- name: install NetCDF plugins | ||
yum: | ||
- name: Install NetCDF plugins | ||
ansible.builtin.yum: | ||
name: | ||
- http://people.renci.org/~dmoore/irods_netcdf/packages_2021_03_24/irods-netcdf-client_modules-4.2.8.0-centos-7-x86_64.rpm | ||
- http://people.renci.org/~dmoore/irods_netcdf/packages_2021_03_24/irods-netcdf-icommands-4.2.8.0-centos-7-x86_64.rpm | ||
- http://people.renci.org/~dmoore/irods_netcdf/packages_2021_03_24/irods-netcdf-server_modules-4.2.8.0-centos-7-x86_64.rpm | ||
state: present | ||
|
||
- name: lock NetCDF plugins to 4.2.8.0 | ||
yum_versionlock: | ||
- name: Lock NetCDF plugins to 4.2.8.0 | ||
community.general.yum_versionlock: | ||
name: | ||
- irods-netcdf-client_modules-4.2.8.0 | ||
- irods-netcdf-icommands-4.2.8.0 | ||
- irods-netcdf-server_modules-4.2.8.0 | ||
state: present | ||
|
||
- name: ensure msiSetAVU microservice is absent | ||
file: | ||
path: /var/lib/irods/plugins/microservices/libmsiSetAVU.so | ||
state: absent | ||
# XXX - Due to https://github.com/ansible-collections/community.general/issues/4470, this isn't | ||
# idempotent. | ||
tags: non_idempotent | ||
# XXX - ^^^ |
Oops, something went wrong.