This commit is contained in:
2024-08-08 00:27:09 +02:00
parent cd98d19890
commit 75ccd2dc2d
4 changed files with 20 additions and 1 deletions

View File

@ -0,0 +1,9 @@
- name: Print out password hash of node-exporter admin password to variable
shell: mkpasswd -m bcrypt "{{ node_exporter_admin_password }}"
register: password_hash
ignore_errors: true
changed_when: false
- name: Show content of var 'password_hash.rc'
debug:
msg: "{{ password_hash.stdout }}"