ansible-homelab/freebsd-update.yml

21 lines
410 B
YAML

---
- hosts: freebsdservers
gather_facts: true
become: true
vars:
jails:
- aa-torrenting
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 }}"