mirror of
https://github.com/rocky-linux/infrastructure
synced 2024-10-31 20:21:23 +00:00
fcdf86b31c
This commit appends the README.md to state that yaml files should start with `---` and end with `...`. This also addresses some linting warnings that were not appearing during pre-commit on local system.
23 lines
441 B
YAML
23 lines
441 B
YAML
---
|
|
- name: Install Prometheus Node Exporter
|
|
hosts: all
|
|
become: true
|
|
|
|
pre_tasks:
|
|
- name: Install SELinux packages
|
|
package:
|
|
name: python3-policycoreutils.noarch
|
|
state: present
|
|
|
|
roles:
|
|
- role: cloudalchemy.node-exporter
|
|
state: present
|
|
|
|
post_tasks:
|
|
- name: Open firewall for node-exporter
|
|
ansible.posix.firewalld:
|
|
port: 9100/tcp
|
|
permanent: true
|
|
state: enabled
|
|
...
|