blob: 3bf606b4ed4ff904c7ede8ba59546740f0068cb0 [file] [log] [blame]
Zack Williamsadaa70c2017-07-17 09:54:43 -07001---
2# mavenrepo-install/tasks/main.yml
3
4- name: Create mavenrepo directory
5 become: yes
6 file:
7 path: "{{ head_mavenrepo_dir }}"
8 state: directory
9 owner: "{{ ansible_user_id }}"
10 group: "{{ ansible_user_gid }}"
11 mode: 0755
12
13- name: Create docker-compose file for mavenrepo
14 template:
15 src: docker-compose.yml.j2
16 dest: "{{ head_mavenrepo_dir }}/docker-compose.yml"
17 owner: "{{ ansible_user_id }}"
18 group: "{{ ansible_user_gid }}"
19 mode: 0644
20
21- name: Start mavenrepo for onos-apps
22 docker_service:
23 project_name: "mavenrepo"
24 project_src: "{{ head_mavenrepo_dir }}"
25