Sha256: 24d575def772a843b2e99b9a0969a080ce32562c171ef97c7d3fbced45288e74

Contents?: true

Size: 692 Bytes

Versions: 3

Compression:

Stored size: 692 Bytes

Contents

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

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

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

  - name: Create Apache config
    template:
      src: "{{template_src_path}}"
      dest: /etc/apache2/sites-available/{{project_name}}.conf
    sudo: true
    notify: apache restart

  - name: Symlink {{project_name}}.conf to sites-enabled
    file:
      src: /etc/apache2/sites-available/{{project_name}}.conf
      dest: /etc/apache2/sites-enabled/{{project_name}}.conf
      state: link
    sudo: true
    notify: apache restart

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
subspace-0.1.3 ansible/roles/apache/tasks/main.yml
subspace-0.1.2 ansible/roles/apache/tasks/main.yml
subspace-0.1.1 ansible/roles/apache/tasks/main.yml