update..
This commit is contained in:
8
DOC/README.create-file-with-content
Normal file
8
DOC/README.create-file-with-content
Normal file
@ -0,0 +1,8 @@
|
||||
- name: Create repository file '/etc/apt/sources.list.d/nodesource.list'
|
||||
copy:
|
||||
dest: /etc/apt/sources.list.d/nodesource.list
|
||||
group: root
|
||||
owner: root
|
||||
mode: 0644
|
||||
content: |
|
||||
deb [arch=arm64 signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main
|
9
DOC/README.set-variable-from-command-output
Normal file
9
DOC/README.set-variable-from-command-output
Normal 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 }}"
|
Reference in New Issue
Block a user