]> git.phdru.name Git - ansible.git/blobdiff - playbooks/redhat/init-system.sh
Feat(playbooks/debian/init-local-phd): Mount cgroups using `cgroupfs-mount`
[ansible.git] / playbooks / redhat / init-system.sh
index df2f22f5d4386d230c7db20eac36d15be3d0de08..a8901f2d0e99dac91c750ecd2166cd5c4f9b2174 100755 (executable)
@@ -8,9 +8,11 @@ fi
 host="$1"
 shift
 
+ssh root@$host exec adduser phd
+
 cd "`dirname \"$0\"`" &&
 
 # Passwordless access isn't configured yet; use `ssh` connection sharing.
 # `sudo` isn't configured yet too; ask for phd password.
-ansible-playbook ../init-system.yml "$@" -e hosts="$host" -K &&
-exec ansible-playbook ../init-system2.yml "$@" -e hosts="$host"
+ansible-playbook ../init-system.yaml "$@" -e hosts="$host" -K &&
+exec ansible-playbook ../init-system2.yaml "$@" -e hosts="$host"