Skip to content

Commit

Permalink
Cleanup Centos roles README and galaxy metadata
Browse files Browse the repository at this point in the history
Signed-off-by: Florent CARLI <florent.carli@rte-france.com>
  • Loading branch information
insatomcat committed Aug 31, 2024
1 parent c4f1ef0 commit f38dd10
Show file tree
Hide file tree
Showing 7 changed files with 116 additions and 1 deletion.
26 changes: 26 additions & 0 deletions roles/centos/README.md
Original file line number Diff line number Diff line change
@@ -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 }
```
12 changes: 12 additions & 0 deletions roles/centos/meta/main.yml
Original file line number Diff line number Diff line change
@@ -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: []

29 changes: 29 additions & 0 deletions roles/centos_hypervisor/README.md
Original file line number Diff line number Diff line change
@@ -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 }
```
12 changes: 12 additions & 0 deletions roles/centos_hypervisor/meta/main.yml
Original file line number Diff line number Diff line change
@@ -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: []

24 changes: 24 additions & 0 deletions roles/centos_physical_machine/README.md
Original file line number Diff line number Diff line change
@@ -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 }
```
12 changes: 12 additions & 0 deletions roles/centos_physical_machine/meta/main.yml
Original file line number Diff line number Diff line change
@@ -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: []

2 changes: 1 addition & 1 deletion roles/debian_hypervisor/README.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit f38dd10

Please sign in to comment.