Initial collection structure

Migrated from legacy playbook repo into Ansible collection format:

Roles (171 total):
- common: 44 roles (fact gathering, SSH setup, utilities)
- configuration: 32 roles (system config, networking, satellite)
- provisioning: 16 roles (VMware, Azure, physical server deployment)
- security: 15 roles (OpenSCAP hardening, certificates, AD integration)
- monitoring: 12 roles (Zabbix, logging agents, metrics)
- networking: 12 roles (DNS, DHCP, network interfaces)
- satellite: 4 roles (Pulp/Satellite management)
- misc: 36 roles (various utilities)

Playbooks (159 total):
- provisioning: 14 playbooks
- azure: 13 playbooks
- configuration: 22 playbooks
- maintenance: 10 playbooks
- security: 10 playbooks
- monitoring: 9 playbooks
- vcenter: 6 playbooks
- networking: 7 playbooks
- misc: 65 playbooks
This commit is contained in:
2026-06-27 21:48:22 +02:00
commit a3b8959ca9
1825 changed files with 79105 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
Pre-Gluster upgrade
=========
This role is designed to ease the upgrade process. It shuts down Gluster "properly" so it can be upgraded using yum.
Requirements
------------
No requirements, uses Systemd and Command modules.
Role Variables
--------------
No variables.
Dependencies
------------
It's suggested you run the [yum-update role](https://github.EXAMPLE-CORP.COM/Linux/ansible-playbooks/tree/master/roles/yum-update) afterwards
Example Playbook
----------------
- hosts: all
become: yes
become_method: sudo
roles:
- upgrade-gluster
- yum-update
License
-------
BSD
Author Information
------------------
Created by the UFST Linux team

View File

@@ -0,0 +1,2 @@
---
# defaults file for upgrade-gluster

View File

@@ -0,0 +1,2 @@
---
# handlers file for upgrade-gluster

View File

@@ -0,0 +1,57 @@
galaxy_info:
author: your name
description: your description
company: your company (optional)
# If the issue tracker for your role is not on github, uncomment the
# next line and provide a value
# issue_tracker_url: http://example.com/issue/tracker
# Some suggested licenses:
# - BSD (default)
# - MIT
# - GPLv2
# - GPLv3
# - Apache
# - CC-BY
license: license (GPLv2, CC-BY, etc)
min_ansible_version: 1.2
# If this a Container Enabled role, provide the minimum Ansible Container version.
# min_ansible_container_version:
# Optionally specify the branch Galaxy will use when accessing the GitHub
# repo for this role. During role install, if no tags are available,
# Galaxy will use this branch. During import Galaxy will access files on
# this branch. If Travis integration is configured, only notifications for this
# branch will be accepted. Otherwise, in all cases, the repo's default branch
# (usually master) will be used.
#github_branch:
#
# platforms is a list of platforms, and each platform has a name and a list of versions.
#
# platforms:
# - name: Fedora
# versions:
# - all
# - 25
# - name: SomePlatform
# versions:
# - all
# - 1.0
# - 7
# - 99.99
galaxy_tags: []
# List tags for your role here, one per line. A tag is a keyword that describes
# and categorizes the role. Users find roles by searching for tags. Be sure to
# remove the '[]' above, if you add tags to this list.
#
# NOTE: A tag is limited to a single word comprised of alphanumeric characters.
# Maximum 20 tags per role.
dependencies: []
# List your role dependencies here, one per line. Be sure to remove the '[]' above,
# if you add dependencies to this list.

View File

@@ -0,0 +1,21 @@
---
# tasks file for upgrade-gluster
- name: Stop Gluster Daemon
systemd:
name: glusterd
state: stopped
- name: Kill abandoned glusterfs processes
command: pkill glusterfs
register: result
failed_when: result is failed and result.stdout != ""
- name: Kill abandoned glusterfs daemon processes
command: pkill glusterfsd
register: result
failed_when: result is failed and result.stdout != ""
- name: Kill abandoned gsync daemon processes
command: pkill gsyncd.py
register: result
failed_when: result is failed and result.stdout != ""

View File

@@ -0,0 +1,2 @@
localhost

View File

@@ -0,0 +1,5 @@
---
- hosts: localhost
remote_user: root
roles:
- upgrade-gluster

View File

@@ -0,0 +1,2 @@
---
# vars file for upgrade-gluster