Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 1 | --- |
| 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 Bavier | a6cffe1 | 2017-03-15 17:33:42 -0400 | [diff] [blame] | 9 | # 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 Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 19 | - 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 |