Skip to content
Snippets Groups Projects
Commit a3bf7721 authored by Jörg Sachse's avatar Jörg Sachse
Browse files

feat: install checkit-tiff from the package repository for both 'current' and...

feat: install checkit-tiff from the package repository for both 'current' and 'upcoming' version and link relevant config files, also cleanup legacy
parent ee97f3b8
No related branches found
No related tags found
No related merge requests found
--- ---
- name: install checkit_tiff - name: install checkit_tiff current and upcoming version
yum: ansible.builtin.yum:
name: [ name: [
"checkit-tiff", "checkit-tiff-current",
"pcre", "checkit-tiff-upcoming",
] ]
state: latest state: latest
- name: create symlink to the version of the libpcre kernel module that checkit_tiff expects - name: deploy checkit_tiff-Configs
file: file:
src: "/usr/lib64/libpcre.so.1" src: "/usr/share/{{ item.src }}"
dest: "/usr/lib64/libpcre.so.3" dest: "/operational_shared/software/{{ item.dest }}"
state: link state: link
loop:
# checkit-tiff-current
- src: "checkit_tiff_current/example_configs/cit_tiff6_baseline_SLUB.cfg"
dest: "cit_tiff6_baseline_SLUB_current.cfg"
- src: "checkit_tiff_current/example_configs/cit_tiff6_geotiff_SLUB.cfg"
dest: "cit_tiff6_geotiff_SLUB_current.cfg"
# checkit-tiff-upcoming
- src: "checkit_tiff_upcoming/example_configs/cit_tiff6_baseline_SLUB.cfg"
dest: "cit_tiff6_baseline_SLUB_upcoming.cfg"
- src: "checkit_tiff_upcoming/example_configs/cit_tiff6_geotiff_SLUB.cfg"
dest: "cit_tiff6_geotiff_SLUB_upcoming.cfg"
- name: remove old checkit_tiff version
ansible.builtin.yum:
name: "checkit-tiff"
state: absent
- name: remove symlink to the version of the libpcre kernel module that checkit_tiff expects
ansible.builtin.file:
path: "/usr/lib64/libpcre.so.3"
state: absent
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment