aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/kernel_vm
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2021-08-18 12:04:27 +0000
committerpmikus <pmikus@cisco.com>2021-08-18 12:04:27 +0000
commitd41a5490f30a161561c39c4f1b08add17b9cf6f7 (patch)
tree4244f8492f66f5ba1afe1c85c3a55340b125c8f7 /fdio.infra.ansible/roles/kernel_vm
parenta24c98b45ca1e9d56039d7649f65ac31e006d949 (diff)
Infra: Ansible yaml lint cleanup
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: If00b376bd78b7b603d7887c1e149e7dccdb6d217
Diffstat (limited to 'fdio.infra.ansible/roles/kernel_vm')
-rw-r--r--fdio.infra.ansible/roles/kernel_vm/tasks/main.yaml18
1 files changed, 9 insertions, 9 deletions
diff --git a/fdio.infra.ansible/roles/kernel_vm/tasks/main.yaml b/fdio.infra.ansible/roles/kernel_vm/tasks/main.yaml
index 4d1b306e64..78bb822f80 100644
--- a/fdio.infra.ansible/roles/kernel_vm/tasks/main.yaml
+++ b/fdio.infra.ansible/roles/kernel_vm/tasks/main.yaml
@@ -5,8 +5,8 @@
copy:
src: "/etc/initramfs-tools/modules"
dest: "/tmp/initramfs_modules.bkp"
- remote_src: yes
- ignore_errors: yes
+ remote_src: true
+ ignore_errors: true
register: __initramfs_modules_backuped
tags:
- kernel-inst-image
@@ -15,8 +15,8 @@
copy:
src: "/etc/initramfs-tools/conf.d/resume"
dest: "/tmp/initramfs-resume.bkp"
- remote_src: yes
- ignore_errors: yes
+ remote_src: true
+ ignore_errors: true
register: __initramfs_resume_backuped
tags:
- kernel-inst-image
@@ -51,7 +51,7 @@
copy:
src: "/boot/vmlinuz-{{ ansible_kernel }}"
dest: "/opt/boot/vmlinuz-{{ ansible_kernel }}"
- remote_src: yes
+ remote_src: true
tags:
- kernel-inst-image
@@ -59,8 +59,8 @@
copy:
src: "/tmp/initramfs_modules.bkp"
dest: "/etc/initramfs-tools/modules"
- remote_src: yes
- ignore_errors: yes
+ remote_src: true
+ ignore_errors: true
when: __initramfs_modules_backuped
tags:
- kernel-inst-image
@@ -77,8 +77,8 @@
copy:
src: "/tmp/initramfs-resume.bkp"
dest: "/etc/initramfs-tools/conf.d/resume"
- remote_src: yes
- ignore_errors: yes
+ remote_src: true
+ ignore_errors: true
when: __initramfs_resume_backuped
tags:
- kernel-inst-image