summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roles/ansible_tower/tasks/main.yaml4
-rw-r--r--roles/ansible_tower_cli/tasks/main.yml7
2 files changed, 9 insertions, 2 deletions
diff --git a/roles/ansible_tower/tasks/main.yaml b/roles/ansible_tower/tasks/main.yaml
index d27c48e6a..c110a3b70 100644
--- a/roles/ansible_tower/tasks/main.yaml
+++ b/roles/ansible_tower/tasks/main.yaml
@@ -36,7 +36,7 @@
dest: /etc/tower/settings.py
backrefs: yes
regexp: "^({{ item.option }})( *)="
- line: '\1\2 = {{ item.value }}'
- with_items: config_changes | default([])
+ line: '\1\2= {{ item.value }}'
+ with_items: config_changes | default([], true)
diff --git a/roles/ansible_tower_cli/tasks/main.yml b/roles/ansible_tower_cli/tasks/main.yml
index 65aa6bdf4..41fac22a0 100644
--- a/roles/ansible_tower_cli/tasks/main.yml
+++ b/roles/ansible_tower_cli/tasks/main.yml
@@ -9,3 +9,10 @@
group: awx
mode: 0640
+- file:
+ state: link
+ src: /etc/tower
+ dest: /etc/awx
+ owner: awx
+ group: awx
+