Use the .yaml file extension for all YAML files

This commit is contained in:
yuri 2023-05-08 19:55:08 +02:00
commit 1bcb77961b
No known key found for this signature in database
GPG key ID: E646779AC54AEC64
60 changed files with 1 additions and 1 deletions

View file

@ -0,0 +1,12 @@
- name: Detect if on Raspberry Pi
ansible.builtin.lineinfile:
path: /proc/cpuinfo
regexp: ".*Raspberry Pi.*"
state: absent
check_mode: true
register: raspberry_pi_check__cpuinfo
changed_when: false
- name: Fail when not on Raspberry Pi # noqa no-handler
when: not raspberry_pi_check__cpuinfo.found
ansible.builtin.fail:
msg: You are not running on Raspberry Pi hardware!