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
				
			
		
			
				
	
	
		
			35 lines
		
	
	
		
			836 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			836 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| ---
 | |
| #description: Пресет для CentOS 9 Stream
 | |
| # Автор: Сергей Антропов
 | |
| # Сайт: https://devops.org.ru
 | |
| 
 | |
| docker_network: labnet
 | |
| generated_inventory: "{{ molecule_ephemeral_directory }}/inventory/hosts.ini"
 | |
| 
 | |
| # systemd-ready образ CentOS 9
 | |
| images:
 | |
|   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 9 Stream хосты
 | |
|   - name: centos9-web
 | |
|     family: centos9
 | |
|     groups: [centos, test, web]
 | |
|     publish: ["7090:80"]
 | |
|   - name: centos9-db
 | |
|     family: centos9
 | |
|     groups: [centos, test, db]
 | |
|     publish: ["7091:80"]
 | |
|   - name: centos9-app
 | |
|     family: centos9
 | |
|     groups: [centos, test, app]
 | |
|     publish: ["7092:80"]
 |