Ansible playbooks for a SAMBA domain controller with NethServer - Progetto Scuola, BgLUG.
Go to file
Emiliano Vavassori 2b85700990 Update checks for latest versions of Ansible. 2019-11-18 23:19:31 +01:00
roles Update checks for latest versions of Ansible. 2019-11-18 23:19:31 +01:00
utils Previsione di uno script di lancio. Modificato readme in maniera consistente. Mossa una utility in una cartella a parte. 2015-06-22 22:08:04 +02:00
.gitignore Selecting only edubuntu desktop as DE. 2015-09-30 09:37:28 +02:00
LICENSE.txt Adding license. 2016-04-25 18:40:04 +02:00
README.md Revert "Rename README.md to README_old.md" 2018-07-29 21:37:08 +02:00
Vagrantfile Simplify changing name of VM. 2018-11-10 14:51:17 +01:00
ansible.cfg Fixing error with host-key-checking in first installations for virtual machines. 2015-12-12 12:27:29 +01:00
domain.yml Revert "Salerno3.ilariaalpi: Realigning repo and production code." 2017-10-25 00:03:10 +02:00
hosts Revert "Salerno3.ilariaalpi: Realigning repo and production code." 2017-10-25 00:03:10 +02:00
how_to_change_passwords.md Delete add, commit and push commands for working copy. 2016-07-26 09:36:34 +02:00
init.yml Separati compiti playbook init e setup. Prima spostata installazione pacchetti NethServer specifici spostati nel ruolo nethcfg. 2015-06-14 02:58:47 +02:00
ovpn-client.yml Fixing warning with ansible v2. Adding stub configuration for openvpn. 2016-03-12 17:54:01 +01:00
provision.yml Changes to 6.9. 2017-06-01 21:38:55 +02:00
run.sh Committing changes for mirror mode selection. 2015-11-04 23:52:57 +01:00
setup.yml Committing changes for mirror mode selection. 2015-11-04 23:52:57 +01:00

README.md

Ansible playbooks for a SAMBA domain controller with NethServer

Progetto Scuola BgLUG Logo BgLUG - Scenary 1

Starting from a NethServer configured machine (please check out the wiki for the installation process from CentOS and other requirements), these playbooks provision a SAMBA 3.0 domain controller which can be used with a network of Ubuntu clients.

Using the default settings, it will also provide an environment to boot from network, install and configure the clients, using a local copy of Ubuntu's repositories.

Quick start

You may use these playbooks as follows:

$ vim hosts
$ vim domain.yml
$ ansible-playbook init.yml --ask-pass -e "admin_sshkey=/path/to/id_rsa.pub"
$ ansible-playbook setup.yml 

Or, more simply:

$ bash run.sh

Use Vagrant for testing purposes

You may use the included Vagrantfile to do any tests before deploying the machine. vagrant and ansible must be installed on the host machine, then you may run the following commands:

$ cd /path/to/server-config
$ vagrant up

Update 14/06/2015: some basic configurations to the Vagrant box are now provisioned via Ansible, thus making it a dependency.

Update 25/06/2015: the Vagrant box now uses a host-only interface instead of a bridged one. If you built a Vagrant box before this date, please destroy it, recreate a new one and reprovision it with the provided playbooks.

To Do List

  • Implement backup
  • Detail physical installation procedure for the server machine within the Wiki.