yamllint line-lenght and empty-line
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Jérémy Dubois 2020-10-23 10:15:57 +02:00
parent 5540aea87d
commit a26d6e13cb
2 changed files with 6 additions and 4 deletions

View File

@ -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

View File

@ -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'))