fix(install): fix unpack directory path in /tmp
Some checks failed
test / Linting (push) Successful in 14s
test / Molecule tests (default, ubuntu2004) (push) Failing after 2m30s
test / Molecule tests (default, debian12) (push) Failing after 2m13s
test / Molecule tests (default, ubuntu2204) (push) Failing after 2m18s
test / Molecule tests (with_custom_conf, ubuntu2204) (push) Successful in 3m2s
test / Molecule tests (default, debian11) (push) Failing after 1m43s
test / Molecule tests (with_custom_conf, ubuntu2004) (push) Successful in 3m34s
test / Molecule tests (with_custom_conf, debian12) (push) Failing after 16s
test / Molecule tests (with_custom_conf, debian11) (push) Failing after 1m41s

This commit is contained in:
Bertrand Lanson 2024-03-10 20:33:59 +01:00
parent daf8052ed9
commit 1b03a5ff63
2 changed files with 2 additions and 1 deletions

View File

@ -48,6 +48,8 @@
- name: "Install keepalived" - name: "Install keepalived"
when: deploy_keepalived_current_version is not defined when: deploy_keepalived_current_version is not defined
or deploy_keepalived_wanted_version not in deploy_keepalived_current_version or deploy_keepalived_wanted_version not in deploy_keepalived_current_version
vars:
deploy_keepalived_tmp_path: "/tmp/keepalived-{{ deploy_keepalived_wanted_version }}"
block: block:
- name: "Downloading sources for keepalived:{{ deploy_keepalived_version }}" - name: "Downloading sources for keepalived:{{ deploy_keepalived_version }}"
ansible.builtin.get_url: ansible.builtin.get_url:

View File

@ -5,7 +5,6 @@ deploy_keepalived_scripts_dir: /etc/keepalived/scripts.d
deploy_keepalived_path: /usr/local/sbin/keepalived deploy_keepalived_path: /usr/local/sbin/keepalived
deploy_keepalived_github_api: https://api.github.com/repos/acassen/keepalived deploy_keepalived_github_api: https://api.github.com/repos/acassen/keepalived
deploy_keepalived_github_url: https://github.com/acassen/keepalived deploy_keepalived_github_url: https://github.com/acassen/keepalived
deploy_keepalived_tmp_path: "/tmp/keepalived-{{ deploy_keepalived_version}}"
deploy_keepalived_service_name: "keepalived{{ '_container' if deploy_keepalived_deploy_method == 'docker' }}" deploy_keepalived_service_name: "keepalived{{ '_container' if deploy_keepalived_deploy_method == 'docker' }}"
deploy_keepalived_user: root deploy_keepalived_user: root
deploy_keepalived_group: root deploy_keepalived_group: root