Avoid exposing passwords in the process list, use a password file.
This commit is contained in:
parent
917b45aadc
commit
57ec856f49
7 changed files with 156 additions and 131 deletions
|
@ -163,12 +163,21 @@
|
|||
- uploadseed
|
||||
|
||||
- name: Deploy vm configuration file vm.conf
|
||||
copy:
|
||||
ansible.builtin.copy:
|
||||
src: vm.conf
|
||||
dest: /etc/lmn/vm.conf
|
||||
owner: root
|
||||
group: root
|
||||
|
||||
- name: Deploy aria2 RPC password file
|
||||
ansible.builtin.copy:
|
||||
dest: /etc/lmn/uploadseed.conf
|
||||
owner: root
|
||||
group: lmnsynci
|
||||
mode: '0640'
|
||||
content: |
|
||||
"{{ uploadseed_pwd }}"
|
||||
|
||||
- name: Prepare directory for qemu bridge config
|
||||
ansible.builtin.file:
|
||||
path: /etc/qemu/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue