summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2015-05-05 14:11:27 -0400
committerKenny Woodson <kwoodson@redhat.com>2015-05-05 14:11:27 -0400
commit52594518ceff4fb54d589dcab2c1d753af77cc89 (patch)
treeb2c8e5b8502501b6abc05270735db44363b75140
parentf5bbebc9d663c0c81215e2b768748d5852390288 (diff)
downloadopenshift-52594518ceff4fb54d589dcab2c1d753af77cc89.tar.gz
openshift-52594518ceff4fb54d589dcab2c1d753af77cc89.tar.bz2
openshift-52594518ceff4fb54d589dcab2c1d753af77cc89.tar.xz
openshift-52594518ceff4fb54d589dcab2c1d753af77cc89.zip
symlink added for ansible-tower-cli. Also fix to spacing issue for proot options
-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
+