Fix setup task
This commit is contained in:
parent
cea9437258
commit
1b18523662
1 changed files with 2 additions and 2 deletions
|
|
@ -139,12 +139,12 @@
|
||||||
dest: "{{ item.dest }}"
|
dest: "{{ item.dest }}"
|
||||||
mode: "0755"
|
mode: "0755"
|
||||||
loop: "{{ modprobe_templates }}"
|
loop: "{{ modprobe_templates }}"
|
||||||
when: modprobe_templates
|
when: "modprobe_templates | length > 0"
|
||||||
|
|
||||||
- name: Copy kernel parameters template
|
- name: Copy kernel parameters template
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: "templates/{{ ansible_hostname }}/cmdline.j2"
|
src: "templates/{{ ansible_facts['hostname'] }}/cmdline.j2"
|
||||||
dest: "/etc/kernel/cmdline"
|
dest: "/etc/kernel/cmdline"
|
||||||
mode: "0755"
|
mode: "0755"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue