Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 1 | --- |
| 2 | # cord-config-playbook.yml |
| 3 | # Creates all configuration for a CORD pod |
| 4 | |
| 5 | - name: Include vars |
| 6 | hosts: all |
| 7 | tasks: |
| 8 | - name: Include variables |
| 9 | include_vars: "{{ item }}" |
| 10 | with_items: |
| 11 | - "profile_manifests/{{ cord_profile }}.yml" |
| 12 | - profile_manifests/local_vars.yml |
| 13 | |
| 14 | - name: Create SSL Root CA, Intermediate CA, Server certs, SSH CA and keypairs |
| 15 | hosts: config |
| 16 | roles: |
| 17 | - pki-root-ca |
| 18 | - pki-intermediate-ca |
| 19 | - pki-cert |
| 20 | - ssh-pki |
| 21 | |
| 22 | - name: Create CORD profile |
| 23 | hosts: config |
| 24 | roles: |
| 25 | - cord-profile |
| 26 | |