|
@@ -3,9 +3,9 @@
|
|
|
echo "Creating group"
|
|
|
groupadd Ansible
|
|
|
echo "Creating user"
|
|
|
-useradd -g Ansible -m -r -c \"Ansible user\" ansible
|
|
|
+useradd -g Ansible -m -r -c "Ansible user" ansible
|
|
|
echo "Set sudo rights"
|
|
|
-echo \"%Ansible ALL=(ALL) NOPASSWD: ALL\" > /etc/sudoers.d/Ansible
|
|
|
+echo "%Ansible ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/Ansible
|
|
|
echo "Set remote access"
|
|
|
mkdir /home/ansible/.ssh
|
|
|
chmod 700 /home/ansible/.ssh
|