Verified Commit a4b9ffe2 authored by Huste, Tobias (FWCC) - 111645's avatar Huste, Tobias (FWCC) - 111645
Browse files

Use variables for config file template and executable

parent 81c79cb6
Pipeline #75372 passed with stages
in 14 minutes and 52 seconds
......@@ -45,7 +45,7 @@
block:
- name: "Copy NGINX agent plugin executable"
ansible.builtin.copy:
src: "nginx_status.py"
src: "{{ checkmk_nginx_plugin_executable }}"
dest: "/usr/lib/check_mk_agent/plugins/nginx_status.py"
mode: "0755"
owner: "root"
......@@ -53,7 +53,7 @@
- name: "Copy NGINX agent plugin configuration"
ansible.builtin.template:
src: "nginx_status.cfg.j2"
src: "{{ checkmk_nginx_plugin_cfg_template }}"
dest: "/etc/check_mk/nginx_status.cfg"
mode: "0644"
owner: "root"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment