lala
This commit is contained in:
@@ -55,6 +55,21 @@
|
|||||||
loop:
|
loop:
|
||||||
- /etc/node_exporter
|
- /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)
|
- name: Generate an OpenSSL private key with the default values (4096 bits, RSA)
|
||||||
community.crypto.openssl_privatekey:
|
community.crypto.openssl_privatekey:
|
||||||
path: /etc/node_exporter/tls.key
|
path: /etc/node_exporter/tls.key
|
||||||
|
|||||||
Reference in New Issue
Block a user