On 5/11/19 7:37 PM, Kai Stian Olstad wrote:
> On 11.05.2019 19:15, Kai Stian Olstad wrote:
>> On 11.05.2019 18:38, Michael Ströder wrote:
>>> I'm testing my ansible roles with ansible 2.8rc3.
>>> The roles work with ansible 2.7.10.
>>>
>>> This cron task fails with 2.8rc3 using Python 2.7.16 (see details
>>> attached at message end):
>>>
>>> - name: "Remove obsolete CRON jobs from /etc/cron.d/aedir_tools"
>>> cron:
>>> name: "{{ item }}"
>>> state: absent
>>> cron_file: aedir_tools
>>> with_items:
>>> - aedirpwd_cron
>>> - aedirpwd_expiry_check
>>>
>>> What's wrong with that?
>>> [..]
>>> "msg": "missing parameter(s) required by 'cron_file': user"
>>
>> As the message say you are missing the user parameter, per documentation
>> this is required.
>>
>> That said, the user parameter is irrelevant when state is absent so I would
>> call this a bug.
>
> Here is the culprit PR
> https://github.com/ansible/ansible/pull/28662
Hmm, should I file a bug?
Ciao, Michael.
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/ce628cef-16aa-85bb-4ced-2aa63fdd4e9b%40stroeder.com.
For more options, visit https://groups.google.com/d/optout.