]> git.phdru.name Git - ansible.git/blobdiff - playbooks/redhat/init-system.sh
Feat: Rename `*.yml` to `*.yaml`
[ansible.git] / playbooks / redhat / init-system.sh
index 92361652468f18cfde661ee86fc487298e688f42..a8901f2d0e99dac91c750ecd2166cd5c4f9b2174 100755 (executable)
@@ -8,11 +8,11 @@ fi
 host="$1"
 shift
 
+ssh root@$host exec adduser phd
+
 cd "`dirname \"$0\"`" &&
-ANSIBLE_ROLES_PATH=roles:../roles &&
-export ANSIBLE_ROLES_PATH &&
 
 # 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"