On Wed, Dec 11, 2019 at 4:29 PM Dominik Holler <dholler@redhat.com> wrote:


On Wed, Nov 27, 2019 at 8:37 AM Ondra Machacek <omachace@redhat.com> wrote:
Hello,

we are going to merge a series of patches to master branch, which
integrates ansible-runner with oVirt engine. When the patches will be
merged you will need to install new package called ansible-runner-
service-dev, and follow instructions so your dev-env will keep working
smoothly(all relevant info will be also in README.adoc):

1) sudo dnf update ovirt-release-master

2) sudo dnf install -y ansible-runner-service-dev


"dnf install -y ansible-runner-service-dev" did not work for me on fedora 29.

You need to have at least FC30, because ansible-runner on FC29 is too old
I created manually the file /etc/yum.repos.d/centos.repo:
[centos-ovirt44-testing]
name=CentOS-7 - oVirt 4.4
baseurl=http://cbs.centos.org/repos/virt7-ovirt-44-testing/$basearch/os/
gpgcheck=0
enabled=1

which made the ansible-runner-service-dev available.
 
3) Edit `/etc/ansible-runner-service/config.yaml` file as follows:

   ---
   playbooks_root_dir:
'$PREFIX/share/ovirt-engine/ansible-runner-service-project'
   ssh_private_key: '$PREFIX/etc/pki/ovirt-engine/keys/engine_id_rsa'
   port: 50001
   target_user: root

Where `$PREFIX` is the prefix of your development environment prefix,
which you've specified during the compilation of the engine.

4) Restart and enable ansible-runner-service:

   # systemctl restart ansible-runner-service
   # systemctl enable ansible-runner-service

That's it, your dev-env should start using the ansible-runner-service
for host-deployment etc.

Please note that only Fedora 30/31 and Centos7 was packaged, and are
natively supported!

Thanks,
Ondra
_______________________________________________
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/AFKGTV4WDNONLND63RR6YMSMV4FJQM4L/
_______________________________________________
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/RMNEQG7KNFWSQX4REN3JN34ED4KTGYRH/


--
Martin Perina
Manager, Software Engineering
Red Hat Czech s.r.o.