From 5c2e3443bedf0ef6a34888ea30361af7da314748 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Sat, 4 Dec 2021 14:01:47 +0000 Subject: roles: Add workstation role --- playbooks/workstation.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 playbooks/workstation.yml (limited to 'playbooks') diff --git a/playbooks/workstation.yml b/playbooks/workstation.yml new file mode 100644 index 0000000..9510b2b --- /dev/null +++ b/playbooks/workstation.yml @@ -0,0 +1,9 @@ +- hosts: localhost + + pre_tasks: + - name: verify running as root + fail: + when: ansible_user_id != "root" + + roles: + - role: workstation -- cgit v1.2.3