28 lines
1.2 KiB
YAML
28 lines
1.2 KiB
YAML
- name: "Copy cm-cache redis helm chart to dest"
|
|
copy:
|
|
src: "{{ role_path }}/files/redis-7.2.4.tgz"
|
|
dest: /var/lib/rancher/k3s/server/static/charts/
|
|
|
|
- name: "Download cm-cache redis chart images to dest"
|
|
get_url:
|
|
url: https://repo.geedge.net/filerepo/install/release/tsg-container-images/redis-7.2.4.tar
|
|
dest: /var/lib/rancher/k3s/agent/images/redis-7.2.4.tar
|
|
url_username: "{{ lookup('env', 'PULP_REPO_USERNAME') }}"
|
|
url_password: "{{ lookup('env', 'PULP_REPO_PASSWORD') }}"
|
|
|
|
- name: "Copy cm-cache-extra-scripts.yaml chart to dest"
|
|
copy:
|
|
src: "{{ role_path }}/files/cm-cache-extra-scripts.yaml"
|
|
dest: /var/lib/rancher/k3s/server/manifests/
|
|
|
|
- name: "Copy cm-cache-extra-secrets.yaml chart to dest"
|
|
copy:
|
|
src: "{{ role_path }}/files/cm-cache-extra-secrets.yaml"
|
|
dest: /var/lib/rancher/k3s/server/manifests/
|
|
|
|
- name: "Set clixon config cm cache chart value."
|
|
shell: sed -ie "s/^cm_local_cache_chart_name=.*/cm_local_cache_chart_name=redis-7.2.4.tgz/g" /opt/tsg/clixon/etc/mgnt-srv.conf
|
|
|
|
- name: "Set clixon config sd cache chart value."
|
|
shell: sed -ie "s/^sd_local_cache_chart_name=.*/sd_local_cache_chart_name=redis-7.2.4.tgz/g" /opt/tsg/clixon/etc/mgnt-srv.conf
|