Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/giannisalinetti/silverblue-config-automation
https://github.com/giannisalinetti/silverblue-config-automation
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/giannisalinetti/silverblue-config-automation
- Owner: giannisalinetti
- License: mit
- Created: 2022-08-31T09:31:56.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-02T15:54:46.000Z (over 2 years ago)
- Last Synced: 2024-10-28T06:50:48.332Z (about 2 months ago)
- Language: Python
- Size: 14.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Silverblue Config Automation
This is a personal repository aiming to provion a Fedora Silverblue system according to my customization needs.
This repo is based on the [JayDoubleu](https://github.com/JayDoubleu) [ansiblue work](https://github.com/JayDoubleu/ansiblue)
and on the repository [asmodeo](https://github.com/pbertera/asmodeo) from [Pietro Bertera](https://github.com/pbertera). Kudos for all your work!### Prerequisites
Install ansible on silverblue without rpm-ostree
```
python3 -m ensurepip
python3 -m pip install ansible
```### Configuration
- Edit the `configs/flatpak.yaml` file to customize the list of Flatpak applications installed in the system.
**NOTE**: Flatpak names are case sensitive. While flatpak is ok with it, creation of symlinks will fail.
- Edit the `configs/toolbox.yaml` to customize the toolbox container, including the packages installed inside it.
- Edit the `configs/host.yaml` file to customize the host and add layered packages using `rpm-ostree`.
- Edit the `configs/host_gnome_dconf.yaml` file to customize the host Gnome settings and behavior.
- Edit the `configs/host_gnome_extensions.yaml` to customize the host Gnome extensions.### Run
Run the automation using the command:
```
ansible-playbook main.yaml -K
```**NOTE**: the `-K` option is necessary to elevate user privileges.
### Targeting
It is possible to run only specific customization using Ansible tags:
- `ansible-playbook main.yaml --tags flatpak` <- Run only flatpak tasks
- `ansible-playbook main.yaml --tags toolbox` <- Run only toolbox tasks ( for all toolboxes )
- `ansible-playbook main.yaml --tags fedora-toolbox-35` <- Run only specific toolbox tasks
- `ansible-playbook main.yaml --tags host -K` <- Run only host tasks### Todo
- Fix the sockpty issue for toolbox shim