blob: 08484ac796e71f16c3e99e6e13fef522e4995355 [file] [log] [blame]
Matteo Scandolobea95272017-08-08 13:05:23 -07001
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
alshabib853a4032016-06-16 14:54:34 -070017- name: Install compose for mavenrepo
18 become: yes
19 template:
20 src: templates/{{ item }}.j2
21 dest: /etc/maas/{{ item }}
alshabib56e6ff92016-06-17 15:41:31 -070022 owner: root
23 group: root
alshabib853a4032016-06-16 14:54:34 -070024 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]