Projet

Général

Profil

0001-abort-execution-if-run-as-root-34779.patch

Emmanuel Cazenave, 13 novembre 2019 15:08

Télécharger (687 octets)

Voir les différences:

Subject: [PATCH] abort execution if run as root (#34779)

 roles/facts/tasks/main.yml | 8 ++++++++
 1 file changed, 8 insertions(+)
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
-