Usually when you deploy via cockpit, the last step allows you to edit the playbook (I'm not sure if it was only for gluster or overall). Otherwise, you have to find the ansible playbooks on the host where the deployment is going on .
On my 4.3 host there is a directory named: /usr/share/ansible/roles/ovirt.hosted_engine_setup I guess you can run a grep in that dir (use -R for recursive) to find the task name that failed /it's in your previous e-mail/ and then I guess you can put it somewhere before that. Best Regards, Strahil Nikolov В вторник, 10 ноември 2020 г., 17:45:48 Гринуич+2, Matteo Bonardi <[email protected]> написа: Hi Strahil, How can I define that task and pass it to the deploy? Thanks, Matteo Il mar 10 nov 2020, 16:33 Strahil Nikolov <[email protected]> ha scritto: > Did anyone try to define a task to deploy the variables in the HostedEngine > before the task? > > For example (take only the task): > --- > - name: Deploy proxy > hosts: localhost > tasks: > - name: Deploy_proxy > blockinfile: > block: > http_proxy=http://myproxy.localdomain:3399 > https_proxy=https://myproxy.localdomain:3340 > no_proxy=localhost > create: True > mode: "0444" > owner: "root" > selevel: "s0" > serole: "object_r" > setype: "bin_t" > seuser: "system_u" > state: "present" > path: "/etc/profile.d/proxy.sh" > delegate_to: localhost > > And the result is: > [root@engine ~]# echo $http_proxy > http://myproxy.localdomain:3399 > [root@engine ~]# echo $https_proxy > https://myproxy.localdomain:3340 > [root@engine ~]# echo $no_proxy > localhost > > > Best Regards, > Strahil Nikolov > > > > > > > > В вторник, 10 ноември 2020 г., 12:17:52 Гринуич+2, Gianluca Cecchi > <[email protected]> написа: > > > > > > On Tue, Nov 10, 2020 at 8:55 AM Matteo Bonardi <[email protected]> wrote: >>> On Tue, Nov 10, 2020 at 9:14 AM Matteo Bonardi <mbona92(a)gmail.com> >>> wrote: >>> >>> Someone recently reported on this list that setting both environment >>> variables http_proxy and https_proxy worked for them. >> >> > > yes it was me here: > https://lists.ovirt.org/archives/list/[email protected]/message/D5WQSM7OZNKJQK3L5CN367W2TRVZZVHZ/ > > But in my case it was simpler because the engine was external. > With hosted engine it is indeed a problem that should be addressed I think > > Gianluca > > > _______________________________________________ > Users mailing list -- [email protected] > To unsubscribe send an email to [email protected] > Privacy Statement: https://www.ovirt.org/privacy-policy.html > oVirt Code of Conduct: > https://www.ovirt.org/community/about/community-guidelines/ > List Archives: > https://lists.ovirt.org/archives/list/[email protected]/message/RJ4MQDQDJUNE67FHXI5C5SP62FO6RTLY/ > > _______________________________________________ Users mailing list -- [email protected] To unsubscribe send an email to [email protected] Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/[email protected]/message/6BA7XRPZAXV3F6ND2FSXSAQFJZXJD5EW/

