{"id":22845531,"url":"https://github.com/idealista/apache_httpd_role","last_synced_at":"2025-04-28T16:44:20.537Z","repository":{"id":44617762,"uuid":"109252403","full_name":"idealista/apache_httpd_role","owner":"idealista","description":"Ansible role to install an Apache HTTP server","archived":false,"fork":false,"pushed_at":"2022-02-04T11:34:50.000Z","size":260,"stargazers_count":4,"open_issues_count":6,"forks_count":4,"subscribers_count":25,"default_branch":"develop","last_synced_at":"2025-03-30T11:24:39.648Z","etag":null,"topics":["ansible","ansible-role","apache-httpd","debian"],"latest_commit_sha":null,"homepage":"","language":"Jinja","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/idealista.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-02T10:50:33.000Z","updated_at":"2023-11-13T10:56:40.000Z","dependencies_parsed_at":"2022-09-01T04:51:21.035Z","dependency_job_id":null,"html_url":"https://github.com/idealista/apache_httpd_role","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fapache_httpd_role","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fapache_httpd_role/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fapache_httpd_role/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fapache_httpd_role/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/idealista","download_url":"https://codeload.github.com/idealista/apache_httpd_role/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251347895,"owners_count":21575176,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","ansible-role","apache-httpd","debian"],"created_at":"2024-12-13T03:17:32.972Z","updated_at":"2025-04-28T16:44:20.522Z","avatar_url":"https://github.com/idealista.png","language":"Jinja","readme":"![Logo](https://raw.githubusercontent.com/idealista/apache_httpd_role/master/logo.gif)\n\n[![Build Status](https://travis-ci.com/idealista/apache_httpd_role.png)](https://travis-ci.com/idealista/apache_httpd_role)\n\n# Apache HTTP Server Ansible role\n\nThis Ansible role installs an Apache HTTP server in a Debian environment. The server is installed using the sources and loading just the predefined modules.\n\n- [Getting Started](#getting-started)\n\t- [Prerequisities](#prerequisities)\n\t- [Installing](#installing)\n- [Usage](#usage)\n- [Testing](#testing)\n- [Built With](#built-with)\n- [Versioning](#versioning)\n- [Authors](#authors)\n- [License](#license)\n- [Contributing](#contributing)\n\n## Getting Started\n\nThese instructions will get you a copy of the role for your Ansible playbook. Once launched, it will install a [Apache HTTP Server](https://httpd.apache.org/) in a Debian system.\n\nIt used to have the option to install logrotate but It has been deprecated. To install logrotate you should use our [logrotate role](https://github.com/idealista/logrotate_role).\n\n### Prerequisities\n\nAnsible 5.2.0 version installed.\nInventory destination should be a Debian environment, Stretch, Buster and Bullseye are supported.\n\n### Installing\n\nCreate or add to your roles dependency file (e.g requirements.yml):\n\n``` yml\n- src: idealista.apache_httpd_role\n  version: 3.2.0\n  name: apache_httpd\n```\n\nInstall the role with ansible-galaxy command:\n\n```\nansible-galaxy install -p roles -r requirements.yml -f\n```\n\nUse in a playbook:\n\n``` yml\n---\n- hosts: someserver\n  roles:\n    - role: apache_httpd\n```\n\n## Usage\n\nLook to the [defaults](defaults/main.yml) properties file to see the possible configuration properties.\n\nBear in mind that the role deploys the default Apache httdp config file. If you want to use yours (something that we strongly recommend), place it under the directory referred by the variable `apache_extra_conf_template_path`. If you need any inspiration, a good template to start with could be the one in `tests/templates/apache/conf/httpd.conf.j2`.\n\n## Testing\n\n### Install dependencies\n\n```sh\n$ pipenv sync\n```\n\nFor more information read the [pipenv docs](pipenv-fork.readthedocs.io/en/latest/).\n\n### Testing\n\n```sh\n$ pipenv run molecule test \n```\n\n## Built With\n\n![Ansible](https://img.shields.io/badge/ansible-5.2.0-green.svg)\n![Molecule](https://img.shields.io/badge/molecule-3.5.2-green.svg)\n![Goss](https://img.shields.io/badge/goss-0.3.16-green.svg)\n\n## Versioning\n\nFor the versions available, see the [tags on this repository](https://github.com/idealista/apache_httpd_role/tags).\n\nAdditionaly you can see what change in each version in the [CHANGELOG.md](CHANGELOG.md) file.\n\n## Authors\n\n* **Idealista** - *Work with* - [idealista](https://github.com/idealista)\n\nSee also the list of [contributors](https://github.com/idealista/apache_httpd_role/contributors) who participated in this project.\n\n## License\n\n![Apache 2.0 Licence](https://img.shields.io/hexpm/l/plug.svg)\n\nThis project is licensed under the [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0) license - see the [LICENSE](LICENSE) file for details.\n\n## Contributing\n\nPlease read [CONTRIBUTING.md](.github/CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidealista%2Fapache_httpd_role","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fidealista%2Fapache_httpd_role","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidealista%2Fapache_httpd_role/lists"}