Skip to content

Commit

Permalink
add vagrant worarounds for broken-ish grub on Debian
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Feb 11, 2021
1 parent 07f4de6 commit 8752ff0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions pipelines/install/02-setup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- ../vars/install_base.yml
- ../vars/repos_staging.yml
roles:
- role: vagrant_workarounds
- role: forklift_versions
scenario: "{{ pipeline_type }}"
scenario_os: "{{ pipeline_os }}"
Expand Down
1 change: 1 addition & 0 deletions pipelines/upgrade/02-setup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- ../vars/upgrade_base.yml
- ../vars/repos_release.yml
roles:
- role: vagrant_workarounds
- role: forklift_versions
scenario: "{{ pipeline_type }}"
scenario_os: "{{ pipeline_os }}"
Expand Down
9 changes: 9 additions & 0 deletions roles/vagrant_workarounds/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
- name: make grub not care that it can't be installed
debconf:
name: grub-pc
question: grub-pc/install_devices_empty
value: 'true'
vtype: boolean
when:
- ansible_os_family == 'Debian'

0 comments on commit 8752ff0

Please sign in to comment.