Добавлены специализированные пресеты для каждой версии ОС
Some checks failed
Ansible Testing / lint (push) Has been cancelled
Ansible Testing / test (default) (push) Has been cancelled
Ansible Testing / test (minimal) (push) Has been cancelled
Ansible Testing / test (performance) (push) Has been cancelled
Ansible Testing / deploy-check (push) Has been cancelled
Some checks failed
Ansible Testing / lint (push) Has been cancelled
Ansible Testing / test (default) (push) Has been cancelled
Ansible Testing / test (minimal) (push) Has been cancelled
Ansible Testing / test (performance) (push) Has been cancelled
Ansible Testing / deploy-check (push) Has been cancelled
- ubuntu-all.yml: все версии Ubuntu (20.04, 22.04, 24.04) - ubuntu20.yml, ubuntu22.yml, ubuntu24.yml: отдельные пресеты для Ubuntu - debian-all.yml: все версии Debian (9, 10, 11, 12) - debian9.yml, debian10.yml, debian11.yml, debian12.yml: отдельные пресеты для Debian - centos-all.yml: все версии CentOS (7, 8, 9) - centos7.yml, centos8.yml, centos9.yml: отдельные пресеты для CentOS - docs/presets-by-os.md: документация по новым пресетам Каждый пресет использует уникальные порты и группы хостов для изолированного тестирования.
This commit is contained in:
52
molecule/presets/centos-all.yml
Normal file
52
molecule/presets/centos-all.yml
Normal file
@@ -0,0 +1,52 @@
|
||||
---
|
||||
#description: Пресет со всеми версиями CentOS (7, 8, 9)
|
||||
# Автор: Сергей Антропов
|
||||
# Сайт: https://devops.org.ru
|
||||
|
||||
docker_network: labnet
|
||||
generated_inventory: "{{ molecule_ephemeral_directory }}/inventory/hosts.ini"
|
||||
|
||||
# systemd-ready образы CentOS
|
||||
images:
|
||||
centos7: "inecs/ansible-lab:centos7-latest"
|
||||
centos8: "inecs/ansible-lab:centos8-latest"
|
||||
centos9: "inecs/ansible-lab:centos9-latest"
|
||||
|
||||
systemd_defaults:
|
||||
privileged: true
|
||||
command: "/sbin/init"
|
||||
volumes:
|
||||
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
||||
tmpfs: ["/run", "/run/lock"]
|
||||
capabilities: ["SYS_ADMIN"]
|
||||
|
||||
hosts:
|
||||
# CentOS 7
|
||||
- name: centos7-1
|
||||
family: centos7
|
||||
groups: [centos, test, web]
|
||||
publish: ["7007:80"]
|
||||
- name: centos7-2
|
||||
family: centos7
|
||||
groups: [centos, test, db]
|
||||
publish: ["7008:80"]
|
||||
|
||||
# CentOS 8
|
||||
- name: centos8-1
|
||||
family: centos8
|
||||
groups: [centos, test, web]
|
||||
publish: ["7009:80"]
|
||||
- name: centos8-2
|
||||
family: centos8
|
||||
groups: [centos, test, db]
|
||||
publish: ["7010:80"]
|
||||
|
||||
# CentOS 9 Stream
|
||||
- name: centos9-1
|
||||
family: centos9
|
||||
groups: [centos, test, web]
|
||||
publish: ["7011:80"]
|
||||
- name: centos9-2
|
||||
family: centos9
|
||||
groups: [centos, test, db]
|
||||
publish: ["7012:80"]
|
||||
Reference in New Issue
Block a user