---
# tasks file for Ansible-Nginx-Vts-Role
- name: Download NGINX
get_url:
url: "https://nginx.org/download/{{ nginx_source_version }}.tar.gz"
dest: "/tmp/{{ nginx_source_version }}.tar.gz"
mode: 0600
register: nginx_source
- name: Unpack NGINX
unarchive:
copy: false
dest: /tmp/
src: "{{ nginx_source_version.dest }}"
mode: 0755
- name: Get vts
ansible.builtin.git:
repo: "{{ vts_repot_url }}"
dest: "/tmp/vts"