Merge pull request #73 from TaiSHiNet/master

Choose mainline/stable from ppa at will
This commit is contained in:
Nitin Madhok 2015-02-11 01:43:42 +05:30
commit 698172f89a
2 changed files with 3 additions and 2 deletions

View File

@ -22,8 +22,8 @@ nginx_ppa_repo:
- absent
{%- endif %}
- humanname: nginx-ppa-{{ grains['oscodename'] }}
- name: deb http://ppa.launchpad.net/nginx/stable/ubuntu {{ grains['oscodename'] }} main
- file: /etc/apt/sources.list.d/nginx-stable-{{ grains['oscodename'] }}.list
- name: deb http://ppa.launchpad.net/nginx/{{ nginx.ppa_version }}/ubuntu {{ grains['oscodename'] }} main
- file: /etc/apt/sources.list.d/nginx-{{ nginx.ppa_version }}-{{ grains['oscodename'] }}.list
- dist: {{ grains['oscodename'] }}
- keyid: C300EE8C
- keyserver: keyserver.ubuntu.com

View File

@ -27,6 +27,7 @@
}, default='Debian' ),
'install_from_source': False,
'install_from_ppa': False,
'ppa_version': 'stable',
'package': {
'opts': {},
},