22 lines
472 B
Bash
Executable File
22 lines
472 B
Bash
Executable File
#!/bin/bash
|
|
|
|
d ()
|
|
{
|
|
date '+%F %T'
|
|
}
|
|
|
|
echo $(d): Starting server
|
|
ROOT_PASS="Swordfish4321!" ./day0_create.sh
|
|
./wait_ready.sh
|
|
./day1_geninventory.sh
|
|
echo $(d): Creating user account
|
|
ansible-playbook phase1user.yml > .phase1.log
|
|
./day3_geninventory_phase1.sh
|
|
echo $(d): Securing SSH access
|
|
ansible-playbook phase2user.yml > .phase2.log
|
|
./day3_geninventory_phase2.sh
|
|
echo $(d): configuring jupyterhub
|
|
ansible-playbook jupyterhubsrv.yml > .jupyterhub.log
|
|
echo $(d): ready
|
|
|