diff options
| author | Ralph Bean <rbean@redhat.com> | 2014-12-08 15:40:15 +0000 |
|---|---|---|
| committer | Ralph Bean <rbean@redhat.com> | 2014-12-08 15:40:15 +0000 |
| commit | 30dfd807ba8327d19146f4162f79bb0caf89b4a4 (patch) | |
| tree | 0df68ee52328a26c9bcdfc5e42f705f9fdc398b2 /roles/httpd/reverseproxy/tasks | |
| parent | bf91f58612badd9e2707d76cdf7fe97eba5dc3c5 (diff) | |
| download | ansible-30dfd807ba8327d19146f4162f79bb0caf89b4a4.tar.gz ansible-30dfd807ba8327d19146f4162f79bb0caf89b4a4.tar.xz ansible-30dfd807ba8327d19146f4162f79bb0caf89b4a4.zip | |
First try at a reversepassproxy role.
Diffstat (limited to 'roles/httpd/reverseproxy/tasks')
| -rw-r--r-- | roles/httpd/reverseproxy/tasks/main.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/roles/httpd/reverseproxy/tasks/main.yml b/roles/httpd/reverseproxy/tasks/main.yml new file mode 100644 index 000000000..75e134ff4 --- /dev/null +++ b/roles/httpd/reverseproxy/tasks/main.yml @@ -0,0 +1,19 @@ +# Expected vars +# - website... +# - localpath.. +# - remotepath.. +# - proxyurl +# - rewrite + +- name: Copy in ProxyPassReverse for {{website}}/{{remotepath}} + template: > + src=reversepassproxy.conf + dest=/etc/httpd/conf.d/{{website}}/{{destname}}.conf + owner=root + group=root + mode=0644 + notify: + - restart httpd + tags: + - httpd + - httpd/reversepassproxy |
