Migrate from old repository
This commit is contained in:
commit
4a304d486a
16 changed files with 516 additions and 0 deletions
40
tasks/pkg_Debian.yml
Normal file
40
tasks/pkg_Debian.yml
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
---
|
||||
- name: install common packages (debian)
|
||||
apt:
|
||||
name:
|
||||
- ca-certificates
|
||||
- apt-transport-https
|
||||
- curl
|
||||
# - docker.io
|
||||
- haveged
|
||||
- htop
|
||||
- gpg
|
||||
- iptables
|
||||
- iptables-persistent
|
||||
- msmtp-mta
|
||||
- nginx
|
||||
- openssh-server
|
||||
- python3-apt
|
||||
- python3-docker
|
||||
- python3-openssl
|
||||
- rng-tools5
|
||||
- watchdog
|
||||
- wget
|
||||
state: present
|
||||
update_cache: yes
|
||||
|
||||
- name: ensure netfilter-persistent is enabled
|
||||
service:
|
||||
name: netfilter-persistent
|
||||
enabled: yes
|
||||
state: started
|
||||
tags:
|
||||
- pkg
|
||||
|
||||
- name: configure msmtp
|
||||
template:
|
||||
src: msmtprc.j2
|
||||
dest: /etc/msmtprc
|
||||
when: "'scouts' not in group_names"
|
||||
tags:
|
||||
- pkg
|
||||
Loading…
Add table
Add a link
Reference in a new issue