let's turn these into roles

This commit is contained in:
kevinnlsamuel committed 2026-10-23 23:00:10 +05:30
1 parent 7ce23b6fa4
commit 322a14a882
4 files changed
+12 -3

No files matched your search

+2 -3
View File
@@ -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
+6
View File
@@ -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.
+4
View File
@@ -0,0 +1,4 @@
- name: disable password auth
copy:
src: 00-nopasswd.conf
dest: /etc/ssh/ssh_config.d/00-nopasswd.conf