git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/patch.yaml
blob: a0e97009428b7e92ed5b0d74b67d9b3767824b5c (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
    ansible.builtin.setup:
      filter: "ansible_distribution*"
  - name: Debian Patches
    ansible.builtin.import_role:
      name: "patch_debian"
    when: ansible_distribution_file_variety == "Debian"