Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: usegalaxy-eu/ansible-gie-proxy
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.0.2
Choose a base ref
...
head repository: usegalaxy-eu/ansible-gie-proxy
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.0.3
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Feb 13, 2023

  1. Add new variable to install gie-proxy

    The new variable is gie_proxy_install (defaults to true). Through this
    variable we can decide whether to install (clone the gx-it-proxy repo
    and compile the Node JS modules) or not. We only want this to be installed on
    the maintenance node without the systemd service and then on the
    headnode we would need only the systemd service. So with this new variable we
    can switch them ON and OFF depending on where we are installing. This
    variable will not affect the current behaviour (default is set to true).
    For other tasks in there is already a variable which we can use to
    switch things ON and OFF.
    sanjaysrikakulam committed Feb 13, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    f625605 View commit details
  2. Merge pull request #5 from sanjaysrikakulam/master

    Install gie-proxy only when needed
    bgruening authored Feb 13, 2023
    Copy the full SHA
    e9a2ce5 View commit details
Showing with 4 additions and 0 deletions.
  1. +2 −0 defaults/main.yml
  2. +2 −0 tasks/main.yml
2 changes: 2 additions & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
@@ -38,3 +38,5 @@ gie_proxy_nodejs_package: nodejs
#gie_proxy_nodejs_version:
#gie_proxy_virtualenv_command:
#gie_proxy_virtualenv_python:

gie_proxy_install: true
2 changes: 2 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
@@ -11,6 +11,7 @@
version: "{{ gie_proxy_git_version |default(omit) }}"
notify:
- Restart GIE Proxy
when: gie_proxy_install

- name: Install Node.js modules
npm:
@@ -19,6 +20,7 @@
unsafe_perm: "{{ gie_proxy_npm_unsafe_perm |default(omit) }}"
environment:
PATH: "{{ ansible_path |default(ansible_env.PATH) }}"
when: gie_proxy_install

- name: Include Service setup tasks
include_tasks: service.yml