Skip to content

Instantly share code, notes, and snippets.

View roib20's full-sized avatar
🆔
develeaper

roib20

🆔
develeaper
View GitHub Profile
@roib20
roib20 / ppa-repo-playbook.yaml
Created May 25, 2023 14:58
Adding Mozilla PPA repository using the new `deb822_repository` Ansible module
---
- hosts: localhost
connection: local
gather_facts: true
tasks:
- name: Add PPA repositories
when: ansible_distribution == 'Ubuntu'
become: true
block:
@roib20
roib20 / apt-repo-playbook.yaml
Last active May 1, 2024 16:45
Example usages of the new `deb822_repository` Ansible module
---
- hosts: localhost
connection: local
gather_facts: true
tasks:
- name: Add APT repositories
when: ansible_os_family == 'Debian'
become: true
block: