blob: 9c503fa455f695b6cf7c75c0a0b62cba39c7ca55 [file] [log] [blame]
Zack Williamsa2763112017-01-03 11:38:38 -07001---
2# xos-bootstrap/tasks/main.yml
3
4- name: Create docker networks
5 docker_network:
6 name: "{{ item }}"
7 with_items: "{{ xos_docker_networks }}"
8
Andy Baviera6cffe12017-03-15 17:33:42 -04009# Customized version of xosproject/xos with local cert baked in
10# Used by the onboarding synchronizer, soon this will go away
11- name: Build xosproject/xos bootstrap image (temporary, for onboarding)
12 docker_image:
13 name: "xosproject/xos"
14 path: "{{ cord_profile_dir }}"
15 dockerfile: "Dockerfile.xos"
16 pull: False
17 force: True
18
Zack Williamsa2763112017-01-03 11:38:38 -070019- name: Start XOS bootstrap containers
20 docker_service:
21 project_name: "{{ cord_profile | regex_replace('\\W','') }}bs"
22 project_src: "{{ cord_profile_dir }}"
23 files: "xos-bootstrap-docker-compose.yaml"
24 register: xos_bootstrap_out