blob: bb9ac737ec0307bcbe62ae00133ef4ceee9d7dbd [file] [log] [blame]
Zack Williamsc989f262017-05-11 13:02:59 -07001---
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 Williams79286962017-07-10 12:24:37 -070017 - { role: create-configdirs-become, when: create_configdirs_become | default(True) }
Zack Williamsc989f262017-05-11 13:02:59 -070018 - 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