Sha256: 4fa15f229af98221cf047389a689e0c8db257d5cf89571a57cf384d0862f0ce3

Contents?: true

Size: 680 Bytes

Versions: 15

Compression:

Stored size: 680 Bytes

Contents

- name: Install nginx
  apt: pkg=nginx state=latest
  become: true

- name: Remove the default app
  file:
    path: /etc/nginx/sites-enabled/default
    state: absent
  become: true

- name: "Configure rails projects"
  import_role:
    name: nginx-rails

- name: create nginx status config
  template:
    src: status
    dest: /etc/nginx/sites-available/status
  become: true

- name: enable nginx status
  file:
    src: /etc/nginx/sites-available/status
    dest: /etc/nginx/sites-enabled/status
    state: link
  become: true

- name: Restart nginx
  action: service name=nginx state=restarted
  become: true

- name: Nginx is installed
  set_fact:
    nginx_installed: true

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
subspace-2.5.10 ansible/roles/nginx/tasks/main.yml
subspace-2.5.9 ansible/roles/nginx/tasks/main.yml
subspace-2.5.8 ansible/roles/nginx/tasks/main.yml
subspace-2.5.7 ansible/roles/nginx/tasks/main.yml
subspace-2.5.6 ansible/roles/nginx/tasks/main.yml
subspace-2.5.5 ansible/roles/nginx/tasks/main.yml
subspace-2.5.4 ansible/roles/nginx/tasks/main.yml
subspace-2.5.3 ansible/roles/nginx/tasks/main.yml
subspace-2.5.2 ansible/roles/nginx/tasks/main.yml
subspace-2.5.1 ansible/roles/nginx/tasks/main.yml
subspace-2.5 ansible/roles/nginx/tasks/main.yml
subspace-2.4.2 ansible/roles/nginx/tasks/main.yml
subspace-2.4.1 ansible/roles/nginx/tasks/main.yml
subspace-2.4.0 ansible/roles/nginx/tasks/main.yml
subspace-2.3.3 ansible/roles/nginx/tasks/main.yml