On Thu, 2019-05-09 at 13:08 +0100, Daniel P. Berrangé wrote:
> On Tue, May 07, 2019 at 03:17:40PM +0200, Andrea Bolognani wrote:
> > - name: Bootstrap Ansible
> > - raw: 'yum install -y {{ python }}'
> > - when:
> > - - package_format == 'rpm'
> > -
> > -- name: Bootstrap Ansible
> > - raw: 'apt-get install -y {{ python }}'
> > - when:
> > - - package_format == 'deb'
> > -
> > -- name: Bootstrap Ansible
> > - raw: 'pkg install -y {{ python }}'
> > - when:
> > - - package_format == 'pkg'
> > + raw: '{{ package_manager }} install -y {{ python }}'
>
> Heh, rather amuzing that all three package managers happen to support
> the same "install -y" command syntax.
"We don't make mistakes, just happy little accidents." :)
--
Andrea Bolognani / Red Hat / Virtualization
--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list