mirror of
https://github.com/dev-sec/ansible-nginx-hardening.git
synced 2024-11-26 11:13:45 +01:00
35d821809c
* test official nginx role with travis Signed-off-by: szEvEz <szivos.john@gmail.com> * split up test playbook for different distros due to required vars Signed-off-by: szEvEz <szivos.john@gmail.com> * make debian distros use the debian playbook Signed-off-by: szEvEz <szivos.john@gmail.com> * update README Signed-off-by: szEvEz <szivos.john@gmail.com>
15 lines
423 B
YAML
15 lines
423 B
YAML
---
|
|
- name: wrapper playbook for kitchen testing "ansible-nginx-hardening" with custom settings
|
|
hosts: localhost
|
|
pre_tasks:
|
|
- package: name="{{item}}" state=installed
|
|
with_items:
|
|
- "systemd"
|
|
ignore_errors: true
|
|
- apt: name="{{item}}" state=installed update_cache=true
|
|
with_items:
|
|
- "systemd"
|
|
ignore_errors: true
|
|
roles:
|
|
- nginxinc.nginx
|
|
- ansible-nginx-hardening |