blob: c29c2fc4914d9836be2c59400d4eeada0d579203 [file] [log] [blame]
Scott Bakerd5a396e2016-11-23 17:03:03 -08001---
2# xos-head-start/tasks/main.yml
3
4- name: Check to see if service-profile exists
5 stat: path="{{ service_profile_repo_dest }}"
6 register: service_profile_dir
7
8- name: Run make cleanup
9 make:
10 chdir: "{{ service_profile_repo_dest }}/{{ xos_configuration }}"
11 target: "cleanup"
12 when: service_profile_dir.stat.exists == True
13
14- name: Remove service-profile directory
15 file: path="{{ service_profile_repo_dest }}" state=absent
16
17- name: Remove xos directory
18 file: path="{{ xos_repo_dest }}" state=absent
19
20- name: Remove xos services
21 file: path="{{ xos_services_dest }}" state=absent
22
23- name: Remove xos libraries
24 file: path="{{ xos_libraries_dest }}" state=absent
25