let's turn these into roles
This commit is contained in:
4 files changed
+12
-3
No files matched your search
@@ -9,9 +9,8 @@
|
||||
- name: harden ssh
|
||||
block:
|
||||
- name: disable password auth
|
||||
copy:
|
||||
src: sshd/00-nopasswd.conf
|
||||
dest: /etc/ssh/ssh_config.d/00-altport.conf
|
||||
include_role:
|
||||
name: kevinnlsamuel.galaxy.sshd.disablepasswd
|
||||
- name: change ssh port
|
||||
template:
|
||||
src: sshd/00-altport.conf
|
||||
|
||||
File renamed without changes.
@@ -0,0 +1,6 @@
|
||||
galaxy_info:
|
||||
author: kevinnlsamuel
|
||||
description: sayin hello
|
||||
dependencies:
|
||||
# List your role dependencies here, one per line. Be sure to remove the '[]' above,
|
||||
# if you add dependencies to this list.
|
||||
@@ -0,0 +1,4 @@
|
||||
- name: disable password auth
|
||||
copy:
|
||||
src: 00-nopasswd.conf
|
||||
dest: /etc/ssh/ssh_config.d/00-nopasswd.conf
|
||||
Reference in new issue
Block a user