Skip to main content

Httpd Role

This Ansible role can be used to install httpd.


Variables

VariablesTypeOptionsDefaults
httpd_service_name:string---httpd.service
httpd_service_state:stringreloaded, restarted, started, stoppedstarted
httpd_service_enabled:boolfalse, truetrue
httpd_package_state:stringpresent, absent, latestpresent
httpd_package:list---httpd, mod_ssl
httpd_firewalld_zone:stringblock, dmz, drop, internal, public, trusted...---
httpd_firewalld_service:string---http
httpd_firewalld_state:stringpresent, absent, enabled, disabled, skipenabled

Example Playbook

- name: Import httpd Role
hosts: all
roles:
- role: giftpilz0.server.httpd