mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-04 12:23:13 +02:00
Update to 2022-12-27 12:00
This commit is contained in:
parent
2ffea0d4cb
commit
1a24e65c5b
@ -3,10 +3,10 @@
|
||||
ampache_id: "1"
|
||||
ampache_manage_upgrade: True
|
||||
|
||||
ampache_version: '5.5.3'
|
||||
ampache_version: '5.5.6'
|
||||
ampache_config_version: 62
|
||||
ampache_zip_url: https://github.com/ampache/ampache/releases/download/{{ ampache_version }}/ampache-{{ ampache_version }}_all.zip
|
||||
ampache_zip_sha256: 0d6a1f7ffad15b1e14ad29fd07bf41ee92863d18bb66c97121c4d31eb08aed24
|
||||
ampache_zip_sha256: addb97cc8ab6fc980d4be6cf28c798d9a6772d567b05c0d1b3bc125c205749c9
|
||||
|
||||
ampache_root_dir: /opt/ampache_{{ ampache_id }}
|
||||
|
||||
|
@ -6,5 +6,4 @@
|
||||
ZST_CLEVEL: 10
|
||||
args:
|
||||
chdir: "{{ appsmith_root_dir }}/archives/{{ appsmith_current_version }}"
|
||||
warn: False
|
||||
tags: appsmith
|
||||
|
@ -13,8 +13,6 @@
|
||||
|
||||
- name: Detect exact JRE version
|
||||
command: rpm -q java-11-openjdk
|
||||
args:
|
||||
warn: False
|
||||
changed_when: False
|
||||
register: appsmith_jre11_version
|
||||
tags: appsmith
|
||||
|
@ -4,7 +4,6 @@
|
||||
command: tar cf {{ bookstack_root_dir }}/archives/{{ bookstack_current_version }}.tar.zst ./ --use-compress-program=zstd
|
||||
args:
|
||||
chdir: "{{ bookstack_root_dir }}/archives/{{ bookstack_current_version }}"
|
||||
warn: False
|
||||
environment:
|
||||
ZSTD_CLEVEL: 10
|
||||
tags: bookstack
|
||||
|
@ -4,7 +4,6 @@
|
||||
command: tar cf {{ cni_root_dir }}/archives/{{ cni_current_version }}.tar.zst ./ --use-compress-program=zstd
|
||||
args:
|
||||
chdir: "{{ cni_root_dir }}/archives/{{ cni_current_version }}"
|
||||
warn: False
|
||||
environment:
|
||||
ZSTD_CLEVEL: 10
|
||||
tags: cni
|
||||
|
@ -9,8 +9,6 @@
|
||||
|
||||
- name: Check if MegaCLi is installed (Debian)
|
||||
shell: dpkg -s megacli | grep Version | awk '{ print $2 }' 2>/dev/null
|
||||
args:
|
||||
warn: False
|
||||
register: megacli_installed_version
|
||||
failed_when: False
|
||||
changed_when: False
|
||||
|
@ -4,7 +4,6 @@
|
||||
command: tar cf {{ consul_root_dir }}/archives/{{ consul_current_version }}.tar.zst --use-compress-program=zstd ./
|
||||
args:
|
||||
chdir: "{{ consul_root_dir }}/archives/{{ consul_current_version }}"
|
||||
warn: False
|
||||
environment:
|
||||
ZSTD_CLEVEL: 10
|
||||
tags: consul
|
||||
|
@ -4,7 +4,6 @@
|
||||
command: tar cf {{ consul_tpl_root_dir }}/archives/{{ consul_tpl_current_version }}.tar.zst --use-compress-program=zstd ./
|
||||
args:
|
||||
chdir: "{{ consul_tpl_root_dir }}/archives/{{ consul_tpl_current_version }}"
|
||||
warn: False
|
||||
environment:
|
||||
ZSTD_CLEVEL: 10
|
||||
tags: consul,vault
|
||||
|
@ -6,7 +6,6 @@
|
||||
ZST_CLEVEL: 10
|
||||
args:
|
||||
chdir: "{{ diagrams_root_dir }}/archives/{{ diagrams_current_version }}"
|
||||
warn: False
|
||||
tags: diagrams
|
||||
|
||||
- name: Remove the archive directory
|
||||
|
@ -4,7 +4,6 @@
|
||||
command: tar cf {{ documize_root_dir }}/archives/{{ documize_current_version }}.tar.zst --use-compress-program=zstd ./
|
||||
args:
|
||||
chdir: "{{ documize_root_dir }}/archives/{{ documize_current_version }}"
|
||||
warn: False
|
||||
environment:
|
||||
ZSTD_CLEVEL: 10
|
||||
tags: documize
|
||||
|
@ -4,7 +4,6 @@
|
||||
command: tar cf {{ drbdtop_root_dir }}/archives/{{ drbdtop_current_version }}.tar.zst --use-compress-program=zstd ./
|
||||
args:
|
||||
chdir: "{{ drbdtop_root_dir }}/archives/{{ drbdtop_current_version }}"
|
||||
warn: False
|
||||
environment:
|
||||
ZSTD_CLEVEL: 10
|
||||
tags: drbd
|
||||
|
@ -4,7 +4,6 @@
|
||||
command: tar cf {{ es_root_dir }}/archives/{{ es_current_version }}.tar.zst ./ --use-compress-program=zstd
|
||||
args:
|
||||
chdir: "{{ es_root_dir }}/archives/{{ es_current_version }}"
|
||||
warn: False
|
||||
environment:
|
||||
ZSTD_CLEVEL: 15
|
||||
tags: es
|
||||
|
@ -56,8 +56,6 @@
|
||||
chmod 755 {{ es_root_dir }}/app/jdk/lib/jspawnhelper
|
||||
find {{ es_root_dir }}/app/bin -type f -exec chmod 755 "{}" \;
|
||||
find {{ es_root_dir }}/app/modules/x-pack-ml/platform/linux-x86_64/bin/ -type f -exec chmod 755 "{}" \;
|
||||
args:
|
||||
warn: False
|
||||
|
||||
tags: es
|
||||
|
||||
|
@ -241,7 +241,6 @@
|
||||
XZ_OPT: -T0
|
||||
args:
|
||||
chdir: "{{ framadate_root_dir }}/archives/{{ framadate_current_version.stdout }}"
|
||||
warn: False
|
||||
when: framadate_install_mode == 'upgrade'
|
||||
tags: framadate
|
||||
|
||||
|
@ -4,7 +4,6 @@
|
||||
command: tar cf {{ funkwhale_root_dir }}/archives/{{ funkwhale_current_version }}.tar.zst --use-compress-program=zstd ./
|
||||
args:
|
||||
chdir: "{{ funkwhale_root_dir }}/archives/{{ funkwhale_current_version }}"
|
||||
warn: False
|
||||
environment:
|
||||
ZSTD_CLEVEL: 10
|
||||
tags: funkwhale
|
||||
|
@ -6,7 +6,6 @@
|
||||
ZSTD_CLEVEL: 10
|
||||
args:
|
||||
chdir: "{{ root_dir }}/archives/{{ version }}"
|
||||
warn: False
|
||||
|
||||
- name: Remove archive dir
|
||||
file: path={{ root_dir }}/archives/{{ version }} state=absent
|
||||
|
@ -13,8 +13,6 @@
|
||||
|
||||
- name: Detect exact JRE version
|
||||
command: rpm -q java-11-openjdk
|
||||
args:
|
||||
warn: False
|
||||
changed_when: False
|
||||
register: jitsi_jre11_version
|
||||
tags: jitsi
|
||||
|
@ -19,8 +19,6 @@
|
||||
|
||||
- name: Detect exact JRE version
|
||||
command: rpm -q java-11-openjdk
|
||||
args:
|
||||
warn: False
|
||||
changed_when: False
|
||||
register: jitsi_jre11_version
|
||||
tags: jitsi
|
||||
|
@ -9,8 +9,6 @@
|
||||
|
||||
- name: Detect exact JRE version
|
||||
command: rpm -q java-11-openjdk
|
||||
args:
|
||||
warn: False
|
||||
changed_when: False
|
||||
register: jitsi_jre11_version
|
||||
tags: jitsi
|
||||
|
@ -4,7 +4,6 @@
|
||||
command: tar cf {{ kimai_root_dir }}/archives/{{ kimai_current_version }}.tar.zst ./ --use-compress-program=zstd
|
||||
args:
|
||||
chdir: "{{ kimai_root_dir }}/archives/{{ kimai_current_version }}"
|
||||
warn: False
|
||||
environment:
|
||||
ZSTD_CLEVEL: 10
|
||||
tags: kimai
|
||||
|
@ -6,5 +6,4 @@
|
||||
ZST_CLEVEL: 10
|
||||
args:
|
||||
chdir: "{{ mailman_archive_dir }}"
|
||||
warn: False
|
||||
tags: mailman
|
||||
|
@ -2,8 +2,6 @@
|
||||
|
||||
- name: Enable python39 module
|
||||
command: dnf -y module enable python39
|
||||
args:
|
||||
warn: False
|
||||
changed_when: False
|
||||
tags: mailman
|
||||
|
||||
|
@ -4,7 +4,6 @@
|
||||
command: tar cf {{ synapse_root_dir }}/archives/{{ synapse_current_version }}.tar.zst --use-compress-program=zstd ./
|
||||
args:
|
||||
chdir: "{{ synapse_root_dir }}/archives/{{ synapse_current_version }}"
|
||||
warn: False
|
||||
environment:
|
||||
ZSTD_CLEVEL: 10
|
||||
tags: matrix
|
||||
|
@ -6,5 +6,4 @@
|
||||
ZSTD_CLEVEL: 10
|
||||
args:
|
||||
chdir: "{{ metabase_root_dir }}/archives/{{ metabase_current_version }}"
|
||||
warn: False
|
||||
tags: metabase
|
||||
|
@ -4,7 +4,6 @@
|
||||
command: tar cf {{ miniflux_root_dir }}/archives/{{ miniflux_current_version }}.tar.zst --use-compress-program=zstd ./
|
||||
args:
|
||||
chdir: "{{ miniflux_root_dir }}/archives/{{ miniflux_current_version }}"
|
||||
warn: False
|
||||
environment:
|
||||
ZSTD_CLEVEL: 10
|
||||
tags: miniflux
|
||||
|
@ -6,5 +6,4 @@
|
||||
ZST_CLEVEL: 10
|
||||
args:
|
||||
chdir: "{{ n8n_root_dir }}/archives/{{ n8n_current_version }}"
|
||||
warn: False
|
||||
tags: n8n
|
||||
|
@ -11,8 +11,6 @@
|
||||
shell: |
|
||||
yum -y module reset nginx
|
||||
yum -y module enable nginx:1.20
|
||||
args:
|
||||
warn: False
|
||||
changed_when: False
|
||||
when:
|
||||
- ansible_os_family == 'RedHat'
|
||||
|
@ -4,7 +4,6 @@
|
||||
command: tar cf {{ odoo_root_dir }}/archives/{{ odoo_current_version }}.tar.zst --use-compress-program=zstd ./
|
||||
args:
|
||||
chdir: "{{ odoo_root_dir }}/archives/{{ odoo_current_version }}"
|
||||
warn: False
|
||||
environment:
|
||||
ZSTD_CLEVEL: 10
|
||||
tags: odoo
|
||||
|
@ -27,8 +27,6 @@
|
||||
|
||||
- name: Detect installed version
|
||||
shell: rpm -q --qf "%{version}-%{release}" onlyoffice-documentserver || echo 0
|
||||
args:
|
||||
warn: False
|
||||
register: oo_current_version
|
||||
changed_when: False
|
||||
tags: oo
|
||||
|
@ -80,8 +80,6 @@
|
||||
|
||||
- name: Fix permissions on data dir
|
||||
command: chown -R ds:ds /var/lib/onlyoffice/documentserver/
|
||||
args:
|
||||
warn: False
|
||||
changed_when: False
|
||||
tags: oo
|
||||
|
||||
|
@ -2,8 +2,6 @@
|
||||
|
||||
- name: Detect installed version
|
||||
shell: rpm -q --qf "%{version}-%{release}" onlyoffice-documentserver || echo 0
|
||||
args:
|
||||
warn: False
|
||||
register: oo_current_version
|
||||
changed_when: False
|
||||
#when: oo_current_version | string == '0' # Only detect again on first install
|
||||
|
@ -4,7 +4,6 @@
|
||||
command: tar cf {{ paperless_root_dir }}/archives/{{ paperless_current_version }}.tar.zst --use-compress-program=zstd ./
|
||||
args:
|
||||
chdir: "{{ paperless_root_dir }}/archives/{{ paperless_current_version }}"
|
||||
warn: False
|
||||
environment:
|
||||
ZSTD_CLEVEL: 10
|
||||
tags: ged
|
||||
|
@ -4,7 +4,6 @@
|
||||
command: tar cf {{ penpot_root_dir }}/archives/{{ penpot_current_version }}.tar.zst --use-compress-program=zstd ./
|
||||
args:
|
||||
chdir: "{{ penpot_root_dir }}/archives/{{ penpot_current_version }}"
|
||||
warn: False
|
||||
environment:
|
||||
ZSTD_CLEVEL: 10
|
||||
ZSTD_NBTHREADS: 0
|
||||
|
@ -4,7 +4,6 @@
|
||||
command: tar cf {{ pgweb_root_dir }}/archives/{{ pgweb_current_version }}.tar.zst --use-compress-program=zstd ./
|
||||
args:
|
||||
chdir: "{{ pgweb_root_dir }}/archives/{{ pgweb_current_version }}"
|
||||
warn: False
|
||||
environment:
|
||||
ZSTD_CLEVEL: 10
|
||||
tags: pgweb
|
||||
|
@ -45,8 +45,6 @@
|
||||
# Waiting for the allowerasing args to dnf module, landing in ansible 2.10
|
||||
- name: Switch to centos-linux-repos
|
||||
shell: rpm -q centos-linux-repos || dnf install centos-linux-repos -y --allowerasing
|
||||
args:
|
||||
warn: False
|
||||
changed_when: False
|
||||
|
||||
tags: repo
|
||||
@ -99,8 +97,6 @@
|
||||
# Waiting for the allowerasing args to dnf module, landing in ansible 2.10
|
||||
- name: Switch to centos-stream-repos
|
||||
shell: rpm -q centos-stream-repos || dnf install centos-stream-repos -y --allowerasing
|
||||
args:
|
||||
warn: False
|
||||
changed_when: False
|
||||
|
||||
tags: repo
|
||||
|
@ -6,7 +6,6 @@
|
||||
XZ_OPT: -T0
|
||||
args:
|
||||
chdir: "{{ seafile_root_dir }}/archives/{{ seafile_current_version.stdout }}"
|
||||
warn: False
|
||||
tags: seafile
|
||||
|
||||
- name: Remove archive directory
|
||||
|
@ -88,8 +88,6 @@
|
||||
|
||||
- name: Chown seafile install dir
|
||||
shell: chown -R {{ seafile_user }}:{{ seafile_group }} {{ seafile_root_dir }}/seafile-server/*
|
||||
args:
|
||||
warn: False
|
||||
when: seafile_install_mode != 'none'
|
||||
tags: seafile
|
||||
|
||||
|
@ -4,7 +4,6 @@
|
||||
command: tar cf {{ sftpgo_root_dir }}/archives/{{ sftpgo_current_version }}.tar.zst --use-compress-program=zstd ./
|
||||
args:
|
||||
chdir: "{{ sftpgo_root_dir }}/archives/{{ sftpgo_current_version }}"
|
||||
warn: False
|
||||
environment:
|
||||
ZSTD_CLEVEL: 10
|
||||
tags: sftpgo
|
||||
|
@ -7,8 +7,6 @@
|
||||
- name: Detect exact JRE version
|
||||
block:
|
||||
- command: rpm -q java-11-openjdk
|
||||
args:
|
||||
warn: False
|
||||
changed_when: False
|
||||
register: squashtm_jre11_version
|
||||
- set_fact: squashtm_jre11_version={{ squashtm_jre11_version.stdout | trim }}
|
||||
|
@ -4,7 +4,6 @@
|
||||
command: tar cf {{ taiga_root_dir }}/archives/{{ taiga_archive_dir }}.tar.zst --use-compress-program=zstd ./
|
||||
args:
|
||||
chdir: "{{ taiga_root_dir }}/archives/{{ taiga_archive_dir }}"
|
||||
warn: False
|
||||
environment:
|
||||
ZSTD_CLEVEL: 10
|
||||
ZSTD_NBTHREADS: 0
|
||||
|
@ -26,8 +26,6 @@
|
||||
|
||||
- name: Detect exact JRE version
|
||||
command: rpm -q java-11-openjdk-headless
|
||||
args:
|
||||
warn: False
|
||||
changed_when: False
|
||||
register: jitsi_jre11_version
|
||||
tags: unifi
|
||||
@ -238,7 +236,6 @@
|
||||
command: tar cf {{ unifi_root_dir }}/archives/{{ unifi_current_version.stdout }}.tar.zst --use-compress-program=zstd ./
|
||||
args:
|
||||
chdir: "{{ unifi_root_dir }}/archives/{{ unifi_current_version.stdout }}"
|
||||
warn: False
|
||||
when: unifi_install_mode == 'upgrade'
|
||||
tags: unifi
|
||||
|
||||
|
@ -1,12 +1,12 @@
|
||||
---
|
||||
|
||||
vaultwarden_version: 1.26.0
|
||||
vaultwarden_version: 1.27.0
|
||||
vaultwarden_archive_url: https://github.com/dani-garcia/vaultwarden/archive/{{ vaultwarden_version }}.tar.gz
|
||||
vaultwarden_archive_sha256: 0b9f241cf0e0ba0bf49e5e45aaec4350d7e816e98340d2756b76fa376775592d
|
||||
vaultwarden_archive_sha256: d7717d3a353b72626de6d6f2dc1e7776b40b487dc813759fbcd812c709cabcd8
|
||||
|
||||
vaultwarden_web_version: 2022.10.0
|
||||
vaultwarden_web_version: 2022.12.0
|
||||
vaultwarden_web_archive_url: https://github.com/dani-garcia/bw_web_builds/releases/download/v{{ vaultwarden_web_version }}/bw_web_v{{ vaultwarden_web_version }}.tar.gz
|
||||
vaultwarden_web_archive_sha256: 49fd589ce8a48d99a5a1342f76b147fd401ebd0a8a40490d36b091521bcd65f0
|
||||
vaultwarden_web_archive_sha256: 402dff6aa205d8d7493c79b051bbc947adb0b14181ae0b07242caa049ff480c7
|
||||
|
||||
vaultwarden_root_dir: /opt/vaultwarden
|
||||
vaultwarden_user: vaultwarden
|
||||
|
@ -3,7 +3,6 @@
|
||||
- name: Compress previous version
|
||||
command: tar cJf {{ vaultwarden_root_dir }}/archives/{{ vaultwarden_current_version }}+{{ vaultwarden_web_current_version }}.txz ./
|
||||
args:
|
||||
warn: False
|
||||
chdir: "{{ vaultwarden_root_dir }}/archives/{{ vaultwarden_current_version }}+{{ vaultwarden_web_current_version }}"
|
||||
tags: vaultwarden
|
||||
|
||||
|
@ -30,3 +30,4 @@ LOG_TIMESTAMP_FORMAT=""
|
||||
DB_CONNECTION_RETRIES=0
|
||||
TRASH_AUTO_DELETE_DAYS=7
|
||||
INCOMPLETE_2FA_TIME_LIMIT=5
|
||||
ORG_EVENTS_ENABLED=true
|
||||
|
@ -80,7 +80,6 @@
|
||||
shell: curl https://api.wordpress.org/secret-key/1.1/salt | perl -ne '/^define\(.{{ item.item }}.\s*,\s*.(.*).\s*\);/ && print "$1"' > {{ wp_root_dir }}/meta/ansible_{{ item.item }}
|
||||
args:
|
||||
creates: " {{ wp_root_dir }}/meta/ansible_{{ item.item }}"
|
||||
warn: False
|
||||
loop: "{{ wp_secrets_files.results }}"
|
||||
when: not item.stat.exists
|
||||
tags: wp
|
||||
|
@ -37,8 +37,6 @@
|
||||
|
||||
- name: Set permissions on Addons Scripts
|
||||
shell: chmod +x /var/lib/zabbix/bin/*
|
||||
args:
|
||||
warn: False
|
||||
when: zabbix_agent_addons_git.changed
|
||||
tags: zabbix
|
||||
|
||||
|
@ -67,8 +67,6 @@
|
||||
|
||||
- name: Check Zabbix version
|
||||
shell: rpm -q --qf "%{version}" zabbix-server-mysql
|
||||
args:
|
||||
warn: False
|
||||
register: zabbix_server_version
|
||||
changed_when: False
|
||||
tags: zabbix
|
||||
|
@ -145,8 +145,6 @@
|
||||
|
||||
- name: Install bash_completion
|
||||
shell: sed -e 's/@sbindir@/\/sbin/' /tmp/zfs_bash_completion > /etc/bash_completion.d/zfs
|
||||
args:
|
||||
warn: False
|
||||
changed_when: False
|
||||
tags: zfs
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user