suricata ro mounts

main
Ricard Illa 2023-01-10 10:57:01 +01:00
parent c893b597d1
commit 7731617ff5
2 changed files with 3 additions and 4 deletions

View File

@ -198,7 +198,7 @@
# todo: use less hardcoding # todo: use less hardcoding
- name: make a more permanent lbu backup - name: make a more permanent lbu backup
copy: copy:
src: "{{ lbu_backupdir }}/{{ ansible_hostname }}.apkovl.tar.gz.aes-256-cbc" src: "/media/mmcblk0p2/{{ ansible_hostname }}.apkovl.tar.gz.aes-256-cbc"
dest: "/mnt/backups/lbu/{{ ansible_hostname }}.apkovl.tar.gz.aes-256-cbc.{{ ansible_date_time.iso8601 }}" dest: "/mnt/backups/lbu/{{ ansible_hostname }}.apkovl.tar.gz.aes-256-cbc.{{ ansible_date_time.iso8601 }}"
remote_src: true remote_src: true

View File

@ -36,7 +36,6 @@ all:
lbu_encrypt: true lbu_encrypt: true
lbu_media: mmcblk0p2 lbu_media: mmcblk0p2
lbu_backupdir: /media/mmcblk0p2
apk_cache_dir: /media/mmcblk0p2/cache apk_cache_dir: /media/mmcblk0p2/cache
@ -60,7 +59,7 @@ all:
- src: "/dev/mmcblk0p1" - src: "/dev/mmcblk0p1"
path: "/media/mmcblk0p1" path: "/media/mmcblk0p1"
fstype: "vfat" fstype: "vfat"
opts: "noauto,defaults" opts: "noauto,defaults,ro"
passno: "0" passno: "0"
- src: "/media/mmcblk0p1/boot" - src: "/media/mmcblk0p1/boot"
@ -72,7 +71,7 @@ all:
- src: "/dev/mmcblk0p2" - src: "/dev/mmcblk0p2"
path: "/media/mmcblk0p2" path: "/media/mmcblk0p2"
fstype: "ext4" fstype: "ext4"
opts: "defaults" opts: "defaults,ro"
passno: "0" passno: "0"
- src: "/dev/mapper/disk0" - src: "/dev/mapper/disk0"