diff options
author | Wesley Hearn <wesley.s.hearn@gmail.com> | 2015-05-06 10:27:44 -0400 |
---|---|---|
committer | Wesley Hearn <wesley.s.hearn@gmail.com> | 2015-05-06 10:27:44 -0400 |
commit | 803b9191f1a3a2bffe94528a8a5cd82adf6f3a42 (patch) | |
tree | 8f3370fd2d9537a568d97e48ece9e18f3d0032bb /roles/ansible_tower | |
parent | 519e097df31e2148ac520ab273d0bd2fb2f7bb43 (diff) | |
parent | e0b2d98a6cac21cfa555afe4d660cb62c1180856 (diff) | |
download | openshift-803b9191f1a3a2bffe94528a8a5cd82adf6f3a42.tar.gz openshift-803b9191f1a3a2bffe94528a8a5cd82adf6f3a42.tar.bz2 openshift-803b9191f1a3a2bffe94528a8a5cd82adf6f3a42.tar.xz openshift-803b9191f1a3a2bffe94528a8a5cd82adf6f3a42.zip |
Merge pull request #209 from openshift/master
Merge Master Into Stage
Diffstat (limited to 'roles/ansible_tower')
-rw-r--r-- | roles/ansible_tower/tasks/main.yaml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/roles/ansible_tower/tasks/main.yaml b/roles/ansible_tower/tasks/main.yaml index 1d75a95e6..c110a3b70 100644 --- a/roles/ansible_tower/tasks/main.yaml +++ b/roles/ansible_tower/tasks/main.yaml @@ -9,7 +9,6 @@ - ansible - telnet - ack - - python-ansible-tower-cli - name: download Tower setup get_url: url=http://releases.ansible.com/ansible-tower/setup/ansible-tower-setup-2.1.1.tar.gz dest=/opt/ force=no @@ -32,3 +31,12 @@ - name: Set (httpd_can_network_connect_db) flag on and keep it persistent across reboots seboolean: name=httpd_can_network_connect_db state=yes persistent=yes +- name: Setup proot to allow access to /etc/tower/ + lineinfile: + dest: /etc/tower/settings.py + backrefs: yes + regexp: "^({{ item.option }})( *)=" + line: '\1\2= {{ item.value }}' + with_items: config_changes | default([], true) + + |