summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2024-01-08 15:16:46 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2024-01-08 15:16:46 +0000
commitee378cfa11cc746a6a36670ed3e7aab695da4b31 (patch)
treeaadca33ca7eb5ab41ee51f0c2a4c72aff0004220
parentd7f4419470d4caf606999526621cc1a58fb00c13 (diff)
downloadvyos-vm-images-ee378cfa11cc746a6a36670ed3e7aab695da4b31.tar.gz
vyos-vm-images-ee378cfa11cc746a6a36670ed3e7aab695da4b31.zip
ansible remove legacy shell ars warning
On the newest systems like Debian12 the asnible shell args: warn is legacy It cause of ``` TASK [install-grub : Mount and bind /dev /proc /sys and /mnt/wroot/boot to /mnt/inst_root] ********************************************************************************************** fatal: [localhost]: FAILED! => {"changed": false, "msg": "Unsupported parameters for (ansible.legacy.command) module: warn. Supported parameters include: _raw_params, _uses_shell, argv, chdir, creates, executable, removes, stdin, stdin_add_newline, strip_empty_ends."} ``` Delete args: warn
-rw-r--r--roles/install-grub/tasks/main.yml2
1 files changed, 0 insertions, 2 deletions
diff --git a/roles/install-grub/tasks/main.yml b/roles/install-grub/tasks/main.yml
index 75de819..575dfbf 100644
--- a/roles/install-grub/tasks/main.yml
+++ b/roles/install-grub/tasks/main.yml
@@ -15,8 +15,6 @@
mount --bind /proc {{ vyos_install_root }}/proc &&
mount --bind /sys {{ vyos_install_root }}/sys &&
mount --bind {{ vyos_write_root }} {{ vyos_install_root }}/boot
- args:
- warn: no
- name: Create efi directory
become: true