Update ansible/roles/base/files/sshd_config_secured_redhat, ansible/roles/base/vars/main.yml, ansible/roles/base/tasks/main.yml
This commit is contained in:
@@ -131,5 +131,5 @@ Subsystem sftp /usr/libexec/openssh/sftp-server
|
||||
PasswordAuthentication yes
|
||||
|
||||
#enable remote powershell
|
||||
#Subsystem powershell /usr/bin/pwsh -sshs -NoLogo
|
||||
Subsystem powershell /usr/bin/pwsh -sshs -NoLogo
|
||||
|
||||
|
||||
@@ -1,4 +1,14 @@
|
||||
---
|
||||
- name: add repositories
|
||||
ansible.builtin.yum_repository:
|
||||
name: "{{ item.name }}"
|
||||
description: "Ansible repositories"
|
||||
baseurl: "{{ item.baseurl }}"
|
||||
async: yes
|
||||
gpgkey: "{{ item.gpgkey }}"
|
||||
with_items: "{{ redhat_required_repositories }}"
|
||||
when: ansible_os_family == "RedHat"
|
||||
|
||||
- name: Run Package tasks
|
||||
include_tasks:
|
||||
file: ./templates/packages.yml
|
||||
|
||||
@@ -7,6 +7,7 @@ required_packages:
|
||||
- cockpit
|
||||
- nfs-common
|
||||
- open-iscsi
|
||||
- powershell
|
||||
|
||||
redhat_required_packages:
|
||||
- qemu-guest-agent
|
||||
@@ -22,4 +23,5 @@ unnecessary_software:
|
||||
- nmap-ncat
|
||||
- wpa_supplicant
|
||||
|
||||
|
||||
redhat_required_repositories:
|
||||
- {baseurl: 'https://nexus.durp.info/repository/Microsoft/', name: 'Microsoft', gpgkey: 'https://nexus.durp.info/repository/keys/yum/nexus.asc'}
|
||||
|
||||
Reference in New Issue
Block a user