replace command with make
Change-Id: I3c20844fbdb02f22ae6b902351261da26f29b7ee
diff --git a/roles/xos-head-start/tasks/main.yml b/roles/xos-head-start/tasks/main.yml
index 7f6807e..11720c7 100644
--- a/roles/xos-head-start/tasks/main.yml
+++ b/roles/xos-head-start/tasks/main.yml
@@ -2,27 +2,27 @@
# xos-start/tasks/main.yml
- name: Build XOS containers
- command: chdir="{{ service_profile_repo_dest }}/{{ xos_configuration }}" bash -c "make local_containers |& tee xos-build.out"
- tags:
- - skip_ansible_lint
+ make:
+ chdir: "{{ service_profile_repo_dest }}/{{ xos_configuration }}"
+ target: local_containers
- name: Onboard services and start XOS
- command: chdir="{{ service_profile_repo_dest }}/{{ xos_configuration }}" bash -c "make xos |& tee xos-onboard.out"
- tags:
- - skip_ansible_lint
+ make:
+ chdir: "{{ service_profile_repo_dest }}/{{ xos_configuration }}"
+ target: xos
- name: Pause to let XOS initialize
pause: seconds=120
- name: Initial VTN configuration
- command: chdir="{{ service_profile_repo_dest }}/{{ xos_configuration }}" bash -c "make vtn |& tee xos-makevtn.out"
- tags:
- - skip_ansible_lint
+ make:
+ chdir: "{{ service_profile_repo_dest }}/{{ xos_configuration }}"
+ target: vtn
- name: Initial fabric configuration
- command: chdir="{{ service_profile_repo_dest }}/{{ xos_configuration }}" bash -c "make fabric |& tee xos-makefabric.out"
- tags:
- - skip_ansible_lint
+ make:
+ chdir: "{{ service_profile_repo_dest }}/{{ xos_configuration }}"
+ target: fabric
- name: Pause to let ONOS initialize
pause: seconds=20
@@ -30,7 +30,6 @@
- skip_ansible_lint
- name: Configure CORD services
- command: chdir="{{ service_profile_repo_dest }}/{{ xos_configuration }}" bash -c "make cord |& tee xos-makecord.out"
- tags:
- - skip_ansible_lint
-
+ make:
+ chdir: "{{ service_profile_repo_dest }}/{{ xos_configuration }}"
+ target: cord