deploy-base/play.yml

18 lines
780 B
YAML
Raw Permalink Normal View History

2019-02-26 03:49:51 +00:00
---
2023-08-31 01:48:50 +00:00
- hosts: "{{ target | default('all') }}" # target inventory group, default all
gather_facts: yes
vars:
2023-08-31 01:48:50 +00:00
# auto_update: "true" # would configure dnf-automatic
# hardened_ssh_port: "1181" # tcp is assumed in selinux/firewalld allowance
2023-08-31 01:48:50 +00:00
URL_PUBKEYS: "https://github.com/joshlay.keys" # https://github.com/user.keys
2019-02-26 03:49:51 +00:00
roles:
- {role: btrfs} # sets up scrubbing
2019-02-26 03:49:51 +00:00
- {role: bootstrap}
- {role: tuned}
- {role: install-packages}
2023-08-31 01:48:50 +00:00
- {role: update-packages} # depends on 'is_atomic' in bootstrap
- {role: fedora-upgrade} # consider renaming to dist-upgrade / supporting more than fedora
- {role: create-user} # this should always follow packages; they often provide groups the user may want to join
2019-02-26 03:49:51 +00:00
- {role: hardening}
2023-08-31 01:48:50 +00:00
- {role: docker}