2019-05-20 18:32:08 +02:00
|
|
|
---
|
2019-12-11 21:45:12 +01:00
|
|
|
- name: "(Setup: Alpine Linux) Setup NGINX Plus Repository"
|
2019-05-20 18:32:08 +02:00
|
|
|
lineinfile:
|
|
|
|
path: /etc/apk/repositories
|
|
|
|
insertafter: EOF
|
|
|
|
line: "https://plus-pkgs.nginx.com/alpine/v{{ ansible_distribution_version | regex_search('^[0-9]+\\.[0-9]+') }}/main"
|
2019-12-11 21:45:12 +01:00
|
|
|
state: "{{ nginx_license_status | default ('present') }}"
|