2017-03-26 20:02:33 +02:00
|
|
|
Ansible Freifunk Regensburg
|
|
|
|
===========================
|
|
|
|
|
2017-03-27 16:44:09 +02:00
|
|
|
## Requirements
|
|
|
|
|
2017-03-27 17:36:59 +02:00
|
|
|
The python package netaddr is required on the host running ansible.
|
2017-03-27 17:49:24 +02:00
|
|
|
|
2017-03-27 16:44:09 +02:00
|
|
|
The vault password must be stored in `.vault_pass`.
|
|
|
|
|
2017-03-27 17:49:24 +02:00
|
|
|
The *only* supported distribution to deploy roles on is debian jessie.
|
|
|
|
|
2017-03-27 16:44:09 +02:00
|
|
|
|
2017-03-26 20:14:06 +02:00
|
|
|
## Running Ansible
|
|
|
|
|
2017-03-27 16:44:09 +02:00
|
|
|
To deploy all defined roles on all servers simply run `ansible-playbook site.yml`.
|
2017-03-27 17:49:24 +02:00
|
|
|
|
2017-03-27 16:44:09 +02:00
|
|
|
To deploy only one server run `ansible-playbook -i "hostname," site.yml`.
|
2017-03-26 20:14:06 +02:00
|
|
|
|
2017-03-26 21:33:16 +02:00
|
|
|
|
|
|
|
## Notes
|
|
|
|
|
|
|
|
Some roles are derived from https://github.com/FreifunkBremen/ansible/
|