Re: ansible: openbsd_pkg fails to run when just specifying the package name

2016-10-22 Thread Daniel Jakots
On Tue, 18 Oct 2016 20:13:27 +0200, Jasper Lievisse Adriaanse wrote: > So this diff below is a sync with upstream devel as of right now Please go ahead, it unbreaks ansible. ok danj@ Cheers, Daniel

Re: ansible: openbsd_pkg fails to run when just specifying the package name

2016-10-18 Thread Jasper Lievisse Adriaanse
On Tue, Oct 18, 2016 at 07:58:00AM +0200, Patrik Lundin wrote: > On Tue, Oct 18, 2016 at 06:30:41AM +0200, Jasper Lievisse Adriaanse wrote: > > > > I was hoping that 2.2.0.0 would be released soon, but it seems upstream > > enjoys > > many a rc over a lengthy period of time. So perhaps syncing the

Re: ansible: openbsd_pkg fails to run when just specifying the package name

2016-10-18 Thread Patrik Lundin
On Tue, Oct 18, 2016 at 09:19:22AM +0200, Landry Breuil wrote: > > So the original idea was more or less to use -z to 'fake' branch > support when it wasnt existing. > Maby this is a good time to retire the local patch if the branch syntax solves those problems for newer systems? > As for pkg_i

Re: ansible: openbsd_pkg fails to run when just specifying the package name

2016-10-18 Thread Landry Breuil
On Tue, Oct 18, 2016 at 07:58:00AM +0200, Patrik Lundin wrote: > On Tue, Oct 18, 2016 at 06:30:41AM +0200, Jasper Lievisse Adriaanse wrote: > > > > I was hoping that 2.2.0.0 would be released soon, but it seems upstream > > enjoys > > many a rc over a lengthy period of time. So perhaps syncing the

Re: ansible: openbsd_pkg fails to run when just specifying the package name

2016-10-17 Thread Patrik Lundin
On Tue, Oct 18, 2016 at 06:30:41AM +0200, Jasper Lievisse Adriaanse wrote: > > I was hoping that 2.2.0.0 would be released soon, but it seems upstream enjoys > many a rc over a lengthy period of time. So perhaps syncing the openbsd_pkg > provider with master would be the way to go. > This would b

Re: ansible: openbsd_pkg fails to run when just specifying the package name

2016-10-17 Thread Jasper Lievisse Adriaanse
On Mon, Oct 17, 2016 at 08:55:38PM +0200, Patrik Lundin wrote: > On Mon, Oct 17, 2016 at 06:58:26PM +0200, Jasper Lievisse Adriaanse wrote: > > On Mon, Oct 17, 2016 at 02:59:43PM +0200, Sebastien Marie wrote: > > > Hi, > > > > > > With the latest update of ansible (ansible-2.1.2.0->2.1.2.0p3), I >

Re: ansible: openbsd_pkg fails to run when just specifying the package name

2016-10-17 Thread Patrik Lundin
On Mon, Oct 17, 2016 at 06:58:26PM +0200, Jasper Lievisse Adriaanse wrote: > On Mon, Oct 17, 2016 at 02:59:43PM +0200, Sebastien Marie wrote: > > Hi, > > > > With the latest update of ansible (ansible-2.1.2.0->2.1.2.0p3), I > > experiment failure in the use of `openbsd_pkg' module. > > > > The ex

Re: ansible: openbsd_pkg fails to run when just specifying the package name

2016-10-17 Thread Jasper Lievisse Adriaanse
On Mon, Oct 17, 2016 at 02:59:43PM +0200, Sebastien Marie wrote: > Hi, > > With the latest update of ansible (ansible-2.1.2.0->2.1.2.0p3), I > experiment failure in the use of `openbsd_pkg' module. > > The exception occurs when specifying a package name without version or > branch (like juste "sy

ansible: openbsd_pkg fails to run when just specifying the package name

2016-10-17 Thread Sebastien Marie
Hi, With the latest update of ansible (ansible-2.1.2.0->2.1.2.0p3), I experiment failure in the use of `openbsd_pkg' module. The exception occurs when specifying a package name without version or branch (like juste "sysclean"). The code will assume branch syntax and will fail at extracting branch