Fix linter issues and add CI badge #22

Merged
otthorn merged 12 commits from fix_linter_issues into master 2021-02-16 18:23:30 +01:00
Showing only changes of commit da1fa70e55 - Show all commits

View file

@ -20,7 +20,7 @@
- name: DEBUG - name: DEBUG
debug: debug:
msg: "{{ ansible_facts['nodename'] }} : {{ result.stdout }}" msg: "{{ ansible_facts['nodename'] }} : {{ result.stdout }}"
when: result.stdout != "" when: result.stdout is defined
# Add info line by line # Add info line by line
- name: Dump all info into the local file - name: Dump all info into the local file
@ -28,4 +28,4 @@
lineinfile: lineinfile:
path: /tmp/ansible_dump_reboot_needed.txt path: /tmp/ansible_dump_reboot_needed.txt
line: "{{ ansible_facts['nodename'] }} : {{ result.stdout }}" line: "{{ ansible_facts['nodename'] }} : {{ result.stdout }}"
when: result.stdout != "" when: result.stdout is defined