ansible-infra/roles/deploy_systemd_resolved_config/tasks/main.yaml
lilly 58ced1a85e
All checks were successful
/ Ansible Lint (push) Successful in 2m28s
/ Ansible Lint (pull_request) Successful in 2m24s
add capability to disable systemd-resolved to base_config role
2026-05-01 00:16:43 +02:00

10 lines
341 B
YAML

---
- name: Include enable.yaml
tags: [ "deploy_systemd_resolved_config" ]
ansible.builtin.include_tasks: enable.yaml
when: deploy_systemd_resolved_config__enable
- name: Include disable.yaml
tags: [ "deploy_systemd_resolved_config" ]
ansible.builtin.include_tasks: disable.yaml
when: not deploy_systemd_resolved_config__enable