An open API service indexing awesome lists of open source software.

https://github.com/equalitie/eq-services


https://github.com/equalitie/eq-services

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# City Hall

Ansible and scripts to build and maintain infrastructure.
Including:

- Docker
- Bind
- eQbackup [controller]
- Icinga [monitoring]
- Letsencrypt [server]

## Requirements

- Debian 9+
- [Ansible 2.8+]()
- git `apt-get install git`
- sudo `apt-get install sudo`

## Quick Install

- Clone CityHall repository in: `/opt`
- `git clone https://github.com/equalitie/cityhall.git`
- Install Ansible 2.8+
- Edit the temporary inventory file
- Run: `ansible-playbook init.yml -i my_cityhall_local_inventory_file`

## Examples

Note: All servers in inventory must have the user and ssh setup first.

Building the controller

- clone this project to the location you want it to live.

- ie;
- `cd /opt`
- `git clone https://github.com/equalitie/cityhall.git`
- `cd cityhall`

- Configure the ansible

- create a simple inventory file with just [cityhall] group information for localhost
Example:

```
[cityhall]
fqdn_of_cityhall ansible_connection=local ansible_become_pass='the_become_password'
```

- The run the init ansible playbook
`ansible-playbook init.yml -i my_cityhall_local_inventory_file`
see init prompts below

- setup your config/inventory/invenory file

- Recommend doing this one group at a time.
Example would be to:
- first add cityhall group
- run the playbook
- setup bind_service
- also need to setup DNS names, etc in config/zones.yml. See config/zones.yml.example
- run playbook
- etc

- setup config/edges.yml
- run ```ansible-playbook site.tml --tags=newedges```

- a full run looks like: ```ansible-playbook site.yml```

- after the run you need to setup other controller pieces like:
```autodeflect, eqbackup, eqpress```
Some have their own init.yml

## License

## Author Information