Fix variable names that escaped renaming
This commit is contained in:
@@ -3,4 +3,4 @@
|
||||
hosts: all
|
||||
roles:
|
||||
- role: genlab.common.ipmi_exporter
|
||||
ipmi_exp_source_dir: "molecule/default/"
|
||||
ipmi_exporter_source_dir: "molecule/default/"
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
---
|
||||
- name: "Upload ipmi_exporter local configure file"
|
||||
notify: "(Re)start and enable ipmi_exporter"
|
||||
when: ipmi_exp_source_dir is defined and ipmi_exp_source_dir | length > 0
|
||||
when: ipmi_exporter_source_dir is defined and ipmi_exporter_source_dir | length > 0
|
||||
ansible.builtin.template:
|
||||
src: "{{ ipmi_exp_source_dir }}/ipmi_local.conf"
|
||||
src: "{{ ipmi_exporter_source_dir }}/ipmi_local.conf"
|
||||
dest: "{{ ipmi_exporter_config_dir }}/ipmi_local.conf"
|
||||
owner: root
|
||||
group: root
|
||||
@@ -11,9 +11,9 @@
|
||||
|
||||
- name: "Upload ipmi_exporter web configure file"
|
||||
notify: "(Re)start and enable ipmi_exporter"
|
||||
when: ipmi_exp_web_source_dir is defined and ipmi_exp_web_source_dir | length > 0
|
||||
when: ipmi_exporter_web_source_dir is defined and ipmi_exporter_web_source_dir | length > 0
|
||||
ansible.builtin.template:
|
||||
src: "{{ ipmi_exp_web_source_dir }}/web_conf.yaml"
|
||||
src: "{{ ipmi_exporter_web_source_dir }}/web_conf.yaml"
|
||||
dest: "{{ ipmi_exporter_config_dir }}/web_conf.yaml"
|
||||
owner: root
|
||||
group: root
|
||||
|
||||
Reference in New Issue
Block a user