single-step script to perform all administration, some ansible performance settings
This commit is contained in:
parent
0ca44cc623
commit
4fda00bfb5
8 changed files with 60 additions and 1 deletions
21
omniconfig.sh
Executable file
21
omniconfig.sh
Executable file
|
|
@ -0,0 +1,21 @@
|
|||
#!/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
|
||||
|
||||
Reference in a new issue