[CORD-1530]
Make config file directory creation using become an optional step
Cleanup various incongruities in defaults
Change-Id: I6fb77ab1ccdf08a18468adbc59474f94d603fc11
diff --git a/roles/cord-profile/tasks/main.yml b/roles/cord-profile/tasks/main.yml
index 5831a16..f6ed2bc 100644
--- a/roles/cord-profile/tasks/main.yml
+++ b/roles/cord-profile/tasks/main.yml
@@ -2,8 +2,9 @@
# cord-profile/tasks/main.yml
# Constructs a CORD service profile directory and configuration files
+# if this step fails, may need to include `create-configdirs-become` role to
+# create directory using become.
- name: Create cord_profile directory
- become: yes
file:
path: "{{ config_cord_profile_dir }}"
state: directory