2016-01-12 00:20:42 +07:00
|
|
|
---
|
|
|
|
|
2016-03-07 17:59:26 +07:00
|
|
|
- name: APT | Update cache
|
2016-02-10 00:36:48 +07:00
|
|
|
apt: >
|
|
|
|
update_cache=yes
|
|
|
|
cache_valid_time=3600
|
|
|
|
|
2016-08-11 15:25:45 +07:00
|
|
|
- name: APT | Force OpenSSL from backports (fix dependency break)
|
|
|
|
apt: >
|
|
|
|
pkg=openssl
|
2016-08-11 15:36:50 +07:00
|
|
|
state=latest
|
2016-08-11 15:25:45 +07:00
|
|
|
default_release={{ ansible_distribution_release + '-backports' }}
|
|
|
|
when: nginx_backports
|
|
|
|
|
2016-01-12 00:20:42 +07:00
|
|
|
- name: APT | Install nginx and dependencies
|
|
|
|
apt: >
|
|
|
|
pkg={{ nginx_apt_package }}
|
|
|
|
state=present
|
|
|
|
default_release={{ ansible_distribution_release + '-backports' if nginx_backports else ansible_distribution_release }}
|
|
|
|
|
|
|
|
- name: APT | Install python-passlib
|
|
|
|
apt: pkg=python-passlib state=present
|
|
|
|
|