This commit is contained in:
SebClem 2022-04-01 15:00:06 +02:00
parent fd19ad41b6
commit 0ad07fa232
No known key found for this signature in database
GPG Key ID: 3D8E353F900B1305
3 changed files with 24 additions and 5 deletions

View File

@ -1,7 +1,3 @@
{ {
"recommendations": [ "recommendations": ["redhat.ansible", "esbenp.prettier-vscode"]
"redhat.ansible",
"dhoeric.ansible-vault",
"esbenp.prettier-vscode"
]
} }

View File

@ -1,2 +1,6 @@
--- ---
# defaults file for ${REPO_NAME_TITLE} # defaults file for ${REPO_NAME_TITLE}
nginx_source_version: 1.21.6
vts_repot_url: https://github.com/vozlt/nginx-module-vts.git

View File

@ -1,2 +1,21 @@
--- ---
# tasks file for Ansible-Nginx-Vts-Role # 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"