ansible-node-exporter
ansible-node-exporter copied to clipboard
Fix OracleLinux dependecies
Also OracleLinux needs dependecies like centos or redhat.
Is the travis error related to my pr?
ImportError: cannot import name 'add_all_plugin_dirs' from 'ansible.plugins.loader' (/home/travis/build/cloudalchemy/ansible-node-exporter/.tox/py37-ansible27/lib/python3.7/site-packages/ansible/plugins/loader.py)
I have also included rocky linux.
diff --git a/tasks/selinux.yml b/tasks/selinux.yml
index e5efae5..76e9660 100644
--- a/tasks/selinux.yml
+++ b/tasks/selinux.yml
@@ -11,7 +11,9 @@
delay: 2
when:
- (ansible_distribution | lower == "redhat") or
- (ansible_distribution | lower == "centos")
+ (ansible_distribution | lower == "centos") or
+ (ansible_distribution | lower == "oraclelinux") or
+ (ansible_distribution | lower == "rocky")
- name: Install selinux python packages [Fedora]
package:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@sgargel @privx-de
As this issue has been addressed in #261 , could we close this PR?
This role has been deprecated in favor of a the prometheus-community/ansible collection.