diff --git a/ansible/roles/framework_laptop/files/wifi_us_modprobe.conf b/ansible/roles/framework_laptop/files/wifi_us_modprobe.conf new file mode 100644 index 0000000..d2abd4e --- /dev/null +++ b/ansible/roles/framework_laptop/files/wifi_us_modprobe.conf @@ -0,0 +1 @@ +options cfg80211 ieee80211_regdom=US diff --git a/ansible/roles/framework_laptop/tasks/linux.yaml b/ansible/roles/framework_laptop/tasks/linux.yaml index 10a7233..82a08f8 100644 --- a/ansible/roles/framework_laptop/tasks/linux.yaml +++ b/ansible/roles/framework_laptop/tasks/linux.yaml @@ -30,6 +30,7 @@ - iwlwifi - snd_hda_intel - disable_sp5100_watchdog + - wifi_us - name: Configure kernel command line zfs: diff --git a/ansible/roles/kubernetes/files/k8s_remove_finalizers_pipeline_runs b/ansible/roles/kubernetes/files/k8s_remove_finalizers_pipeline_runs new file mode 100644 index 0000000..403922f --- /dev/null +++ b/ansible/roles/kubernetes/files/k8s_remove_finalizers_pipeline_runs @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +# +set -euo pipefail +IFS=$'\n\t' +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" + +kubectl get pipelinerun --all-namespaces -o go-template='{{range .items}}{{.metadata.namespace}}/{{.metadata.name}}{{"\n"}}{{end}}' | while read p; do namespace=$(cut -d '/' -f 1 <<<"$p"); name=$(cut -d '/' -f 2 <<<"$p"); kubectl patch pipelinerun -n "$namespace" "$name" -p '{"metadata":{"finalizers":null}}' --type=merge; done