update nrpe checks
add smb credentials all credentials/secrets will eventually go into vault. this is not a huge security concern since none of this is production
This commit is contained in:
4
roles/smbclient/files/.credentials
Normal file
4
roles/smbclient/files/.credentials
Normal file
@@ -0,0 +1,4 @@
|
||||
username=demo
|
||||
password=Demo123
|
||||
domain=DEMO
|
||||
|
||||
@@ -15,3 +15,10 @@
|
||||
group: pi
|
||||
mode: a+x
|
||||
tags: smbtraff_script
|
||||
- name: copy credentials to user directory
|
||||
copy:
|
||||
src: "{{ role_path }}/files/.credentials"
|
||||
dest: /home/pi
|
||||
owner: pi
|
||||
group: pi
|
||||
tags: smbtraff_credentials
|
||||
|
||||
Reference in New Issue
Block a user