-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update playbooks to support Fedora 41 and Ubuntu 24.04, change device…
…s from Zigbee2Tasmota to Zigbee Home Automation (ZHA) (#33) * Change devices from Zigbee2Tasmota to Zigbee Home Automation (ZHA) * add thermostats * Fedora 41 * Ubuntu 24.04 * Fix dnf5 * fix ubuntu 24.04 * fix fedora * fix docker * fix libvirt role * test without vagrant * ubuntu fix for pip * ubuntu fix for pip v2 * fix jenkins and docker * revert vagrant * Add some info to readme * update aws-cli to python3.12 * last fix to vagrant * remove python 3.11 from dnf apps * update readme
- Loading branch information
Showing
30 changed files
with
457 additions
and
249 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,30 @@ | ||
--- | ||
- name: Install Docker deps | ||
package: | ||
name: "dnf-plugins-core" | ||
state: present | ||
# - name: Install Docker deps | ||
# package: | ||
# name: "dnf-plugins-core" | ||
# state: present | ||
|
||
- name: Add docker yum repo | ||
shell: | | ||
dnf config-manager \ | ||
--add-repo \ | ||
https://download.docker.com/linux/fedora/docker-ce.repo | ||
# - name: Add docker yum repo | ||
# shell: | | ||
# dnf config-manager \ | ||
# --add-repo \ | ||
# https://download.docker.com/linux/fedora/docker-ce.repo | ||
|
||
- name: Check releasever | ||
shell: | | ||
dnf config-manager --dump-variables | grep releasever | awk '{print $NF}' | ||
register: releasever_check | ||
ignore_errors: true | ||
- name: Download docker-ce.repo archive | ||
get_url: | ||
url: "https://download.docker.com/linux/fedora/docker-ce.repo" | ||
dest: "/etc/yum.repos.d/docker-ce.repo" | ||
mode: 644 | ||
|
||
- name: Overwrite Fedora release version in yum repo URL (37 doesn't exist yet) | ||
ansible.builtin.replace: | ||
path: /etc/yum.repos.d/docker-ce.repo | ||
regexp: '\$releasever' | ||
replace: '40' | ||
when: releasever_check.stdout == "rawhide" | ||
# - name: Check releasever | ||
# shell: | | ||
# dnf config-manager --dump-variables | grep releasever | awk '{print $NF}' | ||
# register: releasever_check | ||
# ignore_errors: true | ||
|
||
# - name: Overwrite Fedora release version in yum repo URL (37 doesn't exist yet) | ||
# ansible.builtin.replace: | ||
# path: /etc/yum.repos.d/docker-ce.repo | ||
# regexp: '\$releasever' | ||
# replace: '41' | ||
# when: releasever_check.stdout == "rawhide" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.