git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/patch.yaml
blob: 5fa350f7c210dffaf6b6ff35716f5a1a50110f08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
# You may want to change the default to your favourite host (group) you run this on the most.
- hosts: "{{ rthosts | default('CHANGE_ME') }}"
  order: inventory
  gather_facts: false
  # default: all in first step, but that shit requires (int)
  serial: 666
  tasks:
  - name: Gather necessary facts
    setup:
      filter: "ansible_distribution*"
  - name: Debian Patches
    ansible.builtin.import_role:
      name: "patch_debian"
    when: ansible_distribution_file_variety == "Debian"