Clean up variable organization (wip), better backup/node_exporter for mii, aya01, pi

Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
This commit is contained in:
TuDatTr
2023-05-12 11:58:02 +02:00
parent f456c516b3
commit 8b1acb4eb7
16 changed files with 100 additions and 48 deletions

View File

@@ -1,5 +1,5 @@
---
- name: Create rclone config folder at "{{ rclone_config }}"
- name: Create rclone config folder
file:
path: "{{ rclone_config }}"
owner: '0'
@@ -8,9 +8,9 @@
state: directory
become: true
- name: Copy "templates/{{ inventory_hostname }}/rclone.conf" config to "{{ inventory_hostname }}":"{{ rclone_config }}/rclone.conf"
- name: Copy "rclone.conf"
template:
src: "templates/{{ inventory_hostname }}/rclone.conf"
src: "rclone.conf.j2"
dest: "{{ rclone_config }}/rclone.conf"
owner: '0'
group: '0'