Skip to content
Snippets Groups Projects
Unverified Commit 9db4b949 authored by marcosfsch's avatar marcosfsch Committed by GitHub
Browse files

Fedora CoreOS fixes (#7010)

* Fedora CoreOS: Fix for ethtool pre-installed

Fix error in rpm-ostree when ethtool is already insatlled (FCOS >= 32.20201104.3.0)

* Fedora CoreOS: Fix connection lost

Fedora CoreOS: Ignore connection lost due to reboot and continues the playbook
parent 5b5726bd
Branches
Tags
No related merge requests found
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
when: need_bootstrap.rc != 0 when: need_bootstrap.rc != 0
- name: Install required packages on fedora coreos - name: Install required packages on fedora coreos
raw: "export http_proxy={{ http_proxy | default('') }};rpm-ostree install {{ fedora_coreos_packages|join(' ') }}" raw: "export http_proxy={{ http_proxy | default('') }};rpm-ostree install --allow-inactive {{ fedora_coreos_packages|join(' ') }}"
become: true become: true
when: need_bootstrap.rc != 0 when: need_bootstrap.rc != 0
...@@ -44,6 +44,7 @@ ...@@ -44,6 +44,7 @@
raw: "nohup bash -c 'sleep 5s && shutdown -r now'" raw: "nohup bash -c 'sleep 5s && shutdown -r now'"
become: true become: true
ignore_errors: yes ignore_errors: yes
ignore_unreachable: yes
when: need_bootstrap.rc != 0 when: need_bootstrap.rc != 0
- name: Wait for the reboot to complete - name: Wait for the reboot to complete
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment