Skip to content

Instantly share code, notes, and snippets.

@timlau
timlau / f35-setup-root.yaml
Last active Nov 22, 2021
Fedora 35 Setup using Ansible
View f35-setup-root.yaml
---
- name: "Setup local Fedora 35 system (root)"
hosts: localhost
connection: local
tasks:
- name: Set hostname to FedoraBox
ansible.builtin.hostname:
name: FedoraBox
use: systemd
@timlau
timlau / group-api.py
Last active Aug 29, 2015
Dnf 0.5.0 group remove api test
View group-api.py
from __future__ import print_function
import sys
# insert your own dnf git checkout build path here
sys.path.insert(0, '/home/tim/udv/tmp/dnf/dnf')
import dnf
class DnfBase(dnf.Base):
'''