Skip to content

Commit

Permalink
Update syntax to 2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasjpfan committed Jan 24, 2018
1 parent 0d32eba commit 5f415c8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Warning: This role disables root-login on the target server! Please make sure yo

## Requirements

* Ansible > 2.2.1
* Ansible > 2.4

## Role Variables
| Name | Default Value | Description |
Expand Down
2 changes: 1 addition & 1 deletion meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ galaxy_info:
description: 'This Ansible role provides numerous security-related ssh configurations, providing all-round base protection.'
company: Hardening Framework Team
license: Apache License 2.0
min_ansible_version: '2.2.1'
min_ansible_version: '2.4'
platforms:
- name: EL
versions:
Expand Down
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
register: sshd_version
check_mode: no

- include: crypto.yml
- include_tasks: crypto.yml

- name: create revoked_keys and set permissions to root/600
template: src='revoked_keys.j2' dest='/etc/ssh/revoked_keys' mode=0600 owner="{{ ssh_owner }}" group="{{ ssh_group }}"
Expand Down

0 comments on commit 5f415c8

Please sign in to comment.