This commit is contained in:
2024-05-12 23:40:50 +02:00
parent cd06f85be8
commit ee1ef046a1

View File

@@ -55,6 +55,21 @@
loop:
- /etc/node_exporter
- name: Update repositories and install py3-pip package
community.general.apt:
name: python3-pip
update_cache: true
# delegate_to: localhost
- name: Install pip package
ansible.builtin.pip:
name: "{{ item }}"
loop:
- setuptools
- netaddr
- cryptography
# delegate_to: localhost
- name: Generate an OpenSSL private key with the default values (4096 bits, RSA)
community.crypto.openssl_privatekey:
path: /etc/node_exporter/tls.key