forked from ISTI-ansible-roles/ansible-roles
library/roles/nginx/tasks/nginx.yml: The PPA is ubuntu specific.
This commit is contained in:
parent
88e26ff0f4
commit
c5bdb422ea
|
@ -1,7 +1,9 @@
|
|||
---
|
||||
- name: Install the Ubuntu PPA for nginx
|
||||
apt_repository: repo='{{ nginx_ppa_repo }}'
|
||||
when: nginx_use_ppa
|
||||
when:
|
||||
- nginx_use_ppa
|
||||
- '{{ ansible_distribution }}' == 'Ubuntu'
|
||||
tags: [ 'nginx', 'nginx_ppa' ]
|
||||
|
||||
- name: Install the nginx web server
|
||||
|
|
Loading…
Reference in New Issue