From 52594518ceff4fb54d589dcab2c1d753af77cc89 Mon Sep 17 00:00:00 2001 From: Kenny Woodson Date: Tue, 5 May 2015 14:11:27 -0400 Subject: symlink added for ansible-tower-cli. Also fix to spacing issue for proot options --- roles/ansible_tower/tasks/main.yaml | 4 ++-- roles/ansible_tower_cli/tasks/main.yml | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'roles') 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 + -- cgit v1.2.3