This repository has been archived on 2022-10-11. You can view files and clone it, but cannot push or open issues or pull requests.
ansible-nginx-vts-role/tasks/main.yml

22 lines
460 B
YAML
Raw Normal View History

2022-04-01 14:34:33 +02:00
---
# tasks file for Ansible-Nginx-Vts-Role
2022-04-01 15:00:06 +02:00
- 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"