ansible-homelab/freebsd-update.yml
2025-03-06 23:09:59 -06:00

23 lines
441 B
YAML

---
- hosts: freebsdservers
gather_facts: true
become: true
vars:
jails:
- aa-torrenting
- blocky
- unbound
tasks:
- name: Update all installed packages
community.general.pkgng:
name: "*"
state: latest
- name: Update all installed packages in jails
community.general.pkgng:
name: "*"
state: latest
jail: "{{ item }}"
with_items: "{{ jails }}"