Sha256: 55e2aee8840367d9f4beda5bfe01771d96c3ddbd132bc21924efcecee168cdc2

Contents?: true

Size: 942 Bytes

Versions: 2

Compression:

Stored size: 942 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 and apache_ssl_config is defined | 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 and apache_ssl_config is defined | ternary('link', 'absent')}}"
    become: true

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
subspace-0.4.3 ansible/roles/apache-rails/tasks/main.yml
subspace-0.4.2 ansible/roles/apache-rails/tasks/main.yml