Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/gjbianco/ansible-ace-do


https://github.com/gjbianco/ansible-ace-do

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Ansible ACE DO

These playbooks set up the lab for the accompanying introduction to Ansible talk found here: .

NB: this is NOT the seed project to participate in the lab. That can be found here: . (You also won't find any info on completing the lab here ;P).

## Requirements

These playbooks assume you have a Digital Ocean account as well as use CloudFlare to manage your DNS records (TODO: currently, no way to skip this without changing the playbooks).

You'll also need the Python module `dopy` installed on the Ansible host for the Digital Ocean modules to work.

## Installation

Modify `roles/droplet/vars/main.yml` to enumerate the boxes you want provisioned (TODO: pull this list into top-level variables).

Use `provision.yml` to set up the boxes and `cleanup.yml` to tear them down. You should be able to use plain `ansible-playbook provision.yml` without any options (the ansible.cfg should be configured for most setups).

You'll need to configure at least the following variables. The recommendation is to replace `vault.yml` with your own.

```yml
vault_cloudflare_token:
vault_cloudflare_email:
vault_cloudflare_zone:

vault_user_pass:

vault_do_key_ids:
- ""
```