ansible-role-snort/tasks/main.yml

10 lines
283 B
YAML
Raw Normal View History

2023-08-14 21:37:34 +00:00
---
- 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