diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 2b5c03f..5c0b08f 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -30,22 +30,7 @@ jobs: - name: Run playbook "Minecraft" run: | - ansible-playbook -K -l minecraft playbooks.yml - - - name: Send failure notification - uses: dawidd6/action-send-mail@v3 - if: always() && failure() - with: - server_address: smtp.gmail.com - server_port: 465 - secure: true - username: myuser - password: ${{ secrets.MAIL_PASSWORD }} - subject: ansible runbook failed - to: me@davegallant.ca - from: RFD Notify - body: | - ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_number }} + ansible-playbook -i inventories/hosts playbook.yml run-ansible-playbook: needs: ansible_lint_and_syntax_check # Ce job dépend du succès du précédent