https://github.com/equalitie/eq-services
https://github.com/equalitie/eq-services
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/equalitie/eq-services
- Owner: equalitie
- Created: 2020-04-15T21:33:43.000Z (about 5 years ago)
- Default Branch: development
- Last Pushed: 2020-04-15T21:45:13.000Z (about 5 years ago)
- Last Synced: 2025-01-04T01:36:37.259Z (5 months ago)
- Language: Shell
- Size: 130 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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