mirror of
https://github.com/k3s-io/k3s-ansible.git
synced 2025-12-25 00:12:37 +01:00
Fixes #3: Fix linting issues, add ansible-lint and yamllint configuration.
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user