diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2021-08-16 14:58:34 +0200 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2021-08-16 14:58:34 +0200 |
commit | 0b2fc8a4bb8aa868222e8df1f5d454047e3c1df5 (patch) | |
tree | 92f7b9e96c15d2d232667748dacc43f77960736c /roles/workstation/tasks/main.yml | |
parent | b232b894c3cbe087c8d504e91637dcf62199eed1 (diff) | |
download | old-infrastructure-0b2fc8a4bb8aa868222e8df1f5d454047e3c1df5.tar.gz |
roles/workstation: Monolithic role for workstation
Diffstat (limited to 'roles/workstation/tasks/main.yml')
-rw-r--r-- | roles/workstation/tasks/main.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/roles/workstation/tasks/main.yml b/roles/workstation/tasks/main.yml new file mode 100644 index 0000000..e7c08b9 --- /dev/null +++ b/roles/workstation/tasks/main.yml @@ -0,0 +1,13 @@ +- name: verify running as root + fail: + msg: playbook must be run as root + when: ansible_user_id != "root" + + +- name: include packages + include_tasks: pkgs.yml + tags: pkgs + +- name: include sysconf + include_tasks: sysconf.yml + tags: sysconf |