Sha256: fd3e2cbf0eb5aeebec010feb8a59800f68e8052df8d31cb54d7c179d65d9133c

Contents?: true

Size: 747 Bytes

Versions: 2

Compression:

Stored size: 747 Bytes

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: Create Apache config
    template:
      src: "{{template_src_path}}"
      dest: /etc/apache2/sites-available/{{project_name}}.conf
    notify: apache restart
    become: true

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
subspace-0.3.0 ansible/roles/apache/tasks/main.yml
subspace-0.2.1 ansible/roles/apache/tasks/main.yml