Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gjbianco/ansible-ace-do
https://github.com/gjbianco/ansible-ace-do
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/gjbianco/ansible-ace-do
- Owner: gjbianco
- Created: 2018-09-20T13:51:57.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-11T16:03:08.000Z (about 5 years ago)
- Last Synced: 2024-12-09T12:57:33.985Z (about 1 month ago)
- Language: Python
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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:
- ""
```