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

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