Files
ansible/oldstuff/install-notepadplus.yaml
2023-08-17 23:08:37 +02:00

30 lines
652 B
YAML

---
- name: Slack
hosts: localhost
gather_facts: false
tasks:
- name: Send notification message via Slack
community.general.slack:
token: "{{ slack_token }}"
msg: Starting playbook install_note.yaml
## install note
- name: install_note
hosts: Note_install
gather_facts: false
tasks:
- block:
- include: tasks/install-notepadplus.yaml
rescue:
- include: tasks/task-failed-slack.yaml
- name: Slack
hosts: localhost
gather_facts: false
tasks:
- name: Send notification message via Slack
community.general.slack:
token: "{{ slack_token }}"
msg: All done