[Bug 214176] sysutils/ansible: add patch to fix cron module
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Nov 5 01:27:10 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214176
--- Comment #4 from Nikolai Lifanov <lifanov at 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=lifanov name="check dirs" minute="0" hour="5,2"
job="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 => {
"changed": true,
"envs": [],
"jobs": [
"check dirs"
]
}
$ crontab -l
#Ansible: check dirs
0 5,2 * * * ls -alh > /dev/null
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list