ansible-role-nginx/tasks/plus/setup-alpine.yml

7 lines
254 B
YAML
Raw Permalink Normal View History

---
- name: "(Install: Alpine Linux) Add NGINX Plus Repository"
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"