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 }} |
alshabib | 56e6ff9 | 2016-06-17 15:41:31 -0700 | [diff] [blame] | 6 | owner: root |
| 7 | group: root |
alshabib | 853a403 | 2016-06-16 14:54:34 -0700 | [diff] [blame] | 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] |