Add ansible dependency
This commit is contained in:
parent
147da03492
commit
8f001ddcd4
1 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@ packages:
|
||||||
- python38
|
- python38
|
||||||
- py38-sqlite3
|
- py38-sqlite3
|
||||||
- jpeg-turbo
|
- jpeg-turbo
|
||||||
|
- py37-ansible
|
||||||
sources:
|
sources:
|
||||||
- https://git.sr.ht/~crocmagnon/blog
|
- https://git.sr.ht/~crocmagnon/blog
|
||||||
secrets:
|
secrets:
|
||||||
|
@ -24,7 +25,7 @@ tasks:
|
||||||
cd blog
|
cd blog
|
||||||
poetry run ./docker/runtests.sh
|
poetry run ./docker/runtests.sh
|
||||||
- deploy: |
|
- deploy: |
|
||||||
ansible-playbook -i ~/ansiblehosts blog/ansible/playbook.yml
|
ansible-playbook -i ~/ansiblehosts --ssh-common-args "-o StrictHostKeyChecking=no" blog/ansible/playbook.yml
|
||||||
triggers:
|
triggers:
|
||||||
- action: email
|
- action: email
|
||||||
condition: failure
|
condition: failure
|
||||||
|
|
Reference in a new issue