24 lines
476 B
YAML
24 lines
476 B
YAML
---
|
|
- name: Preps Playbook
|
|
hosts: lxd_hosts
|
|
become: true
|
|
roles:
|
|
- fail2ban
|
|
tasks:
|
|
- name: PREPS -- install needed packages
|
|
become: true
|
|
package:
|
|
state: present
|
|
name: '{{ item }}'
|
|
with_items:
|
|
- unattended-upgrades
|
|
- zfsutils-linux # needed for lxd
|
|
- name: PREPS -- install lxd snap
|
|
become: true
|
|
snap:
|
|
name: lxd
|
|
- name: Add user 'git'
|
|
become: true
|
|
user:
|
|
name: git
|