ansible-role-snort/tasks/main.yml

10 lines
283 B
YAML

---
- name: Assert that we are not logged in as root
assert:
that:
- ansible_user_id != 'root'
fail_msg: "This role builds Javascript assets and should not be run as root. It will escalate privileges as needed."
- import_tasks: setup.yml
- import_tasks: install.yml