public-health-ch/ansible/harden.yaml

12 lines
272 B
YAML
Raw Normal View History

2017-04-24 12:22:51 +00:00
- hosts: webservers
become: True
gather_facts: True
2018-12-18 00:05:58 +00:00
vars:
ssh_server_ports: "{{ vault_ssh_server_ports }}"
nginx_add_header: []
2017-04-24 12:22:51 +00:00
roles:
- role: dev-sec.os-hardening
- role: dev-sec.ssh-hardening
become: yes
2018-12-18 00:05:58 +00:00
- role: dev-sec.nginx-hardening