From 634f6a7ca7f05f9e63fe448debd46058d47e3da2 Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Wed, 13 Mar 2024 12:02:50 -0700 Subject: [PATCH] set infra config to be 02 --- tasks/ssh_config.yml | 4 ++-- .../{RedHat-9-60-infra.conf.j2 => RedHat-9-02-infra.conf.j2} | 0 templates/etc/ssh/Rocky-9-02-infra.conf.j2 | 1 + templates/etc/ssh/Rocky-9-60-infra.conf.j2 | 1 - 4 files changed, 3 insertions(+), 3 deletions(-) rename templates/etc/ssh/{RedHat-9-60-infra.conf.j2 => RedHat-9-02-infra.conf.j2} (100%) create mode 120000 templates/etc/ssh/Rocky-9-02-infra.conf.j2 delete mode 120000 templates/etc/ssh/Rocky-9-60-infra.conf.j2 diff --git a/tasks/ssh_config.yml b/tasks/ssh_config.yml index 919bf2f..e961eea 100644 --- a/tasks/ssh_config.yml +++ b/tasks/ssh_config.yml @@ -63,8 +63,8 @@ - name: Custom Modular Configuration ansible.builtin.template: - src: "etc/ssh/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}-60-infra.conf.j2" - dest: "/etc/ssh/sshd_config.d/60-infra.conf" + src: "etc/ssh/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}-02-infra.conf.j2" + dest: "/etc/ssh/sshd_config.d/02-infra.conf" owner: root group: root mode: '0600' diff --git a/templates/etc/ssh/RedHat-9-60-infra.conf.j2 b/templates/etc/ssh/RedHat-9-02-infra.conf.j2 similarity index 100% rename from templates/etc/ssh/RedHat-9-60-infra.conf.j2 rename to templates/etc/ssh/RedHat-9-02-infra.conf.j2 diff --git a/templates/etc/ssh/Rocky-9-02-infra.conf.j2 b/templates/etc/ssh/Rocky-9-02-infra.conf.j2 new file mode 120000 index 0000000..a6cf89c --- /dev/null +++ b/templates/etc/ssh/Rocky-9-02-infra.conf.j2 @@ -0,0 +1 @@ +RedHat-9-02-infra.conf.j2 \ No newline at end of file diff --git a/templates/etc/ssh/Rocky-9-60-infra.conf.j2 b/templates/etc/ssh/Rocky-9-60-infra.conf.j2 deleted file mode 120000 index 1be25af..0000000 --- a/templates/etc/ssh/Rocky-9-60-infra.conf.j2 +++ /dev/null @@ -1 +0,0 @@ -RedHat-9-60-infra.conf.j2 \ No newline at end of file