yamllint line-lenght and empty-line
Some checks failed
continuous-integration/drone/push Build is failing

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

View file

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