Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,21 @@

- name: run Nginx selinux tasks
include_role:
name: ansible-role-nginx
name: jdauphant.nginx
tasks_from: selinux.yml
allow_duplicates: yes
when: ansible_selinux and ansible_selinux.status == "enabled"

- name: run Nginx nginx offical repo tasks
include_role:
name: ansible-role-nginx
name: jdauphant.nginx
tasks_from: nginx-official-repo.yml
allow_duplicates: yes
when: nginx_official_repo == True

- name: run Nginx install packages tasks
include_role:
name: ansible-role-nginx
name: jdauphant.nginx
tasks_from: installation.packages.yml
allow_duplicates: yes
# when: nginx_installation_type == "packages"
Expand All @@ -67,7 +67,7 @@

- name: Configure Nginx now that the Modsec module is built
import_role:
name: ansible-role-nginx
name: jdauphant.nginx

- name: Check which packages were installed for Debian/Ubuntu
shell: dpkg-query -l > /tmp/after.txt
Expand Down