Sha256: 7a113e44189cf06bc8399a6124d8f05a663bdfec4ade194e22fd72114f38f039

Contents?: true

Size: 946 Bytes

Versions: 66

Compression:

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

66 entries across 66 versions & 1 rubygems

Version Path
subspace-0.4.9 ansible/roles/apache-rails/tasks/main.yml
subspace-0.4.8 ansible/roles/apache-rails/tasks/main.yml
subspace-0.4.7 ansible/roles/apache-rails/tasks/main.yml
subspace-0.4.6 ansible/roles/apache-rails/tasks/main.yml
subspace-0.4.5 ansible/roles/apache-rails/tasks/main.yml
subspace-0.4.4 ansible/roles/apache-rails/tasks/main.yml