Skip to content

Commit

Permalink
1st attempt to install all tools as in usegalaxy.eu
Browse files Browse the repository at this point in the history
  • Loading branch information
martindemko committed Dec 19, 2024
1 parent d694ec8 commit 4504f31
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
14 changes: 7 additions & 7 deletions .github/actions/run-ansible-playbook/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ runs:
shell: bash
run: echo "$VAULT_PASSWORD" >.vault-password.txt

- name: Run galaxy.yaml playbook
shell: bash
run: ansible-playbook -vvv --limit $TARGET_HOSTNAME galaxy.yml

- name: Sleep for 3 minutes
shell: bash
run: sleep 180s
# - name: Run galaxy.yaml playbook
# shell: bash
# run: ansible-playbook -vvv --limit $TARGET_HOSTNAME galaxy.yml
#
# - name: Sleep for 3 minutes
# shell: bash
# run: sleep 180s

- name: Run galaxy_tools.yaml playbook
shell: bash
Expand Down
22 changes: 11 additions & 11 deletions galaxy_tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@
name: ephemeris
virtualenv: /tmp/ephemeris

# - name: Copy tools from master instance
# local_action:
# module: ansible.builtin.shell
# cmd: /tmp/ephemeris/bin/get-tool-list -g {{ copy_tools_from }} -o /tmp/master_tool_list.yaml
# when: copy_tools_from
#
# - name: Install tools from master instance
# local_action:
# module: ansible.builtin.shell
# cmd: /tmp/ephemeris/bin/shed-tools install -g https://{{ inventory_hostname }} -a {{ api_key }} -t /tmp/master_tool_list.yaml
# when: copy_tools_from
- name: Copy tools from master instance
local_action:
module: ansible.builtin.shell
cmd: /tmp/ephemeris/bin/get-tool-list -g {{ copy_tools_from }} -o /tmp/master_tool_list.yaml
when: copy_tools_from

- name: Install tools from master instance
local_action:
module: ansible.builtin.shell
cmd: /tmp/ephemeris/bin/shed-tools install -g https://{{ inventory_hostname }} -a {{ api_key }} -t /tmp/master_tool_list.yaml
when: copy_tools_from

- name: Install local tools
local_action:
Expand Down

0 comments on commit 4504f31

Please sign in to comment.