Add new modules to phpvms
This commit is contained in:
parent
1e7242427a
commit
3cea4f6076
4 changed files with 16 additions and 4 deletions
|
|
@ -12,6 +12,8 @@ phpvms_app_key: "{{ undef() }}"
|
|||
phpvms_domain: "kondor-virtual.de"
|
||||
|
||||
phpvms_assets_url: "{{ undef() }}"
|
||||
phpvms_other_modules_json: "[]"
|
||||
phpvms_other_modules: "{{ phpvms_other_modules_json | from_json }}"
|
||||
|
||||
phpvms_svc:
|
||||
domain: "{{ phpvms_domain }}"
|
||||
|
|
|
|||
4
playbooks/roles/phpvms/files/.gitignore
vendored
4
playbooks/roles/phpvms/files/.gitignore
vendored
|
|
@ -1,3 +1 @@
|
|||
phpvms7_SPTheme.tar.gz
|
||||
phpvms7_SPTheme_DSPack.tar.gz
|
||||
vmsacars.tar.gz
|
||||
*.tar.gz
|
||||
|
|
|
|||
|
|
@ -54,6 +54,18 @@
|
|||
notify: Restart service {{ service_name }}
|
||||
when: service_name == role_name # Only use on the "main" instance
|
||||
|
||||
# You must provide this files yourself.
|
||||
- name: Load other modules
|
||||
ansible.builtin.unarchive:
|
||||
src: "{{ item }}"
|
||||
dest: "{{ (service_path, 'modules') | path_join }}"
|
||||
owner: "{{ phpvms_uid }}"
|
||||
group: "{{ phpvms_gid }}"
|
||||
remote_src: "{{ item.startswith('https://') }}"
|
||||
become: true
|
||||
notify: Restart service {{ service_name }}
|
||||
loop: "{{ phpvms_other_modules | default([]) }}"
|
||||
|
||||
- name: Load DisposableBasic
|
||||
ansible.builtin.unarchive:
|
||||
src: https://github.com/FatihKoz/DisposableBasic/releases/download/v3.7.4/DisposableBasic.zip
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ vikunja_yml:
|
|||
mailer:
|
||||
enabled: true
|
||||
host: "{{ mailer.host }}"
|
||||
port: "{{ mailer.port }}"
|
||||
port: "{{ mailer.port | string }}"
|
||||
username: "{{ opentofu.mailcow_data.vikunja.address }}"
|
||||
password: "{{ opentofu.mailcow_data.vikunja.password }}"
|
||||
fromemail: "{{ opentofu.mailcow_data.vikunja.address }}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue