Add new modules to phpvms

This commit is contained in:
Tobias Reisinger 2026-11-10 19:14:04 +01:00
commit 3cea4f6076
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
3 changed files with 16 additions and 4 deletions

View file

@ -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 }}"

View file

@ -1,3 +1 @@
phpvms7_SPTheme.tar.gz
phpvms7_SPTheme_DSPack.tar.gz
vmsacars.tar.gz
*.tar.gz

View file

@ -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