blob: be94e6a4b01885cf1cc06655f11cde5eb53c11d7 [file] [log] [blame]
Andy Bavier12262e72016-12-02 11:36:57 -05001---
Zack Williamsa2763112017-01-03 11:38:38 -07002# cord-automation-playbook.yml
Andy Bavier12262e72016-12-02 11:36:57 -05003# Installs the automation scripts used by MaaS to provision nodes.
4
5- name: Include vars
6 hosts: all
7 tasks:
8 - name: Include variables
9 include_vars: "{{ item }}"
10 with_items:
Zack Williamsa2763112017-01-03 11:38:38 -070011 - "profile_manifests/{{ cord_profile }}.yml"
12 - profile_manifests/local_vars.yml
Andy Bavier12262e72016-12-02 11:36:57 -050013
14- name: Set up Automated Compute Node Provisioning
15 hosts: head
16 roles:
Zack Williamsfe284a12017-07-01 11:00:04 -070017 - { role: automation-integration, when: use_maas }
Andy Bavier12262e72016-12-02 11:36:57 -050018