From f38dd105f3c24097d96efff6753a40222708024b Mon Sep 17 00:00:00 2001 From: Florent CARLI Date: Sat, 31 Aug 2024 15:24:09 +0200 Subject: [PATCH] Cleanup Centos roles README and galaxy metadata Signed-off-by: Florent CARLI --- roles/centos/README.md | 26 ++++++++++++++++++ roles/centos/meta/main.yml | 12 +++++++++ roles/centos_hypervisor/README.md | 29 +++++++++++++++++++++ roles/centos_hypervisor/meta/main.yml | 12 +++++++++ roles/centos_physical_machine/README.md | 24 +++++++++++++++++ roles/centos_physical_machine/meta/main.yml | 12 +++++++++ roles/debian_hypervisor/README.md | 2 +- 7 files changed, 116 insertions(+), 1 deletion(-) create mode 100644 roles/centos/README.md create mode 100644 roles/centos/meta/main.yml create mode 100644 roles/centos_hypervisor/README.md create mode 100644 roles/centos_hypervisor/meta/main.yml create mode 100644 roles/centos_physical_machine/README.md create mode 100644 roles/centos_physical_machine/meta/main.yml diff --git a/roles/centos/README.md b/roles/centos/README.md new file mode 100644 index 000000000..1b882ec8f --- /dev/null +++ b/roles/centos/README.md @@ -0,0 +1,26 @@ +# Centos Role + +This role apply the basic SEAPATH prerequisites for any centos machine + +## Requirements + +no requirement. + +## Role Variables + +- syslog_tls_ca +- syslog_tls_key +- syslog_tls_server_ca +- admin_user +- admin_passwd +- admin_ssh_keys +- grub_append +- syslog_server_ip + +## Example Playbook + +```yaml +- hosts: cluster_machines + roles: + - { role: seapath_ansible.centos } +``` diff --git a/roles/centos/meta/main.yml b/roles/centos/meta/main.yml new file mode 100644 index 000000000..0e41078df --- /dev/null +++ b/roles/centos/meta/main.yml @@ -0,0 +1,12 @@ +--- +galaxy_info: + author: "RTE" + description: Prerequisite for all centos machine + min_ansible_version: 2.9.10 + license: Apache-2.0 + platforms: + - name: Centos + versions: + - all +dependencies: [] + diff --git a/roles/centos_hypervisor/README.md b/roles/centos_hypervisor/README.md new file mode 100644 index 000000000..165b5953f --- /dev/null +++ b/roles/centos_hypervisor/README.md @@ -0,0 +1,29 @@ +# CentOS Hypervisor Role + +This role applies the hypervisor specific configurations (virtualisation, realtime...) for Centos machines + +## Requirements + +no requirement. + +## Role Variables + +- isolcpus +- vhost_vsock +- sriov_driver +- sriov +- cpusystem +- cpuuser +- cpumachines +- cpumachinesrt +- cpumachinesnort +- cpuovs +- custom_tuned_profile_path + +## Example Playbook + +```yaml +- hosts: cluster_machines + roles: + - { role: seapath_ansible.centos_hypervisor } +``` diff --git a/roles/centos_hypervisor/meta/main.yml b/roles/centos_hypervisor/meta/main.yml new file mode 100644 index 000000000..94cbc1110 --- /dev/null +++ b/roles/centos_hypervisor/meta/main.yml @@ -0,0 +1,12 @@ +--- +galaxy_info: + author: "RTE" + description: applies the hypervisor specific configurations (virtualisation, realtime...) for Centos machines + license: Apache-2.0 + min_ansible_version: 2.9.10 + platforms: + - name: CentOS + versions: + - all +dependencies: [] + diff --git a/roles/centos_physical_machine/README.md b/roles/centos_physical_machine/README.md new file mode 100644 index 000000000..ad198e3a1 --- /dev/null +++ b/roles/centos_physical_machine/README.md @@ -0,0 +1,24 @@ +# CentOS Physical Machine Role + +This role applies the SEAPATH prerequisites for any Debian physical machine (hypervisor, observer, or standalone) + +## Requirements + +no requirement. + +## Role Variables + +- extra_sysctl_physical_machines +- extra_kernel_modules +- admin_user +- logstash_server_ip +- pacemaker_shutdown_timeout +- chrony_wait_timeout_sec + +## Example Playbook + +```yaml +- hosts: cluster_machines + roles: + - { role: seapath_ansible.centos_physical_machine } +``` diff --git a/roles/centos_physical_machine/meta/main.yml b/roles/centos_physical_machine/meta/main.yml new file mode 100644 index 000000000..0a117c7ff --- /dev/null +++ b/roles/centos_physical_machine/meta/main.yml @@ -0,0 +1,12 @@ +--- +galaxy_info: + author: "RTE" + description: applies the SEAPATH prerequisites for any Debian physical machine (hypervisor, observer, or standalone) + license: Apache-2.0 + min_ansible_version: 2.9.10 + platforms: + - name: CentOS + versions: + - all +dependencies: [] + diff --git a/roles/debian_hypervisor/README.md b/roles/debian_hypervisor/README.md index 945f2a555..92b7c7f72 100644 --- a/roles/debian_hypervisor/README.md +++ b/roles/debian_hypervisor/README.md @@ -1,6 +1,6 @@ # Debian Hypervisor Role -This role apply the hypervisor specific configurations (virtualisation, realtime...) +This role apply the hypervisor specific configurations (virtualisation, realtime...) for Debian machines ## Requirements