Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Nov 2016 01:27:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 214176] sysutils/ansible: add patch to fix cron module
Message-ID:  <bug-214176-13-xJMSBYFqMb@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-214176-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-214176-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214176

--- Comment #4 from Nikolai Lifanov <lifanov@mail.lifanov.com> ---
Hmm, works for me with 2.2.0.0 on a clean box. Maybe we should MFC 2.2.0.0?

$ ansible -m cron -a 'user=3Dlifanov name=3D"check dirs" minute=3D"0" hour=
=3D"5,2"
job=3D"ls -alh > /dev/null"' 127.0.0.1
 [WARNING]: Host file not found: /usr/local/etc/ansible/hosts

 [WARNING]: provided hosts list is empty, only localhost is available

127.0.0.1 | SUCCESS =3D> {
    "changed": true,=20
    "envs": [],=20
    "jobs": [
        "check dirs"
    ]
}
$ crontab -l
#Ansible: check dirs
0 5,2 * * * ls -alh > /dev/null

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214176-13-xJMSBYFqMb>