ansible-roles/library/roles/motd/tasks/main.yml

7 lines
170 B
YAML

---
- import_tasks: deb_motd.yml
when: ansible_distribution_file_variety == "Debian"
- import_tasks: rh_motd.yml
when: ansible_distribution_file_variety == "RedHat"