Add ansible dependency

This commit is contained in:
Gabriel Augendre 2020-11-12 15:06:59 +01:00
parent 147da03492
commit 8f001ddcd4
No known key found for this signature in database
GPG key ID: 1E693F4CE4AEE7B4

View file

@ -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