Skip to content

Commit

Permalink
Merge pull request #40 from roumano/Permit_Upgrading_Guacamole_Version
Browse files Browse the repository at this point in the history
actually the when condition skip the compile step is the binary already exist so it's not possible to upgrade guacamole version with the role.

this change permit upgrade guacamole version via changing the condition : add when extract.changed condition
  • Loading branch information
roumano authored Jan 11, 2024
2 parents d91ad85 + 4a27eaa commit ce9c62f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
src: "{{ guacamole_src_dir + '/' + guacamole_server_package }}"
dest: "{{ guacamole_src_dir }}"
remote_src: true
register: extract
become: true

- name: install | Checking If Guacamole Server Is Installed
Expand All @@ -23,7 +24,7 @@
chdir: "{{ guacamole_src_dir + '/guacamole-server-' + guacamole_version }}"
become: true
register: _guacamole_config_server_build
when: not _guacamole_server_installed['stat']['exists']
when: not _guacamole_server_installed['stat']['exists'] or extract.changed

- name: install | Compiling Guacamole Server # noqa no-handler
community.general.make:
Expand Down

0 comments on commit ce9c62f

Please sign in to comment.