Avoid exposing passwords in the process list, use a password file.

This commit is contained in:
Andreas B. Mundt 2024-01-19 21:43:32 +01:00
parent 917b45aadc
commit 57ec856f49
7 changed files with 156 additions and 131 deletions

View file

@ -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/