diff --git a/README.md b/README.md index e59175e..79d273e 100644 --- a/README.md +++ b/README.md @@ -8,10 +8,15 @@ Qui sono presenti i files di configurazione per il server [NethServer](http://ww Per configurarlo: $ vim hosts + $ vim domain.yml $ ansible-playbook init.yml --ask-pass \ -e "admin_sshkey=/path/to/id_rsa.pub" $ ansible-playbook setup.yml +Oppure, piĆ¹ semplicemente: + + $ bash run.sh + ### Gestione con [`vagrant`](http://www.vagrantup.com) ### Per utilizzare `vagrant` e il `Vagrantfile` nel @@ -21,13 +26,11 @@ lanciare i seguenti comandi: $ cd /path/to/ps-srvmgt $ vagrant up -Aggiornamento 14/06/2015: vengono provisionate via Vagrant e Ansible alcune +Aggiornamento 14/06/2015: vengono provisionate via Ansible alcune configurazioni dal Vagrantfile. ### To Do List ### -* Implementare PXE + Kickstart (manca test) * Implementare configurazioni per repo Ubuntu (test) -* Implementare configurazioni generiche dominio server * Implementare aggiornamento automatico del sistema via `ansible` * Implementare backup diff --git a/run.sh b/run.sh new file mode 100755 index 0000000..7cdc9ae --- /dev/null +++ b/run.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +echo "Please review ansible hosts settings." +sleep 2 +vim hosts + +echo "Please review settings for domain/server settings." +sleep 2 +vim domain.yml + +# Configure the server machine using Ansible tasks. +ansible-playbook init.yml --ask-pass +ansible-playbook setup.yml +ansible-playbook sr-pxe.yml diff --git a/createpasshash.py b/utils/createpasshash.py similarity index 100% rename from createpasshash.py rename to utils/createpasshash.py