The Dell OMSA tools are not supported anymore.
This commit is contained in:
parent
665c2c84be
commit
fa2768f36a
18
README.md
18
README.md
|
|
@ -1,6 +1,6 @@
|
|||
# basic-system-setup
|
||||
|
||||
An Ansible role that configures Linux servers at the service layer: SSH hardening, intrusion prevention (Fail2ban), Message of the Day, cloud-init management, NFS serving, autofs, tmpreaper, and Dell server utilities.
|
||||
An Ansible role that configures Linux servers at the service layer: SSH hardening, intrusion prevention (Fail2ban), Message of the Day, cloud-init management, NFS serving, autofs, tmpreaper.
|
||||
|
||||
Early-stage OS bootstrap tasks (locale, timezone, hostname, packages, sysctl, PKI, etc.) are handled by the [os-bootstrap](https://gitea-s2i2s.isti.cnr.it/ISTI-ansible-roles/ansible-role-os-bootstrap) dependency, which always runs first.
|
||||
|
||||
|
|
@ -30,7 +30,6 @@ ansible-galaxy collection install community.general
|
|||
| `sshd_config.yml` | Deploys a hardened `/etc/ssh/sshd_config` from template | `sshd_install_config` |
|
||||
| `motd.yml` | Configures the Message of the Day | `motd_setup` |
|
||||
| `fail2ban.yml` | Installs and configures Fail2ban with SSH, DDoS, and recidive jails | `fail2ban_enabled` |
|
||||
| `dell_utilities.yml` | Installs Dell DSU, srvadmin, and syscfg on bare-metal Dell servers | Dell hardware + bare metal |
|
||||
| `tuned_el.yml` | Applies a tuned profile on EL/RedHat | RedHat family only |
|
||||
| `autofs.yml` | Manages autofs configuration and NFS/CIFS mount maps | `autofs_client_mountpoint` |
|
||||
| `tmpreaper.yml` | Installs and configures tmpreaper for `/tmp` cleanup | always |
|
||||
|
|
@ -290,21 +289,6 @@ centos_guest_tuned_profile: virtual-guest
|
|||
centos_host_tuned_profile: virtual-host
|
||||
```
|
||||
|
||||
### Dell Server Utilities
|
||||
|
||||
Runs automatically on bare-metal Dell servers (`'Dell' in ansible_system_vendor` and `ansible_virtualization_role == 'host'`). No variables to set for basic operation.
|
||||
|
||||
```yaml
|
||||
dell_utilities_installer_url: http://linux.dell.com/repo/hardware/dsu/bootstrap.cgi
|
||||
dell_utilities_base_dir: /opt/dell_dsu
|
||||
dell_utilities_packages:
|
||||
- dell-system-update
|
||||
- srvadmin-all
|
||||
- syscfg
|
||||
dell_utilities_raid_packages:
|
||||
- raidcfg
|
||||
```
|
||||
|
||||
### Custom Bash Configuration
|
||||
|
||||
```yaml
|
||||
|
|
|
|||
|
|
@ -357,19 +357,6 @@ deb_motd_packages:
|
|||
cloud_init_disable_netconfig: false
|
||||
cloud_init_remove_pkg: true
|
||||
|
||||
#
|
||||
# Dell Server Utilities
|
||||
#
|
||||
dell_utilities_installer_url: http://linux.dell.com/repo/hardware/dsu/bootstrap.cgi
|
||||
dell_utilities_base_dir: /opt/dell_dsu
|
||||
dell_utilities_packages:
|
||||
- dell-system-update
|
||||
- srvadmin-all
|
||||
- syscfg
|
||||
|
||||
dell_utilities_raid_packages:
|
||||
- raidcfg
|
||||
|
||||
#
|
||||
# Tuned Setup (EL)
|
||||
#
|
||||
|
|
|
|||
|
|
@ -1,43 +0,0 @@
|
|||
---
|
||||
- name: dell_utilities | Create the Dell utilities directory
|
||||
ansible.builtin.file:
|
||||
dest: "{{ dell_utilities_base_dir }}"
|
||||
state: directory
|
||||
mode: "0755"
|
||||
when:
|
||||
- "'Dell' in ansible_system_vendor"
|
||||
- ansible_virtualization_role == "host"
|
||||
tags:
|
||||
- dell_utilities
|
||||
- dell_dsu
|
||||
|
||||
- name: dell_utilities | Download the Dell utility installer
|
||||
ansible.builtin.get_url:
|
||||
url: "{{ dell_utilities_installer_url }}"
|
||||
dest: "{{ dell_utilities_base_dir }}/dsu_installer"
|
||||
mode: "0700"
|
||||
when:
|
||||
- "'Dell' in ansible_system_vendor"
|
||||
- ansible_virtualization_role == "host"
|
||||
tags:
|
||||
- dell_utilities
|
||||
- dell_dsu
|
||||
|
||||
- name: dell_utilities | Run the installer
|
||||
ansible.builtin.command: "{{ dell_utilities_base_dir }}/dsu_installer"
|
||||
args:
|
||||
creates: /etc/yum.repos.d/dell-system-update.repo
|
||||
when:
|
||||
- "'Dell' in ansible_system_vendor"
|
||||
- ansible_virtualization_role == "host"
|
||||
tags:
|
||||
- dell_utilities
|
||||
- dell_dsu
|
||||
|
||||
- name: dell_utilities | Configure for EL/RedHat
|
||||
ansible.builtin.import_tasks: dell_utilities_el.yml
|
||||
when: ansible_distribution_file_variety == "RedHat"
|
||||
|
||||
- name: dell_utilities | Configure for Debian
|
||||
ansible.builtin.import_tasks: dell_utilities_deb.yml
|
||||
when: ansible_distribution_file_variety == "Debian"
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
---
|
||||
- name: dell_utilities_deb | Dell utilities status
|
||||
ansible.builtin.debug:
|
||||
msg: No Dell utilities available for Debian or Ubuntu servers yet
|
||||
when:
|
||||
- "'Dell' in ansible_system_vendor"
|
||||
- ansible_virtualization_role == "host"
|
||||
tags:
|
||||
- dell_utilities
|
||||
- dell_dsu
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
---
|
||||
- name: dell_utilities_el | Install the EL/CentOS Dell utilities
|
||||
ansible.builtin.dnf:
|
||||
pkg: "{{ dell_utilities_packages }}"
|
||||
state: present
|
||||
when:
|
||||
- "'Dell' in ansible_system_vendor"
|
||||
- ansible_virtualization_role == "host"
|
||||
tags:
|
||||
- dell_utilities
|
||||
- dell_dsu
|
||||
|
|
@ -14,13 +14,6 @@
|
|||
ansible.builtin.import_tasks: fail2ban.yml
|
||||
when: fail2ban_enabled
|
||||
|
||||
- name: Dell server utilities
|
||||
ansible.builtin.import_tasks: dell_utilities.yml
|
||||
when:
|
||||
- "'Dell' in ansible_system_vendor | default('')"
|
||||
- ansible_virtualization_role is defined
|
||||
- ansible_virtualization_role == "host"
|
||||
|
||||
- name: Tuned service for EL/RedHat
|
||||
ansible.builtin.import_tasks: tuned_el.yml
|
||||
when: ansible_distribution_file_variety == "RedHat"
|
||||
|
|
|
|||
Loading…
Reference in New Issue