infra/roles/nginx-role/tasks/setup-Debian.yml

11 lines
249 B
YAML
Raw Normal View History

2019-06-29 00:27:16 +03:00
---
- name: Update apt cache.
apt: update_cache=yes cache_valid_time=86400
changed_when: false
- name: Ensure nginx is installed.
apt:
name: "{{ nginx_package_name }}"
state: present
default_release: "{{ nginx_default_release }}"