renamed role
This commit is contained in:
19
roles/bastionhost/tasks/main.yml
Normal file
19
roles/bastionhost/tasks/main.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
# Load distro-specific variables
|
||||
- include_vars: "{{ ansible_distribution | lower }}.yml"
|
||||
tags: always
|
||||
ignore_errors: True
|
||||
|
||||
- block:
|
||||
- debug:
|
||||
msg: Debug
|
||||
|
||||
# Perform remaining tasks:
|
||||
- import_tasks: users.yml
|
||||
- import_tasks: system_setup/openssh_hardening.yml
|
||||
- import_tasks: system_setup/firewall.yml
|
||||
- import_tasks: system_setup/package_hardening.yml
|
||||
- import_tasks: system_setup/user_hardening.yml
|
||||
- import_tasks: system_setup/aide.yml
|
||||
|
||||
rescue:
|
||||
- set_fact: task_failed=true
|
||||
Reference in New Issue
Block a user