Skip to content

Commit

Permalink
Figure out the SSH user
Browse files Browse the repository at this point in the history
  • Loading branch information
whikloj committed Mar 23, 2022
1 parent 3da7fa0 commit 7eb2539
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion inventory/vagrant/group_vars/alpaca.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---

# Comment in to build Alpaca from source
# Comment out to download Alpaca from Maven
alpaca_from_source: yes
alpaca_version: 2.x
alpaca_clone_directory: /opt/alpaca
Expand Down
4 changes: 2 additions & 2 deletions roles/internal/Islandora-Devops.alpaca/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ alpaca_version: 2.0.0
alpaca_clone_directory: /opt/alpaca
alpaca_jar_path: "{{ alpaca_clone_directory }}/islandora-alpaca-app-{{ alpaca_version }}-all.jar"

alpaca_user: "{{ ansible_ssh_user }}"
alpaca_group: "{{ ansible_ssh_user }}"
alpaca_user: "{{ ansible_ssh_user | default(ansible_env.SUDO_USER, true) | default(ansible_env.USER, true) | default(ansible_user_id) }}"
alpaca_group: "{{ ansible_ssh_user | default(ansible_env.SUDO_USER, true) | default(ansible_env.USER, true) | default(ansible_user_id) }}"

alpaca_log_level: INFO

Expand Down
1 change: 0 additions & 1 deletion roles/internal/Islandora-Devops.tomcat8/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
- tomcat9-install

- include: config.yml
static: no
tags:
- tomcat9
- tomcat9-config

0 comments on commit 7eb2539

Please sign in to comment.