blob: 9715868cf53ca36e8309fde2285bbe346723c7a2 [file] [log] [blame]
Zack Williamsb313bae2020-04-22 22:00:53 -07001---
2# nginx tasks/Debian.yml
3#
4# SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
5# SPDX-License-Identifier: Apache-2.0
6
Zack Williamsb313bae2020-04-22 22:00:53 -07007- name: Install NGINX packages (Debian)
8 apt:
9 name: "{{ nginx_packages }}"
10 state: "present"
11 update_cache: true
12 cache_valid_time: 3600
13 notify:
14 - start-nginx
15
16- name: Enable NGINX Service
17 service:
18 name: "{{ nginx_service }}"
19 enabled: true