Sha256: eee9a2198c10ec727db66011489801284e9721f2641f4e6751c00949c4c36148

Contents?: true

Size: 1.15 KB

Versions: 26

Compression:

Stored size: 1.15 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

  - name: Apache is installed
    set_fact:
      apache_installed: true

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
subspace-3.0.12 ansible/roles/apache/tasks/main.yml
subspace-3.0.11 ansible/roles/apache/tasks/main.yml
subspace-3.0.10 ansible/roles/apache/tasks/main.yml
subspace-3.0.9 ansible/roles/apache/tasks/main.yml
subspace-3.0.6 ansible/roles/apache/tasks/main.yml
subspace-3.0.5 ansible/roles/apache/tasks/main.yml
subspace-3.0.4 ansible/roles/apache/tasks/main.yml
subspace-3.0.3 ansible/roles/apache/tasks/main.yml
subspace-3.0.2 ansible/roles/apache/tasks/main.yml
subspace-3.0.0 ansible/roles/apache/tasks/main.yml
subspace-2.5.10 ansible/roles/apache/tasks/main.yml
subspace-3.0.0.rc1 ansible/roles/apache/tasks/main.yml
subspace-2.5.9 ansible/roles/apache/tasks/main.yml
subspace-2.5.8 ansible/roles/apache/tasks/main.yml
subspace-2.5.7 ansible/roles/apache/tasks/main.yml
subspace-2.5.6 ansible/roles/apache/tasks/main.yml
subspace-2.5.5 ansible/roles/apache/tasks/main.yml
subspace-2.5.4 ansible/roles/apache/tasks/main.yml
subspace-2.5.3 ansible/roles/apache/tasks/main.yml
subspace-2.5.2 ansible/roles/apache/tasks/main.yml