Skip to content

Commit

Permalink
Update bashrc and postgres-connection role's vars
Browse files Browse the repository at this point in the history
Look at this PR for changes: usegalaxy-eu#610
  • Loading branch information
sanjaysrikakulam committed Feb 21, 2023
1 parent 69fac0f commit 0ad278c
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 4 deletions.
26 changes: 26 additions & 0 deletions group_vars/maintenance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,32 @@ autofs_mount_points:
# Miniconda role variables (galaxyproject.miniconda)
conda_prefix: /opt/miniconda

# usegalaxy-eu.bashrc role variables
bashrc_users:
- uname: "{{ galaxy_user.name }}"
uhome: "{{ galaxy_user.home }}"
gname: "{{ galaxy_group.name }}"

- uname: stats
uhome: /home/stats
gname: stats

# hxr.postgres-connection role variables
pgc_users:
- uname: "{{ galaxy_user.name }}"
uhome: "{{ galaxy_user.home }}"
gname: "{{ galaxy_group.name }}"
pguser: "{{ postgres_user }}"
pgpass: "{{ postgres_pass }}"
pgdatabase: galaxy

- uname: stats
uhome: /home/stats
gname: stats
pguser: "{{ galaxy_db_ro_user }}"
pgpass: "{{ galaxy_db_ro_pass }}"
pgdatabase: galaxy

# fs-maintenance
# Only on the maintenance node
fsm_maintenance_dir: "/data/dnb01/maintenance"
Expand Down
4 changes: 0 additions & 4 deletions maintenance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,6 @@

## The bashrc needs to be created for several later features.
- role: usegalaxy-eu.bashrc
vars:
user_name: "{{ galaxy_user.name }}"
user_home: "{{ galaxy_user.home }}"
group_name: "{{ galaxy_group.name }}"

# HTCondor (Uncomment when in production and latest version is installed)
# - usegalaxy_eu.htcondor
Expand Down

0 comments on commit 0ad278c

Please sign in to comment.