diff options
author | Kenny Woodson <kwoodson@redhat.com> | 2015-05-04 12:50:41 -0400 |
---|---|---|
committer | Kenny Woodson <kwoodson@redhat.com> | 2015-05-04 16:40:03 -0400 |
commit | 0364e2cc29ce4f83a770d5bf33f74388c71185b1 (patch) | |
tree | 4dfe63a65b93e7b8247ec9a6b3b0783ae845316d /roles/ansible_tower | |
parent | 39a44ef1b7e64f73a65249bd930fcc6534788053 (diff) | |
download | openshift-0364e2cc29ce4f83a770d5bf33f74388c71185b1.tar.gz openshift-0364e2cc29ce4f83a770d5bf33f74388c71185b1.tar.bz2 openshift-0364e2cc29ce4f83a770d5bf33f74388c71185b1.tar.xz openshift-0364e2cc29ce4f83a770d5bf33f74388c71185b1.zip |
Adding towercli config to /etc/tower
Diffstat (limited to 'roles/ansible_tower')
-rw-r--r-- | roles/ansible_tower/tasks/main.yaml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/ansible_tower/tasks/main.yaml b/roles/ansible_tower/tasks/main.yaml index a85ce7dcc..d27c48e6a 100644 --- a/roles/ansible_tower/tasks/main.yaml +++ b/roles/ansible_tower/tasks/main.yaml @@ -30,3 +30,13 @@ - 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([]) + + |