Using Containers for Ansible Development
BRANK

Table Of ContentsLife Before ContainersIntroducing the Operations BoxBuilding a Docker Container ImageRunning a ContainerRemoving on ExitVolumesWorking DirectoryEnvironment VariablesUsing Ansible inside a Container Life Before Containers As someone who focuses on systems development instead of application development I didn't see how containers would fit into my daily workflow. But I was unsatisfied with my current development experience and wanted to see if containers could improve it. It was super heavy and slow. At the time I had an entire vagrant lab consisting of two Linux virtual machines and one Windows virtual machine. Vagrant would stand up an Ansible control server and two target machines; one Windows and one Linux to run playbooks against.After I was done developing a playbook I'd have to; commit it, push it, ssh somewhere else, pull it down, then run it again. If I had to debug it I was using vi. No IDE to save me from the white space hell I was about to enter. And sometim…

dev.to
Related Topics: Provisioning