Ansible playbooks for a SAMBA domain controller with NethServer - Progetto Scuola, BgLUG.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Emiliano Vavassori 2b85700990 Update checks for latest versions of Ansible. 3 years ago
roles Update checks for latest versions of Ansible. 3 years ago
utils Previsione di uno script di lancio. Modificato readme in maniera consistente. Mossa una utility in una cartella a parte. 7 years ago
.gitignore Selecting only edubuntu desktop as DE. 7 years ago
LICENSE.txt Adding license. 7 years ago
README.md Revert "Rename README.md to README_old.md" 4 years ago
Vagrantfile Simplify changing name of VM. 4 years ago
ansible.cfg Fixing error with host-key-checking in first installations for virtual machines. 7 years ago
domain.yml Revert "Salerno3.ilariaalpi: Realigning repo and production code." 5 years ago
hosts Revert "Salerno3.ilariaalpi: Realigning repo and production code." 5 years ago
how_to_change_passwords.md Delete add, commit and push commands for working copy. 6 years ago
init.yml Separati compiti playbook init e setup. Prima spostata installazione pacchetti NethServer specifici spostati nel ruolo nethcfg. 7 years ago
ovpn-client.yml Fixing warning with ansible v2. Adding stub configuration for openvpn. 7 years ago
provision.yml Changes to 6.9. 5 years ago
run.sh Committing changes for mirror mode selection. 7 years ago
setup.yml Committing changes for mirror mode selection. 7 years ago

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.