Skip to content

aotdevops/ansible-role-apache-proxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible-Role-Apache-Proxy

This is a simple role which installs Apache as Proxy Server

Requirements

None

Role Variables

- apache_server_name: "server.example.com"
- apache_default_admin_email: "admin@example.com"
- apache_copy_ssl_files: true
- apache_ssl_certificate_file: 'files/vm.crt'
- apache_ssl_certificate_key_file: 'files/vm.key'
# If apache_copy_ssl_files is false you need to provide the following variables:
# - apache_ssl_cert_file_location
# - apache_ssl_cert_key_location
- apache_ssl_cert_file_location: "/etc/pki/tls/certs/vm.crt"
- apache_ssl_cert_key_location: "/etc/pki/tls/private/vm.key"
- apache_proxy_host: "localhost"
- apache_proxy_port: 8080
- default_context_path: "/"

Dependencies

None

Example Playbook

  vars:
    apache_server_name: "server.exmaple.com"
    apache_default_admin_email: "admin@exmaple.com"
    apache_copy_ssl_files: false
    apache_ssl_cert_file_location: "/etc/letsencrypt/live/{{ apache_server_name }}/fullchain.pem"
    apache_ssl_cert_key_location: "/etc/letsencrypt/live/{{ apache_server_name }}/privkey.pem"
    apache_proxy_host: "localhost"
    apache_proxy_port: 8080
    default_context_path: "/"

  roles:     - ansible-role-apache-proxy

License

MIT

Author Information

Islam Kambarov

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages