10 lines
251 B
YAML
10 lines
251 B
YAML
---
|
|
- 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: installed
|
|
default_release: "{{ nginx_default_release }}"
|