5c2e344
1 2 3 4 5 6 7 8 9
- hosts: localhost pre_tasks: - name: verify running as root fail: when: ansible_user_id != "root" roles: - role: workstation