Skip to content

Commit

Permalink
add script to deploy locally
Browse files Browse the repository at this point in the history
  • Loading branch information
rkm committed Nov 22, 2023
1 parent e6927bb commit 337dd0e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
14 changes: 14 additions & 0 deletions bin/local-deploy
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/env bash

set -euxo pipefail

ansible-playbook \
--connection local \
--inventory "localhost," \
-e "smi_preflight_group_name=${USER}" \
-e "smi_service_software_install_dir=${HOME}/opt/epcc/smi" \
-e "smi_service_software_allow_create_install_dir=true" \
-e "smi_service_software_allow_create_logs_dir=true" \
-e "smi_service_software_allow_create_pacs_dir=true" \
-e "smi_service_software_allow_create_extract_dir=true" \
site.yml
4 changes: 2 additions & 2 deletions site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
- 00-preflight
tags: [always]
- name: Run system role on all hosts
hosts: all
hosts: all:!localhost
roles:
- 01-system
tags: [system]
Expand All @@ -16,7 +16,7 @@
- 02-docker-services
tags: [never, docker]
- name: Run service-software role on specified hosts
hosts: service_software,smi_aio_build
hosts: service_software,smi_aio_build,localhost
roles:
- 10-service-software
tags: [software]

0 comments on commit 337dd0e

Please sign in to comment.