Browse Source

Update 'new-node.sh'

Marcel Stangenberger 7 months ago
parent
commit
83b0ef62a2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      new-node.sh

+ 2 - 2
new-node.sh

@@ -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