mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-12 00:03:17 +02:00
Update to 2023-03-30 11:00
This commit is contained in:
parent
874dd6c98a
commit
2a3d56fddc
@ -5,8 +5,8 @@
|
||||
element_id: element
|
||||
|
||||
# Version to deploy, and expected sha256
|
||||
element_version: 1.11.25
|
||||
element_archive_sha256: 974877e5d8dc3f8919cd5101fc6f36fcd2145628bb917b48a6863213cee30ba6
|
||||
element_version: 1.11.26
|
||||
element_archive_sha256: 0821f96eafe0e46c15a9e0fadc6a4f4a185d77cde2c764f59b3a22403fefb0e6
|
||||
|
||||
# Where to install element
|
||||
element_root_dir: /opt/matrix/element
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
|
||||
# Synapse version to deploy
|
||||
synapse_version: '1.79.0'
|
||||
synapse_version: '1.80.0'
|
||||
|
||||
# Should ansible handle Synapse upgrades ? If false, only initial install will be done
|
||||
synapse_manage_upgrade: True
|
||||
|
@ -1,11 +1,11 @@
|
||||
---
|
||||
|
||||
# Version of Vault to install
|
||||
vault_version: 1.13.0
|
||||
vault_version: 1.13.1
|
||||
# URL of the archive
|
||||
vault_archive_url: https://releases.hashicorp.com/vault/{{ vault_version }}/vault_{{ vault_version }}_linux_amd64.zip
|
||||
# Expected sha256 of the archive
|
||||
vault_archive_sha256: 69c1ce6dd383bb342c4f861a51a91413eb05e1324159e4395532e42a8a59af9d
|
||||
vault_archive_sha256: cf1015d0b30806515120d4a86672ea77da1fb0559e3839ba88d8e02e94e796a6
|
||||
|
||||
# Root dir where Nomad will be installed
|
||||
vault_root_dir: /opt/vault
|
||||
|
@ -11,3 +11,6 @@ wapt_db_user: wapt
|
||||
# A random password is generated unless defined here
|
||||
# wapt_db_pass: SeCret
|
||||
|
||||
# WAPT Repo can be exposed with rsync to be mirrored. This is the rsync password needed to sync the repo
|
||||
# If not defined, no password is required
|
||||
# wapt_rsync_pass: Th3RsYncpAssw0rd
|
||||
|
@ -3,3 +3,4 @@ dependencies:
|
||||
- role: repo_wapt
|
||||
- role: postgresql_server
|
||||
when: wapt_db_server in ['localhost','127.0.0.1']
|
||||
- role: rsync_server
|
||||
|
@ -97,3 +97,17 @@
|
||||
dest: /etc/nginx/conf.d/wapt.conf
|
||||
notify: restart nginx
|
||||
tags: wapt
|
||||
|
||||
- name: Deploy rsync configuration
|
||||
template: src=rsyncd.conf.j2 dest=/etc/rsyncd.conf.d/waptrepo.conf
|
||||
tags: wapt
|
||||
|
||||
- name: Deploy WAPT Repo rsync secret
|
||||
copy: content=wapt:{{ wapt_rsync_pass }} dest=/opt/wapt/conf/rsync.secrets mode=400
|
||||
when: wapt_rsync_pass is defined
|
||||
tags: wapt
|
||||
|
||||
- name: Remove rsync secret
|
||||
file: path=/opt/wapt/conf/rsync.secrets state=absent
|
||||
when: wapt_rsync_pass is not defined
|
||||
tags: wapt
|
||||
|
BIN
roles/wapt_server/templates/.rsyncd.conf.j2.swp
Normal file
BIN
roles/wapt_server/templates/.rsyncd.conf.j2.swp
Normal file
Binary file not shown.
10
roles/wapt_server/templates/rsyncd.conf.j2
Normal file
10
roles/wapt_server/templates/rsyncd.conf.j2
Normal file
@ -0,0 +1,10 @@
|
||||
[waptrepo]
|
||||
path = /var/www/html
|
||||
comment = WAPT Repository
|
||||
uid = root
|
||||
gid = root
|
||||
read only = yes
|
||||
{% if wapt_rsync_pass is defined %}
|
||||
auth users = wapt
|
||||
secrets file = /opt/wapt/conf/rsync.secrets
|
||||
{% endif %}
|
Loading…
x
Reference in New Issue
Block a user