yamllint line-lenght and empty-line
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
5540aea87d
commit
a26d6e13cb
|
@ -16,7 +16,8 @@
|
||||||
insertbefore: 'echo'
|
insertbefore: 'echo'
|
||||||
create: true
|
create: true
|
||||||
when:
|
when:
|
||||||
- not (rclocal_content.stdout | regex_search('date \| mail -s (\"|\')boot/reboot of \$\(hostname -s\)'))
|
- not (rclocal_content.stdout
|
||||||
|
| regex_search('date \| mail -s (\"|\')boot/reboot of \$\(hostname -s\)'))
|
||||||
tags:
|
tags:
|
||||||
- misc
|
- misc
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,8 @@
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
|
|
||||||
- name: Fetch root crontab content
|
- name: Fetch root crontab content
|
||||||
command: 'grep "/bin/sh /usr/share/scripts/motd-carp-state.sh" /var/cron/tabs/root'
|
command: >
|
||||||
|
'grep "/bin/sh /usr/share/scripts/motd-carp-state.sh" /var/cron/tabs/root'
|
||||||
check_mode: false
|
check_mode: false
|
||||||
register: root_crontab_content
|
register: root_crontab_content
|
||||||
failed_when: false
|
failed_when: false
|
||||||
|
@ -20,5 +21,5 @@
|
||||||
job: "/bin/sh /usr/share/scripts/motd-carp-state.sh"
|
job: "/bin/sh /usr/share/scripts/motd-carp-state.sh"
|
||||||
disabled: true
|
disabled: true
|
||||||
when:
|
when:
|
||||||
- not (root_crontab_content.stdout | regex_search('/bin/sh /usr/share/scripts/motd-carp-state.sh'))
|
- not (root_crontab_content.stdout
|
||||||
|
| regex_search('/bin/sh /usr/share/scripts/motd-carp-state.sh'))
|
||||||
|
|
Loading…
Reference in a new issue