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-2.3.2 ansible/roles/apache/tasks/main.yml
subspace-2.3.1 ansible/roles/apache/tasks/main.yml
subspace-2.3.0 ansible/roles/apache/tasks/main.yml
subspace-2.2.3 ansible/roles/apache/tasks/main.yml
subspace-2.2.2 ansible/roles/apache/tasks/main.yml
subspace-2.2.1 ansible/roles/apache/tasks/main.yml
subspace-2.2.0 ansible/roles/apache/tasks/main.yml
subspace-2.1.2 ansible/roles/apache/tasks/main.yml
subspace-2.1.1 ansible/roles/apache/tasks/main.yml
subspace-2.1.0 ansible/roles/apache/tasks/main.yml
subspace-2.0.4 ansible/roles/apache/tasks/main.yml
subspace-2.0.3 ansible/roles/apache/tasks/main.yml
subspace-2.0.2 ansible/roles/apache/tasks/main.yml
subspace-2.0.1 ansible/roles/apache/tasks/main.yml
subspace-2.0.0 ansible/roles/apache/tasks/main.yml
subspace-1.0.8 ansible/roles/apache/tasks/main.yml
subspace-1.0.7 ansible/roles/apache/tasks/main.yml
subspace-1.0.6 ansible/roles/apache/tasks/main.yml
subspace-1.0.5 ansible/roles/apache/tasks/main.yml
subspace-1.0.4 ansible/roles/apache/tasks/main.yml