Fixes #3: Fix linting issues, add ansible-lint and yamllint configuration.

This commit is contained in:
Jeff Geerling committed 2020-05-12 16:00:32 -05:00
1 parent bad25d1ba5
commit e47af78bfd
9 files changed
+86 -46

No files matched your search

+7 -7
View File
@@ -11,13 +11,13 @@
regexp: '^(.*rootwait)$'
line: '\1 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory'
backrefs: true
when: ( cmdline.stat.path is defined )
and
( ansible_facts.architecture is search("arm") )
when:
- cmdline.stat.path is defined
- ansible_facts.architecture is search("arm")
register: boot_cmdline
- name: Rebooting on Raspbian
- name: Rebooting on Raspbian
reboot:
when: ( boot_cmdline is changed )
and
( ansible_facts.architecture is search("arm") )
when:
- boot_cmdline | changed
- ansible_facts.architecture is search("arm")