commit | 07929888ecba0ee0032ca0872158f8f9a17b870e | [log] [tgz] |
---|---|---|
author | Andy Bavier <andy@onlab.us> | Sun Mar 26 13:21:30 2017 -0400 |
committer | Andy Bavier <andy@onlab.us> | Sun Mar 26 13:16:01 2017 -0700 |
tree | 2dc89f62ce01afe3a263fc8f091345ff4ca50b7a | |
parent | 432b80b4ba7a74986b158953b0062851b2808337 [diff] |
When tearing down XOS, preserve cord_profile dir by default Change-Id: Ie53191485bcbaccc9bb2b5480a0aaa62ef250f39
diff --git a/roles/teardown-profile/defaults/main.yml b/roles/teardown-profile/defaults/main.yml index 42ace11..b050484 100644 --- a/roles/teardown-profile/defaults/main.yml +++ b/roles/teardown-profile/defaults/main.yml
@@ -8,3 +8,4 @@ xos_docker_networks: - "xos" +delete_cord_profile_dir: False \ No newline at end of file
diff --git a/roles/teardown-profile/tasks/main.yml b/roles/teardown-profile/tasks/main.yml index 3c9bbea..362a625 100644 --- a/roles/teardown-profile/tasks/main.yml +++ b/roles/teardown-profile/tasks/main.yml
@@ -34,4 +34,4 @@ path: "{{ cord_profile_dir }}" state: absent ignore_errors: yes - + when: delete_cord_profile_dir