Upgrade Prometheus node exporter to Prometheus collection

Change-Id: I182c6114ee525090d2661bb0d48781e292d66919
This commit is contained in:
Marcus Klein
2023年11月10日 12:26:27 +01:00
parent 12e85362a6
commit 7a9df911ba

View File

@@ -25,7 +25,7 @@ Downloading role dependencies
.. code-block:: bash
cd /opt/openstack-ansible-ops/prometheus
ansible-galaxy install -r ansible-role-requirements.yml
ansible-galaxy install -r requirements.yml
Install node_exporter

View File

@@ -1,5 +0,0 @@
---
- name:node-exporter
scm:git
src:https://github.com/cloudalchemy/ansible-node-exporter
version:master

View File

@@ -12,9 +12,15 @@
# See the License for the specific language governing permissions and
# limitations under the License.
- name:Refresh local facts
hosts:hosts
tasks:
- name:Refresh local facts
setup:
- name:node_exporter
hosts:hosts
vars_files:
- vars/variables.yml
roles:
- role:node-exporter
- role:prometheus.prometheus.node_exporter

View File

@@ -0,0 +1,6 @@
---
collections:
- name:prometheus.prometheus
version:0.8.0
type:galaxy
Reference in New Issue
openstack/openstack-ansible-ops
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.