Sha256: a1612161ec6e28fef9646f6d97d84bb4d6feac22971c71ca74bea33ce8306f22

Contents?: true

Size: 876 Bytes

Versions: 2

Compression:

Stored size: 876 Bytes

Contents

---
  - name: Create Apache config
    template:
      src: "{{apache_project_conf}}"
      dest: /etc/apache2/sites-available/{{project_name}}.conf
    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: "{{ ssl_enabled | ternary('absent', 'link')}}"
    become: true

  - name: Create Apache SSL config
    template:
      src: project-ssl.conf
      dest: /etc/apache2/sites-available/{{project_name}}-ssl.conf
    become: true

  - name: Symlink {{project_name}}-ssl.conf to sites-enabled
    file:
      src: /etc/apache2/sites-available/{{project_name}}-ssl.conf
      dest: /etc/apache2/sites-enabled/{{project_name}}-ssl.conf
      state: "{{ ssl_enabled | ternary('link', 'absent')}}"
    become: true

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
subspace-0.4.1 ansible/roles/apache-rails/tasks/main.yml
subspace-0.4.0 ansible/roles/apache-rails/tasks/main.yml