Skip to content

cmihai-ansible/apache

Repository files navigation

Role Name

apache

Build Status

Ansible galaxy:

https://galaxy.ansible.com/crivetimihai/apache

ansible-galaxy install crivetimihai.apache

Requirements

  • For RHEL, a Red Hat subscription or functional local repository.

Role Variables

apache_enable_service: true
apache_copy_templates: true
apache_firewall_configure: true
apache_firewall_rules:
  - service: http
  - service: https

Dependencies

  • For Red Hat, subscription-manager.

Example Playbook

---
- name: Install apache on localhost
  hosts:
    - localhost
  connection: local

  tasks:
    - name: apache is configured
      import_role:
        name: crivetimihai.apache
      vars:
        apache_enable_service: true
        apache_copy_templates: true
        apache_firewall_configure: true
        apache_firewall_rules:
          - service: http
          - service: https
      tags: apache

License

MIT

Author Information

About

Ansible apache role

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages