Molecule: How to create a new role and change some default settings.

Creating new rolesRole with docker driver supportmolecule init role --role-name myrole --driver-name docker Role with vagrant driver supportmolecule init role --role-name myrole --driver-name vagrant Molecule settingsDocker (molecule.yml)Sample file with systemd suppport and port 8080 exposed. --- dependency: name: galaxy driver: name: docker lint:…

Keep reading

Molecule: How to use (part 2)

On this post, we gonna coverage some useful commands for molecule. Converge will execute the sequence necessary to converge the instances.$ molecule converge This action has cleanup and is not enabled by default. See the provisioner’s documentation for further details.$ molecule cleanup Destroy box/…

Keep reading

Molecule: How to install (part 1)

Molecule is designed to aid in the development and testing of Ansible roles.Molecule provides support for testing with multiple instances, operating systems and distributions, virtualization providers, test frameworks and testing scenarios.Molecule encourages an approach that results in consistently developed roles that are well-written,…

Keep reading

Consul: survivals commands

Consul is a service mesh solution providing a full featured control plane with service discovery, configuration, and segmentation functionality. Listing members$ consul members $ consul members -detailed $ curl http://consul.your-awesome-domain.com:8500/v1/catalog/nodes | jq Listing server cluster$ consul members | grep -i server Join…

Keep reading

git tips

Git is a distributed version-control system for tracking changes in source code during software development. It is designed for coordinating work among programmers, but it can be used to track changes in any set of files. Its goals include speed, data integrity, and support for…

Keep reading