New install for test and error on task copy static files

1 view
Skip to first unread message

Michele Salerno

unread,
Nov 30, 2025, 5:46:46 PM (2 days ago) Nov 30
to OpenWISP
Hi,

i run new playbook with new openwisp and i have this error:

TASK [openwisp.openwisp2 : Copy static files]
*********************************************************************************************************************************
[ERROR]: Task failed: Unexpected AnsibleActionFail error: Could not find
or access 'ow2_static/'
Searched in:
/git/openwisp-local-25.10.0/roles/openwisp.openwisp2/files/ow2_static/
/git/openwisp-local-25.10.0/roles/openwisp.openwisp2/ow2_static/
/git/openwisp-local-25.10.0/roles/openwisp.openwisp2/tasks/files/ow2_static/

/git/openwisp-local-25.10.0/roles/openwisp.openwisp2/tasks/ow2_static/
/git/openwisp-local-25.10.0/files/ow2_static/
/git/openwisp-local-25.10.0/ow2_static/ on the Ansible Controller.
If you are using a module and expect the file to exist on the remote,
see the remote_src option
Origin:
/git/openwisp-local-25.10.0/roles/openwisp.openwisp2/tasks/django.yml:163:3

161     - openwisp2_theme
162
163 - name: Copy static files
      ^ column 3

fatal: [controller.nnxx.ninux.org]: FAILED! => {"changed": false, "msg":
"Unexpected AnsibleActionFail error: Could not find or access
'ow2_static/'\nSearched
in:\n\t/git/openwisp-local-25.10.0/roles/openwisp.openwisp2/files/ow2_static/\n\t/git/openwisp-local-25.10.0/roles/openwisp.openwisp2/ow2_static/\n\t/git/openwisp-local-25.10.0/roles/openwisp.openwisp2/tasks/files/ow2_static/\n\t/git/openwisp-local-25.10.0/roles/openwisp.openwisp2/tasks/ow2_static/\n\t/git/openwisp-local-25.10.0/files/ow2_static/\n\t/git/openwisp-local-25.10.0/ow2_static/
on the Ansible Controller.\nIf you are using a module and expect the
file to exist on the remote, see the remote_src option"}

PLAY RECAP
********************************************************************************************************************************************************************
controller.nnxx.ninux.org  : ok=83   changed=3    unreachable=0
failed=1    skipped=44   rescued=0    ignored=0


My system is debian Trixie (fresh install)


more requirements.yml

---
collections:
  - name: community.general
    version: ">=3.6.0"
  - name: ansible.posix
roles:
  - name: openwisp.openwisp2
  - name: geerlingguy.postgresql
  - src: https://github.com/openwisp/ansible-wireguard-openwisp.git

Reply all
Reply to author
Forward
0 new messages