mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
d47c48e30a
Still compatible with user: but deprecating it so we can have a matching remote_user: in tasks, cannot be user: because of the module of the same name. #3932 Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
42 lines
1.5 KiB
YAML
42 lines
1.5 KiB
YAML
-
|
|
hosts: all
|
|
gather_facts: no
|
|
remote_user: root
|
|
vars:
|
|
color: brown
|
|
tasks:
|
|
- name: test 1
|
|
cron: name="execution test 1" weekday="2,3" minute=0 hour=12 user="root" job="YUMINTERACTIVE=0 /usr/sbin/yum-autoupdate" cron_file=yum-autoupdate state=absent
|
|
tags:
|
|
- cron
|
|
|
|
- name: test 1-1
|
|
cron: name="execution test 1" weekday="2,3" minute=0 hour=12 user="root" job="YUMINTERACTIVE=0 /usr/sbin/yum-autoupdate" cron_file=yum-autoupdate state=absent
|
|
tags:
|
|
- cron
|
|
|
|
- name: test 2-1
|
|
cron: name="execution test 2" weekday="2,3" minute=0 hour=12 user="root" job="YUMINTERACTIVE=0 /usr/sbin/yum-autoupdate" state=absent
|
|
tags:
|
|
- cron
|
|
|
|
- name: test 2-2
|
|
cron: name="execution test 2" weekday="2,3" minute=0 hour=12 user="root" job="YUMINTERACTIVE=0 /usr/sbin/yum-autoupdate" state=absent
|
|
tags:
|
|
- cron
|
|
|
|
- name: test 2-3
|
|
cron: name="execution test 2" weekday="2,3" minute=0 hour=12 user="root" job="YUMINTERACTIVE=0 /usr/sbin/yum-autoupdate"
|
|
tags:
|
|
- cron
|
|
|
|
- name: test 3-1
|
|
cron: name="execution test 3" weekday="2,3" minute=0 hour=12 user="root" job="YUMINTERACTIVE=0 /usr/sbin/yum-autoupdate" cron_file=yum-autoupdate state=absent
|
|
tags:
|
|
- cron
|
|
|
|
- name: test 3-2
|
|
cron: name="execution test 3" weekday="2,3" minute=0 hour=12 user="root" job="YUMINTERACTIVE=0 /usr/sbin/yum-autoupdate" cron_file=yum-autoupdate
|
|
tags:
|
|
- cron
|
|
|