alshabib | 853a403 | 2016-06-16 14:54:34 -0700 | [diff] [blame] | 1 | - name: Install compose for mavenrepo |
2 | become: yes | ||||
3 | template: | ||||
4 | src: templates/{{ item }}.j2 | ||||
5 | dest: /etc/maas/{{ item }} | ||||
6 | owner: maas | ||||
7 | group: maas | ||||
8 | mode: 0644 | ||||
9 | with_items: | ||||
10 | - mavenrepo.yml | ||||
11 | tags: [repo] | ||||
12 | |||||
13 | - name: Ensure mavenrepo Running | ||||
14 | become: yes | ||||
15 | command: docker-compose -f /etc/maas/{{ item }} up -d | ||||
16 | with_items: | ||||
17 | - mavenrepo.yml | ||||
18 | tags: [repo] |