solar/bootstrap/playbooks/build-main.yaml
Bogdan Dobrelya 542a359af2 Add vbox/qemu packer build for centos7
Rename the cloud_archive task to uca/rdo tasks for ubuntu/centos
Rename the worker_upstrart task to the worker
Rework the OSTYPE env var to "when: ansible_os_family"

TODO
* PXE (PREPROVISIONED=false) to be working for centos as well
* pygraphviz for centos7, see also https://bugs.launchpad.net/fuel/+bug/1510884
* fix ubuntu only compatible examples, for example riak cluster deploy

Closes-bug: 1553988

Change-Id: Iab130c3c79b3db99deb14ea50572c073532f4694
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2016-03-16 11:41:15 +01:00

26 lines
444 B
YAML

---
- name: Main build script
hosts: all
become: yes
vars:
ssh_ip_mask: "10.*.*.*"
tasks:
- include: centos/tasks/{{ item }}.yaml
when: ansible_os_family == "RedHat"
with_items:
- rho
- base
- puppet
- docker
- ssh_conf
- include: ubuntu/tasks/{{ item }}.yaml
when: ansible_os_family == "Debian"
with_items:
- base
- puppet
- docker
- uca
- ssh_conf