Move phpvms local files into remote source

This commit is contained in:
Tobias Reisinger 2026-11-12 00:09:42 +01:00
commit 3e468073a6
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
3 changed files with 10 additions and 4 deletions

View file

@ -15,6 +15,10 @@ phpvms_assets_url: "{{ undef() }}"
phpvms_other_modules_json: "[]" phpvms_other_modules_json: "[]"
phpvms_other_modules: "{{ phpvms_other_modules_json | from_json }}" phpvms_other_modules: "{{ phpvms_other_modules_json | from_json }}"
phpvms_acars_module_src: "{{ undef() }}"
phpvms_sptheme_src: "{{ undef() }}"
phpvms_sptheme_dspack_src: "{{ undef() }}"
phpvms_svc: phpvms_svc:
domain: "{{ phpvms_domain }}" domain: "{{ phpvms_domain }}"
port: 80 port: 80

View file

@ -1 +0,0 @@
*.tar.gz

View file

@ -46,7 +46,8 @@
# You must provide this file yourself. # You must provide this file yourself.
- name: Load VMSArcas module - name: Load VMSArcas module
ansible.builtin.unarchive: ansible.builtin.unarchive:
src: vmsacars.tar.gz src: "{{ phpvms_acars_module_src }}"
remote_src: true
dest: "{{ (service_path, 'modules') | path_join }}" dest: "{{ (service_path, 'modules') | path_join }}"
owner: "{{ phpvms_uid }}" owner: "{{ phpvms_uid }}"
group: "{{ phpvms_gid }}" group: "{{ phpvms_gid }}"
@ -107,7 +108,8 @@
# You must provide this file yourself. # You must provide this file yourself.
- name: Load SPTheme - name: Load SPTheme
ansible.builtin.unarchive: ansible.builtin.unarchive:
src: phpvms7_SPTheme.tar.gz src: "{{ phpvms_sptheme_src }}"
remote_src: true
dest: "{{ service_path }}" dest: "{{ service_path }}"
exclude: exclude:
- README.md - README.md
@ -130,7 +132,8 @@
# You must provide this file yourself. # You must provide this file yourself.
- name: Load SPTheme DSPack - name: Load SPTheme DSPack
ansible.builtin.unarchive: ansible.builtin.unarchive:
src: phpvms7_SPTheme_DSPack.tar.gz src: "{{ phpvms_sptheme_dspack_src }}"
remote_src: true
dest: "{{ service_path }}" dest: "{{ service_path }}"
exclude: exclude:
- README.md - README.md