Files
alexpolo1 a3b8959ca9 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
2026-06-27 21:48:22 +02:00

43 lines
828 B
YAML
Executable File

---
- name: Remove Docker
yum:
name: docker, docker-common
state: absent
- import_tasks: install-docker-onpremise.yml
when: datacenter == 'onpremise'
- import_tasks: install-docker-azure.yml
when: datacenter == 'azure'
- name: Ensure /etc/docker/ exists
file:
path: /etc/docker
state: directory
- name: Ensure /etc/docker/daemon.json exists
file:
path: /etc/docker/daemon.json
state: touch
- name: Configure default bridge network for Docker
lineinfile:
path: /etc/docker/daemon.json
line: '{ "bip": "172.26.0.1/16" }'
- name: Enable Docker
systemd:
name: docker
state: started
enabled: yes
masked: no
- import_tasks: install-compose-onpremise.yml
when: datacenter == 'onpremise'
- import_tasks: install-compose-azure.yml
when: datacenter == 'azure'
-