CORPUS OPS BOOTSTRAP PACKAGE
INTRO
This packages helps to bring out a working ansible environment to bootstrap a whole modern infrastructure
Documentation topics
Galaxy
corpusops team normally add entries to this galaxy user.
Installing
note for OSX users: we won't install dependencies for you: you need virtualenv
and a valid python installation.
mkdir corpusops
git clone https://github.com/corpusops/corpusops.bootstrap.git corpusops/corpusops.bootstrap
corpusops/corpusops.bootstrap/bin/install.sh -l
corpusops/corpusops.bootstrap/bin/install.sh
It will in ./corpusops/corpusops.bootstrap:
- download prerequisites packages for your distribution
- Install a virtualenv with ansible
- Download corpusops roles & playbooks
Note about branches and Versions
corpusops.bootstrap | roles branch | supported python version | bundled ansible branch | ansible requirements | docker tags |
---|---|---|---|---|---|
3.0 |
2.0 | >=python-3.9 | 2.14 | >= 2.10 |
corpusops/ubuntu:latest , corpusops/ubuntu:22.04-2.14 , corpusops/ubuntu:20.04-2.14 , |
2.0 |
2.0 | python-3 | 2.10 | 2.9,2.10 |
corpusops/ubuntu:22.04-2.10 , corpusops/ubuntu:20.04-2.10 , corpusops/ubuntu:18.04-2.10 , corpusops/ubuntu:22.04-2.9 , corpusops/ubuntu:20.04-2.9 , corpusops/ubuntu:18.04-2.9 |
master |
master | python-2.8 | 2.7 | 2.5, 2.7 |
corpusops/ubuntu:20.04-2.7 , corpusops/ubuntu:18.04-2.7 |
master
branch
Upgrading from We provide a semi-automatic way to proceed to 2.0
upgrade not to break old installs, it's as simple as copying this in a terminal
cd $corpusops_bootstrap && \
git pull && \
./bin/install.sh -C -b 2.0 && \
bin/install.sh -C && \
rm -f .corpusops/corpusops_branch
Ansible notes
- It's better to use the installer (this repo, corpusops.bootstrap) that uses under the hood our ansible fork which have small fixes & divergences to pristine ansible.
badges
Branch | CIBuild | Branch | CIBuild |
---|---|---|---|
2.0 | master |
Roles
Ansible preconfigured playbooks helpers
Ansible plugins roles
- ansible_plugins: collections of lookup, plugins, and filters
- debug
- lsb_release
- humanlog
- actionhelper
- jinjarender
- include_jinja_vars
- saltcall
Low level configuration roles
Services configuration roles
Helpers
DB related roles
Role | role |
---|---|
mysql_db | postgresql_db |
mysql_harden_user | postgresql_extensions |
mysql_role | postgresql_install_postgis |
postgresql_dropreset_db_encoding | postgresql_privs |
postgresql_role |
burp (backup) related roles
Role | role |
---|---|
burp_client_configuration | burp_fw |
burp_client_configuration_vars | burp_plugins |
burp_client_server | burp_server_configuration |
burp_client_server_vars | burp_sign |