Actualiser .gitea/workflows/ci.yml
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user