0001-abort-execution-if-run-as-root-34779.patch
roles/facts/tasks/main.yml | ||
---|---|---|
14 | 14 |
tags: |
15 | 15 |
- theme |
16 | 16 |
- tls |
17 | ||
18 |
- name: check that user is not root |
|
19 |
fail: |
|
20 |
msg: Please run the playbook with a non-root user. |
|
21 |
when: user == 'root' |
|
22 |
tags: |
|
23 |
- theme |
|
24 |
- tls |
|
17 |
- |