Обновление проекта
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
This commit is contained in:
34
molecule/presets/examples/ubuntu20.yml
Normal file
34
molecule/presets/examples/ubuntu20.yml
Normal file
@@ -0,0 +1,34 @@
|
||||
---
|
||||
#description: Пресет для Ubuntu 20.04 LTS
|
||||
# Автор: Сергей Антропов
|
||||
# Сайт: https://devops.org.ru
|
||||
|
||||
docker_network: labnet
|
||||
generated_inventory: "{{ molecule_ephemeral_directory }}/inventory/hosts.ini"
|
||||
|
||||
# systemd-ready образ Ubuntu 20.04
|
||||
images:
|
||||
ubuntu20: "inecs/ansible-lab:ubuntu20-latest"
|
||||
|
||||
systemd_defaults:
|
||||
privileged: true
|
||||
command: "/sbin/init"
|
||||
volumes:
|
||||
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
||||
tmpfs: ["/run", "/run/lock"]
|
||||
capabilities: ["SYS_ADMIN"]
|
||||
|
||||
hosts:
|
||||
# Ubuntu 20.04 LTS хосты
|
||||
- name: ubuntu20-web
|
||||
family: ubuntu20
|
||||
groups: [ubuntu, test, web]
|
||||
publish: ["8020:80"]
|
||||
- name: ubuntu20-db
|
||||
family: ubuntu20
|
||||
groups: [ubuntu, test, db]
|
||||
publish: ["8021:80"]
|
||||
- name: ubuntu20-app
|
||||
family: ubuntu20
|
||||
groups: [ubuntu, test, app]
|
||||
publish: ["8022:80"]
|
||||
Reference in New Issue
Block a user