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: |
Zack Williams | 7928696 | 2017-07-10 12:24:37 -0700 | [diff] [blame] | 17 | - { role: create-configdirs-become, when: create_configdirs_become | default(True) } |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 18 | - pki-root-ca |
| 19 | - pki-intermediate-ca |
| 20 | - pki-cert |
| 21 | - ssh-pki |
| 22 | |
| 23 | - name: Create CORD profile |
| 24 | hosts: config |
| 25 | roles: |
| 26 | - cord-profile |
| 27 | |