# file: nginx/tasks/modules/http_echo_module.yml
# configure flag: --add-module=/tmp/nginx_echo

- name: Nginx | Modules | Download the http_echo_module source
  get_url:
    url: "{{nginx_echo_url}}"
    dest: "/tmp/nginx-echo-module.tar.gz"

- name: Nginx | Modules | Unpack the http_auth_request_module source
  command: tar -xvzf /tmp/nginx-echo-module.tar.gz chdir=/tmp creates=/tmp/echo-nginx-module-{{nginx_echo_version}}

- name: Nginx | Modules | Copy the http_auth_request_module source folder
  command: sudo cp -R /tmp/echo-nginx-module-{{nginx_echo_version}} /tmp/nginx_echo

# file: nginx/tasks/modules/http_echo_module.yml
# configure flag: --add-module=/tmp/nginx_echo

- name: Nginx | Modules | Download the http_echo_module source
  get_url:
    url: "{{nginx_echo_url}}"
    dest: "/tmp/nginx-echo-module.tar.gz"

- name: Nginx | Modules | Unpack the http_echo_module source
  command: tar -xvzf /tmp/nginx-echo-module.tar.gz chdir=/tmp creates=/tmp/echo-nginx-module-{{nginx_echo_version}}

- name: Nginx | Modules | Copy the http_echo_module source folder
  command: sudo cp -R /tmp/echo-nginx-module-{{nginx_echo_version}} /tmp/nginx_echo

Fix wrong task's name (s/auth_request/echo/).
Fix wrong task's name (s/auth_request/echo/).

Signed-off-by: Jean-Denis Vauguet <ff9dedefe9ee78b3339d23163d8b29a3c83c6016@vauguet.fr>
