Update to 2021-06-09 20:00

master
Daniel Berteaud 4 years ago
parent 6916d5651f
commit bf2237c4f0
  1. 2
      roles/pgadmin4/defaults/main.yml
  2. 4
      roles/phpmyadmin/defaults/main.yml
  3. 9
      roles/zfs/templates/sanoid.service.j2
  4. 10
      roles/zfs/templates/sanoid.timer.j2

@ -4,6 +4,6 @@ pga_id: 1
pga_port: 5050 pga_port: 5050
pga_src_ip: [] pga_src_ip: []
pga_root_dir: /opt/pgadmin4_{{ pga_id }} pga_root_dir: /opt/pgadmin4_{{ pga_id }}
pga_version: '5.2' pga_version: '5.3'
pga_pip_url: https://ftp.postgresql.org/pub/pgadmin/pgadmin4/v{{ pga_version }}/pip/pgadmin4-{{ pga_version }}-py3-none-any.whl pga_pip_url: https://ftp.postgresql.org/pub/pgadmin/pgadmin4/v{{ pga_version }}/pip/pgadmin4-{{ pga_version }}-py3-none-any.whl
pga_master_pass: False pga_master_pass: False

@ -1,9 +1,9 @@
--- ---
pma_version: 5.1.0 pma_version: 5.1.1
pma_id: "1" pma_id: "1"
pma_archive_url: https://files.phpmyadmin.net/phpMyAdmin/{{ pma_version }}/phpMyAdmin-{{ pma_version }}-all-languages.zip pma_archive_url: https://files.phpmyadmin.net/phpMyAdmin/{{ pma_version }}/phpMyAdmin-{{ pma_version }}-all-languages.zip
pma_archive_sha256: 2f29fbfc8884c42290f950b077e0a8af2766507f959f30caef0edaa5fd3e04b9 pma_archive_sha256: 78a5d93621f9fdfc221a530705025dc79c1abc7a4d6a940a9d0a9a3719d0554c
pma_manage_upgrade: True pma_manage_upgrade: True
pma_root_dir: /opt/phpmyadmin_{{ pma_id }} pma_root_dir: /opt/phpmyadmin_{{ pma_id }}
pma_db_user: pma_{{ pma_id }} pma_db_user: pma_{{ pma_id }}

@ -0,0 +1,9 @@
[Unit]
Description=Snapshot ZFS Pool
Requires=zfs.target
After=zfs.target
[Service]
Environment=TZ=UTC
Type=oneshot
ExecStart=/usr/sbin/sanoid --cron

@ -0,0 +1,10 @@
[Unit]
Description=Run Sanoid
[Timer]
OnCalendar=*:0/1
Persistent=true
[Install]
WantedBy=timers.target
Loading…
Cancel
Save