Entries by Adam Fordyce

, , , ,

Best Practices: Ansible

This technical guide provides a detailed overview of best practices for working with Ansible in a busy DevOps team. It covers important concepts such as idempotency and how to secure sensitive information using Ansible Vault. The guide also includes information on how to organize Ansible code in a git repository and best practices for committing changes to a repository.

, , , , ,

Best Practices: Packer

This technical guide provides a detailed overview of best practices for working with Packer in a busy DevOps team. It includes information on concepts such as idempotency and naming standards, as well as code examples and templates for organizing Packer code in a git repository. The guide also covers considerations for security and provides templates for a README file, HCL file, and .gitignore file for a Packer repository.

, ,

Ansible Introduction Exercise

The following guide covers the steps for setting up and configuring an Ansible project using git for source control. It covers the creation of a new git repository, installing and configuring a Python virtual environment, adding requirements to the repository, adding and committing changes to the repository, and configuring pre-commit for automated testing. It also covers basic git workflow principles and best practices, including the use of feature branches, pull requests, and automated testing.

,

Getting Started with Python

This guide provides a quick introduction to Python for new developers. It covers the basics of installing and configuring Python, including creating and activating virtual environments. It also covers some best practices for working with Python, including naming conventions and using virtual environments to maintain a consistent environment.

,

Setting Up Git with GitHub

This article provides a guide for setting up Git on a machine and linking it to a GitHub account. It covers the installation of Git, the generation of SSH keys, and the addition of the public key to a GitHub account. The article also includes instructions for creating a test repository on GitHub and pushing a change to it.

,

Setting Up WSL: A Guide

This article provides a guide for setting up the Windows Subsystem for Linux (WSL) on a Windows machine. It explains how to install WSL, download a Linux distribution, and set up the preferred distribution (Ubuntu 20.04 in this case). The article also discusses the differences between WSL1 and WSL2 and provides some recommendations for further configuration, such as setting up Visual Studio Code (VSCode) and the Windows Terminal.

,

Setting Up Visual Studio Code (VSCode)

This article explains how to install and configure Visual Studio Code (VSCode) on a machine. It discusses some of the features that make VSCode a useful tool for ansible practitioners, such as excellent git integration and support for various programming languages. The article also provides a list of recommended extensions to install in order to optimize the development environment for working with ansible and other tools. The article also mentions the special relationship between VSCode and GitHub, which allows users to open their GitHub projects in a web-based version of the editor.