Loading .gitignore 0 → 100644 +4 −0 Original line number Original line Diff line number Diff line ~* *~ *.swp *.swo .pre-commit-config.yaml 0 → 100644 +8 −0 Original line number Original line Diff line number Diff line - repo: git://github.com/pre-commit/pre-commit-hooks sha: cf550fcab3f12015f8676b8278b30e1a5bc10e70 hooks: - id: check-added-large-files - id: check-json - id: check-xml - id: check-yaml - id: check-merge-conflict LICENSE.txt 0 → 100644 +21 −0 Original line number Original line Diff line number Diff line The MIT License (MIT) Copyright (c) [year] [fullname] Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. README.rst 0 → 100644 +58 −0 Original line number Original line Diff line number Diff line ansible-apache ############## An Ansible role to install and configure Apache2 on Debian Jessie or later. Requirements ------------ Debian Jessie. SSL certificate (the self-signed snakeoil cert is valid). Role Variables -------------- :: apache_ocsp_server: Dependencies ------------ `Common role <https://www.shore.co.il/cgit/ansible-common/>`_ Example Playbook ---------------- :: - hosts: servers roles: - role: apache apache_ocsp_server: https://ocsp.ca.com/ License ------- This software is licnesed under the MIT licese (see the ``LICENSE.txt`` file). Author Information ------------------ Nimrod Adar, `contact me <nimrod@shore.co.il>`_ or visit my `website <https://www.shore.co.il/>`_. Patches are welcome via `git send-email <http://git-scm.com/book/en/v2/Git-Commands-Email>`_. The repository is located at: https://www.shore.co.il/cgit/. TODO ---- - Server health. - OCSP. - Collectd metrics. - Log to syslog. - Limit requests (https://httpd.apache.org/docs/current/misc/security_tips.html#dos and https://httpd.apache.org/docs/current/server-wide.html#resource). - Disable .htaccess (https://httpd.apache.org/docs/current/misc/security_tips.html#systemsettings). - Assertions. - Wait for server to come online. defaults/main.yml 0 → 100644 +2 −0 Original line number Original line Diff line number Diff line --- # defaults file for ansible-apache Loading
.gitignore 0 → 100644 +4 −0 Original line number Original line Diff line number Diff line ~* *~ *.swp *.swo
.pre-commit-config.yaml 0 → 100644 +8 −0 Original line number Original line Diff line number Diff line - repo: git://github.com/pre-commit/pre-commit-hooks sha: cf550fcab3f12015f8676b8278b30e1a5bc10e70 hooks: - id: check-added-large-files - id: check-json - id: check-xml - id: check-yaml - id: check-merge-conflict
LICENSE.txt 0 → 100644 +21 −0 Original line number Original line Diff line number Diff line The MIT License (MIT) Copyright (c) [year] [fullname] Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
README.rst 0 → 100644 +58 −0 Original line number Original line Diff line number Diff line ansible-apache ############## An Ansible role to install and configure Apache2 on Debian Jessie or later. Requirements ------------ Debian Jessie. SSL certificate (the self-signed snakeoil cert is valid). Role Variables -------------- :: apache_ocsp_server: Dependencies ------------ `Common role <https://www.shore.co.il/cgit/ansible-common/>`_ Example Playbook ---------------- :: - hosts: servers roles: - role: apache apache_ocsp_server: https://ocsp.ca.com/ License ------- This software is licnesed under the MIT licese (see the ``LICENSE.txt`` file). Author Information ------------------ Nimrod Adar, `contact me <nimrod@shore.co.il>`_ or visit my `website <https://www.shore.co.il/>`_. Patches are welcome via `git send-email <http://git-scm.com/book/en/v2/Git-Commands-Email>`_. The repository is located at: https://www.shore.co.il/cgit/. TODO ---- - Server health. - OCSP. - Collectd metrics. - Log to syslog. - Limit requests (https://httpd.apache.org/docs/current/misc/security_tips.html#dos and https://httpd.apache.org/docs/current/server-wide.html#resource). - Disable .htaccess (https://httpd.apache.org/docs/current/misc/security_tips.html#systemsettings). - Assertions. - Wait for server to come online.
defaults/main.yml 0 → 100644 +2 −0 Original line number Original line Diff line number Diff line --- # defaults file for ansible-apache