ansible-edda/playbooks/services_stop.yml

19 lines
537 B
YAML
Raw Normal View History

---
- name: "services : asgard"
hosts: "asgard"
tasks:
- name: "stop"
ansible.builtin.include_role:
name: "services/stop"
apply:
tags:
- "services:{{ services_service_name }}"
- "services:stop"
- "services:stop:{{ services_service_name }}"
- "services:{{ services_service_name }}:stop"
loop: "{{ services_host_services | dict2items | map(attribute='key') }}"
loop_control:
loop_var: "services_service_name"
tags: "always"