Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

7 anos atrás
7 anos atrás
7 anos atrás
8 anos atrás
7 anos atrás
12345678910111213141516171819202122232425262728293031
  1. ---
  2. - include_role:
  3. name: chroot_environment
  4. vars:
  5. chroot_environment_state: mounted
  6. when: root_target_directory is defined
  7. - name: default grub settings
  8. template:
  9. src: default-grub.j2
  10. dest: "{{ root_target_directory }}/etc/default/grub"
  11. - name: grub-install
  12. command:
  13. chroot {{ root_target_directory }}
  14. grub-install
  15. {{ lookup('template','grub-install.args.j2') }}
  16. {{ item }}
  17. with_items: "{{ boot_devices }}"
  18. - name: update-grub
  19. command: chroot {{ root_target_directory }} update-grub
  20. - name: update initramfs
  21. command: chroot {{ root_target_directory }} update-initramfs -u
  22. - include_role:
  23. name: chroot_environment
  24. vars:
  25. chroot_environment_state: unmounted
  26. when: root_target_directory is defined