Zack Williams | b313bae | 2020-04-22 22:00:53 -0700 | [diff] [blame] | 1 | --- |
| 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 Williams | b313bae | 2020-04-22 22:00:53 -0700 | [diff] [blame] | 7 | - 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 |