mirror of
https://github.com/geerlingguy/ansible-role-nginx.git
synced 2024-11-09 09:40:09 +01:00
10 lines
207 B
YAML
10 lines
207 B
YAML
---
|
|
- name: Update apt cache.
|
|
apt: update_cache=yes cache_valid_time=86400
|
|
|
|
- name: Ensure nginx is installed.
|
|
apt:
|
|
pkg: nginx
|
|
state: installed
|
|
default_release: "{{ nginx_default_release }}"
|