Testing with Ansible Molecule
Автор: theurbanpenguin
Загружено: 2021-11-12
Просмотров: 10065
Testing with Ansible Molecule is an easy method to create a test and development environment easily to test Ansible Playbooks or Roles with Molecule. We demonstrate using docker as a backend on a t2.micro system with just 1G RAM. We do not needs heaps of resources for this.
sudo apt update
sudo apt install -y apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubu... | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable"
sudo apt update
sudo apt install -y docker-ce
sudo usermod -aG docker ${USER}
galaxy_info:
author: andrew
description: simple web install
company: tup
license: Apache
min_ansible_version: 2.9
platforms:
name: centos
versions:
8
name: ubuntu
versions:
20.04
galaxy_tags: []
dependencies: []
platforms:
name: centos
image: geerlingguy/docker-centos8-ansible
pre_build_image: true
command: ${MOLECULE_DOCKER_COMMAND:-""}
volumes:
/sys/fs/cgroup:/sys/fs/cgroup:ro
privileged: true
name: ubuntu
image: geerlingguy/docker-ubuntu2004-ansible
command: ${MOLECULE_DOCKER_COMMAND:-""}
pre_build_image: true
volumes:
/sys/fs/cgroup:/sys/fs/cgroup:ro
privileged: true
Additionally you can find my video courses on Pluralsight: http://pluralsight.com/training/Autho... and take time to see my own site http://www.theurbanpenguin.com
~-~~-~~~-~~-~
Please watch: "RHCSA 9 Working With Podman Containers"
• How To Use Podman Containers
~-~~-~~~-~~-~
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: