added instructions for non-root users

This commit is contained in:
panda 2020-03-19 18:47:34 +01:00
parent 4aa137f8a6
commit 49da73c8fa

View file

@ -12,7 +12,8 @@ Table of contents
NOTA BENE NOTA BENE
================= =================
I've tested the playbooks mainly on Debian 9 and ubuntu (server) 18.04 LTS, I've tested the playbooks mainly on Debian 9 and ubuntu (server) 18.04 LTS running as root,
on Ubuntu (Desktop) 19.04 running ad user.
I've started converting the roles to distinguish between OSes but it's incomplete. I've started converting the roles to distinguish between OSes but it's incomplete.
@ -58,6 +59,10 @@ Run defaults
ansible-playbook common.yml ansible-playbook common.yml
or if you are running as non-root:
sudo ansible-playbook common.yml
this playbok will: this playbok will:
- check if the variables are set - check if the variables are set
- change the hostname to the one that has been set in the variables - change the hostname to the one that has been set in the variables