Skip to content

Commit

Permalink
feat(task): refactor ansible call
Browse files Browse the repository at this point in the history
  • Loading branch information
akorzunin committed Aug 2, 2024
1 parent 3db404e commit 3b0d17f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ mono_crash.*.json
.task
*.import
*.blend*
.ansible_vault_password
18 changes: 17 additions & 1 deletion Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,14 +150,30 @@ tasks:
- defer: { task: build-cleanup }
- task: build-parallel

deploy-dev-internal:
internal: true
cmds:
- >-
ansible-playbook
./deploy/dev/deploy_local.yaml -l local_pi,
--verbose --vault-password-file .ansible_vault_password
deploy-dev:
platforms: [linux]
desc: build for all platforms and upload files to file server
interactive: true
cmds:
- deploy-dev-internal

deploy-build-dev:
platforms: [linux]
aliases: [deploy]
desc: build for all platforms and upload files to file server
interactive: true
deps:
- dev-build-all
cmds:
- ansible-playbook ./deploy/dev/deploy_local.yaml -l local_pi,
- deploy-dev-internal

caddy:
desc: run reverce proxy to view web build and file server locally
Expand Down

0 comments on commit 3b0d17f

Please sign in to comment.