diff --git a/ansible/group_vars/all/node-exporter b/ansible/group_vars/all/node-exporter new file mode 100644 index 000000000..9e1c182ae --- /dev/null +++ b/ansible/group_vars/all/node-exporter @@ -0,0 +1,6 @@ +--- +############################################################################### +# Prometheus node exporter configuration. + +# Whether Prometheus node exporter is enabled. +nodeexporter_enabled: False diff --git a/ansible/node-exporter.yml b/ansible/node-exporter.yml index 4514b8b5f..5a07b2663 100644 --- a/ansible/node-exporter.yml +++ b/ansible/node-exporter.yml @@ -7,6 +7,6 @@ # action: One of deploy, destroy, pull, reconfigure, upgrade - name: Ensure Node Exporter is deployed - hosts: all + hosts: overcloud:&docker roles: - role: node-exporter diff --git a/etc/kayobe/node-exporter.yml b/etc/kayobe/node-exporter.yml new file mode 100644 index 000000000..ea1c6b2da --- /dev/null +++ b/etc/kayobe/node-exporter.yml @@ -0,0 +1,10 @@ +--- +############################################################################### +# Prometheus node exporter configuration. + +# Whether Prometheus node exporter is enabled. +#nodeexporter_enabled: + +############################################################################### +# Dummy variable to allow Ansible to accept this file. +workaround_ansible_issue_8743: yes