Canary is an ansible project collecting some common operational tasks.
-
Get the code:
git clone https://github.com/hackerain/canary.git
-
Install dependencies
./start.sh --install-deps
-
Define your inventory
You should define your inventory according your environments. Modify the inventory/hosts file.
-
Define your configuration
Edit the config.yml to fit your environments.
-
Run your code, for example:
./start.sh -p playbooks/setup_network.yml # setup node network using os-net-config
-
To get more help info
./start.sh -h