2015-07-21 18:50:27 +00:00
|
|
|
# Ansible configuration playbooks for SMB domain controller with [NethServer](http://www.nethserver.org/) #
|
2015-04-30 00:44:50 +00:00
|
|
|
|
2015-07-21 18:50:27 +00:00
|
|
|
![BgLUG logo](https://avatars1.githubusercontent.com/u/12886037?v=3&s=200)
|
|
|
|
## Progetto Scuola @ [BgLUG](http://bglug.it) - Scenary 1 ##
|
2015-04-30 00:44:50 +00:00
|
|
|
|
2015-07-21 18:50:27 +00:00
|
|
|
Here there are [Ansible](http://www.ansible.com/) configuration for a SMB
|
|
|
|
domain controller with the use of a NethServer server.
|
2015-04-14 00:17:01 +00:00
|
|
|
|
2015-07-21 18:50:27 +00:00
|
|
|
It presume a machine with NethServer has been already been configured as base
|
|
|
|
(please check out the [wiki](https://github.com/bglug-it/server-config/wiki)
|
|
|
|
for more information, when available).
|
|
|
|
|
|
|
|
### Quick start ###
|
|
|
|
|
|
|
|
You may proceed in using the files in this repo proceeding as follows:
|
2015-04-14 00:17:01 +00:00
|
|
|
|
|
|
|
$ vim hosts
|
2015-06-22 20:08:04 +00:00
|
|
|
$ vim domain.yml
|
2015-06-14 00:58:47 +00:00
|
|
|
$ ansible-playbook init.yml --ask-pass \
|
2015-04-21 08:51:26 +00:00
|
|
|
-e "admin_sshkey=/path/to/id_rsa.pub"
|
2015-04-16 10:52:05 +00:00
|
|
|
$ ansible-playbook setup.yml
|
2015-04-17 11:26:45 +00:00
|
|
|
|
2015-07-21 18:50:27 +00:00
|
|
|
Or, more simply:
|
2015-06-22 20:08:04 +00:00
|
|
|
|
|
|
|
$ bash run.sh
|
|
|
|
|
2015-07-21 18:50:27 +00:00
|
|
|
### Use [`vagrant`](http://www.vagrantup.com) for testing purposes ###
|
|
|
|
|
|
|
|
You may use the included `Vagrantfile` to do any tests before deploying the
|
|
|
|
machine.
|
2015-04-17 11:26:45 +00:00
|
|
|
|
2015-07-21 18:50:27 +00:00
|
|
|
You just need `vagrant` installed on your machine, then you may run these
|
|
|
|
commands:
|
2015-04-17 11:26:45 +00:00
|
|
|
|
2015-07-21 18:50:27 +00:00
|
|
|
$ cd /path/to/server-config
|
2015-04-21 08:00:21 +00:00
|
|
|
$ vagrant up
|
2015-04-30 00:44:50 +00:00
|
|
|
|
2015-07-21 18:50:27 +00:00
|
|
|
Update 14/06/2015: some basic configuration to the Vagrant box are now
|
|
|
|
provisioned via Ansible, thus requiring that you have it installed on the host
|
|
|
|
machine.
|
2015-06-14 00:58:47 +00:00
|
|
|
|
2015-07-21 18:50:27 +00:00
|
|
|
Update 25/06/2015: the Vagrant box now uses a *host-only* interface instead of
|
|
|
|
a *bridged* one.
|
2015-07-07 20:12:35 +00:00
|
|
|
|
2015-04-30 00:44:50 +00:00
|
|
|
### To Do List ###
|
|
|
|
|
2015-07-21 18:50:27 +00:00
|
|
|
* Splitting and finalize pxe roles (pxe + kickstart)
|
|
|
|
* Implement backup
|
|
|
|
* Detail physical installation procedure for the server machine within the
|
|
|
|
Wiki.
|