Sha256: de6acccc1ee0fdb77e9f4b474d91473944ad8961c8795fd7b9635daa7dee9af7

Contents?: true

Size: 1.08 KB

Versions: 31

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
    become: 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
    become: true
    notify: apache restart

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
subspace-1.0.3 ansible/roles/apache/tasks/main.yml
subspace-1.0.2 ansible/roles/apache/tasks/main.yml
subspace-1.0.1 ansible/roles/apache/tasks/main.yml
subspace-1.0.0 ansible/roles/apache/tasks/main.yml
subspace-0.6.17 ansible/roles/apache/tasks/main.yml
subspace-0.6.16 ansible/roles/apache/tasks/main.yml
subspace-0.6.15 ansible/roles/apache/tasks/main.yml
subspace-0.5.15 ansible/roles/apache/tasks/main.yml
subspace-0.5.14 ansible/roles/apache/tasks/main.yml
subspace-0.4.14 ansible/roles/apache/tasks/main.yml
subspace-0.4.13 ansible/roles/apache/tasks/main.yml