Matteo Scandolo | bea9527 | 2017-08-08 13:05:23 -0700 | [diff] [blame] | 1 | |
| 2 | # Copyright 2017-present Open Networking Foundation |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | |
| 16 | |
alshabib | 853a403 | 2016-06-16 14:54:34 -0700 | [diff] [blame] | 17 | - name: Install compose for mavenrepo |
| 18 | become: yes |
| 19 | template: |
| 20 | src: templates/{{ item }}.j2 |
| 21 | dest: /etc/maas/{{ item }} |
alshabib | 56e6ff9 | 2016-06-17 15:41:31 -0700 | [diff] [blame] | 22 | owner: root |
| 23 | group: root |
alshabib | 853a403 | 2016-06-16 14:54:34 -0700 | [diff] [blame] | 24 | mode: 0644 |
| 25 | with_items: |
| 26 | - mavenrepo.yml |
| 27 | tags: [repo] |
| 28 | |
| 29 | - name: Ensure mavenrepo Running |
| 30 | become: yes |
| 31 | command: docker-compose -f /etc/maas/{{ item }} up -d |
| 32 | with_items: |
| 33 | - mavenrepo.yml |
| 34 | tags: [repo] |