diff options
author | Kenny Woodson <kwoodson@redhat.com> | 2015-05-04 16:42:28 -0400 |
---|---|---|
committer | Kenny Woodson <kwoodson@redhat.com> | 2015-05-04 16:42:28 -0400 |
commit | 685990fa582bbcbfbc1d93c7c4ba0db9cbba5a4a (patch) | |
tree | 30d9bdc17b1e837e812c4603b985206744cc4b43 /roles/ansible_tower/tasks/main.yaml | |
parent | 70a5edc15ace30d4df2965088d85bd78ee11f806 (diff) | |
parent | 0364e2cc29ce4f83a770d5bf33f74388c71185b1 (diff) | |
download | openshift-685990fa582bbcbfbc1d93c7c4ba0db9cbba5a4a.tar.gz openshift-685990fa582bbcbfbc1d93c7c4ba0db9cbba5a4a.tar.bz2 openshift-685990fa582bbcbfbc1d93c7c4ba0db9cbba5a4a.tar.xz openshift-685990fa582bbcbfbc1d93c7c4ba0db9cbba5a4a.zip |
Merge pull request #203 from kwoodson/tower_cli
Adding tower_cli.cfg to /etc/tower
Diffstat (limited to 'roles/ansible_tower/tasks/main.yaml')
-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([]) + + |