From d759489747495f0c71094fa12d587344bf43c023 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Thu, 30 Dec 2021 09:38:20 +0000 Subject: playbooks: Move playbook files to root directory --- site.workstation.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 site.workstation.yml (limited to 'site.workstation.yml') diff --git a/site.workstation.yml b/site.workstation.yml new file mode 100644 index 0000000..65caed7 --- /dev/null +++ b/site.workstation.yml @@ -0,0 +1,10 @@ +- hosts: localhost + + pre_tasks: + - name: verify running as root + fail: + when: ansible_user_id != "root" + tags: always + + roles: + - role: workstation -- cgit v1.2.3