Hi Manukumar,
since it is a permission denied error, it could be that the used account
has not root privileges on the server or the user is not in the sudoers
group.
On the server execute:
$apt install sudo -y
$usermod -a -G sudo <user name>
Also, pass the --ask-pass and --ask-become-pass option to your ansible call
and do not forget the line *become: "{{ become | default('yes') }}"*, that
means ansible will use the sudo program to run each command (see Create
playbook file
<https://github.com/openwisp/ansible-openwisp2#create-playbook-file>). Hope
it helps.
Hagen
[email protected] schrieb am Freitag, 18. März 2022 um 08:57:24 UTC+1:
> Greetings of the day...
> Dear sir,
>
> When I run the ansible, I'm getting an error attached in the below mail.
> What should I do?
> and how the migration is happening? Because I have done some changes in
> the *model* and *schema* in the *Device Monitoring app*. But it's not
> reflecting in the dashboard. I know that you are busy doing things, I have
> gone through the documentation but I couldn't get the answer for solving
> this error and also please let me know the information for how to pass more
> variables in models.
>
> Thank you in advance.
>
> Regards,
> Manukumar N M
>
>
>
>
--
You received this message because you are subscribed to the Google Groups
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web, visit
https://groups.google.com/d/msgid/openwisp/c5a1fe01-6d5b-4056-92e7-cb40ea228809n%40googlegroups.com.