Sha256: 1288bef4d7f68f6d83b8bdae89fee0f1a7c39f4204db749136a4800e9311d1ee

Contents?: true

Size: 1.08 KB

Versions: 6

Compression:

Stored size: 1.08 KB

Contents

---
  - name: Install apache2
    apt:
      pkg: apache2
      state: present
    become: true

  - name: a2enmod headers
    apache2_module:
      name: headers
      state: present
    become: true

  - name: a2enmod expires
    apache2_module:
      name: expires
      state: present
    become: true

  - name: a2enmod rewrite
    when: ssl_enabled
    apache2_module:
      name: rewrite
      state: present
    become: true

  - name: Enable mod_ssl
    when: ssl_enabled
    apache2_module:
      name: ssl
      state: present
    become: true

  - name: "Configure rails_projects"
    include_role:
      name: apache-rails

  - debug: msg="trigger apache restart"
    notify: apache restart
    changed_when: true

  - name: create server-status conf
    template:
      src: server_status.conf
      dest: /etc/apache2/conf-available/server_status.conf
    sudo: true

  - name: enable server-status conf
    file:
      src: /etc/apache2/conf-available/server_status.conf
      dest: /etc/apache2/conf-enabled/server_status.conf
      state: link
    sudo: true
    notify: apache restart

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
subspace-0.4.11 ansible/roles/apache/tasks/main.yml
subspace-0.4.10 ansible/roles/apache/tasks/main.yml
subspace-0.4.9 ansible/roles/apache/tasks/main.yml
subspace-0.4.8 ansible/roles/apache/tasks/main.yml
subspace-0.4.7 ansible/roles/apache/tasks/main.yml
subspace-0.4.6 ansible/roles/apache/tasks/main.yml