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'
|
||||
create: true
|
||||
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:
|
||||
- misc
|
||||
|
||||
|
|
|
@ -8,7 +8,8 @@
|
|||
mode: '0755'
|
||||
|
||||
- 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
|
||||
register: root_crontab_content
|
||||
failed_when: false
|
||||
|
@ -20,5 +21,5 @@
|
|||
job: "/bin/sh /usr/share/scripts/motd-carp-state.sh"
|
||||
disabled: true
|
||||
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