-
Notifications
You must be signed in to change notification settings - Fork 111
Expand file tree
/
Copy pathsn11.yml
More file actions
44 lines (44 loc) · 1.3 KB
/
sn11.yml
File metadata and controls
44 lines (44 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
---
- name: Galaxy DB server
hosts: sn11
become: true
vars:
hostname: sn11.galaxyproject.eu
vars_files:
- secret_group_vars/all.yml
- group_vars/sn11.yml
- secret_group_vars/sn11.yml
- mounts/dest/all.yml
- mounts/mountpoints.yml
collections:
- devsec.hardening
pre_tasks:
- name: Add mosh service config for FirewallD
ansible.builtin.copy:
content: '{{ firewall_mosh_service }}'
dest: /etc/firewalld/services/mosh.xml
post_tasks:
- name: Ensure PostgreSQL is allowed on the firewall
ansible.builtin.firewalld:
service: postgresql
permanent: true
state: enabled
immediate: true
roles:
- geerlingguy.repo-epel
- role: usegalaxy_eu.handy.os_setup
vars:
enable_hostname: true
enable_powertools: true # geerlingguy.repo-epel role doesn't enable PowerTools repository
enable_install_software: true # Some extra admin tools (*top, vim, etc)
- usegalaxy-eu.dynmotd
- influxdata.chrony
- hxr.monitor-email
- usegalaxy-eu.autoupdates # keep all of our packages up to date
- usegalaxy-eu.autofs
- ssh-host-sign
- usegalaxy-eu.ansible-postgresql
- dj-wasabi.telegraf
- ssh_hardening
- usegalaxy_eu.disable_memory_overcommit
- usegalaxy_eu.firewall