Ansible for DevOps
Dit boek, Ansible for DevOps, vormt een technische basis voor de aanpak van het C2 Platform.
Dit boek, Ansible for DevOps, vormt een technische basis voor de aanpak van het C2 Platform.
Learn how to create the Ansible Automation Controller (AWX) effortlessly using Ansible, utilizing the AWX Operator. This section also guides you through configuring the controller using Ansible, including setting up an organization, credentials, an Ansible Execution Environment, and a Job Template, which facilitates the provisioning of the Reverse Proxy.
Learn how to create the Ansible Automation Controller (AWX) using Ansible, utilizing the AWX Operator. This section also guides you through configuring the controller using Ansible, including setting up an organization, credentials, an Ansible Execution Environment, and Job Templates, which facilitates the provisioning.
AAP is a powerful and open-source automation platform that consists of two key components: the Automation Controller (AWX) and the Ansible Automation Hub (Galaxy NG).
The RWS Development Environment is an extension of the C2 Development Environment, so it’s essential to set up the C2 environment first.
Best practices for utilizing dictionary merging in C2 Ansible inventory projects.
Learn how to use “always”, “system”, and “install” tags effectively with the Ansible Linux role for optimized playbook execution.
Example of an Ansible Configuration File ansible.cfg
that is used on c2d-xtop
to connect to the private Ansible Automation Hub based on Galaxy NG running on c2d-galaxy1
.
Learn how to set up a local development environment and create your first virtual machine using Vagrant and Ansible.
An Ansible Inventory project contains inventory files, plays, host configurations, group variables, and vault files. It is also referred to as a playbook project or configuration project.
Create Kubernetes cluster / instance on c2d-ks1
.
Learn how to install the NuGet Package Provider using Ansible for Windows systems. This is essential for Ansible projects targeting Microsoft Windows hosts, such as those in the RWS GIS Platform.
Install Ansible, Vagrant, LXD, Virtualbox and clone the project directories.
Securely manage secrets using Ansible Vault.
Discover how to create the Ansible Automation Hub (Galaxy NG) using Ansible, in conjunction with the Pulp Operator. Additionally, this guide demonstrates how to configure the remote community repository with collections, enhancing your automation capabilities.
AWX met Ansible
Example of an Ansible Configuration File ansible.cfg
that is used on c2d-xtop
to connect to the private Ansible Automation Hub based on Galaxy NG running on c2d-galaxy1
.
Enhance the efficiency of your Ansible provisioning by leveraging the power of tags.
Galaxy is a central place for discovering and sharing Ansible content.
Create GitLab Container Registry on node c2d-gitlab
.
Learn how to realize a GitOps Pipeline when using an EE that includes Ansible Collections.
Explore the integration of Ansible and Vagrant in a reference implementation project, pivotal to developing and mimicking real-world infrastructure locally within the C2 framework.
Setup the reverse proxy and Certificate Authority ( CA ) server c2d-rproxy1
. This node is a prerequisite for a functional development environment because it performs several roles.
Install Ansible, Vagrant, LXD, Virtualbox and clone the project directory.
Vagrant provides a user-friendly platform for creating and managing simple local development environments, streamlining the setup process.
Learn how to establish a basic Certificate Authority (CA) server with Ansible, facilitating certificate and Java Keystore/Truststore management.
An Ansible Collection project is a comprehensive unit that combines modules, plugins, roles, and documentation to enhance the automation language and manage infrastructures. It serves as a reusable and distributable package of Ansible content.
Learn how to reconfigure AWX to utilize the private Galaxy NG automation hub instead of the public Galaxy website.
Setup the Kubernetes Dashboard and access the dashboard.
Create Kubernetes cluster on node c2d-ks1
and manage it using GitLab Agent.
Improve code quality, identify potential issues early on, and ensure adherence to coding standards.
Ansible Inventory, Ansible Collection, Ansible Role, and Ansible Execution Environment are different types of projects related to Ansible. This section provides an overview of each project type and their significance in the Ansible ecosystem.
Unlock the potential of AAP by creating a virtual desktop environment and configuring it as an Ansible Control Node. This configuration ensures seamless connectivity to the Ansible Automation Hub (Galaxy NG) for efficient automation workflows.
Learn how to configure and provision a web proxy server using the c2platform.wincore.win
Ansible role. This example demonstrates the setup process for Windows hosts.
Guidelines and examples on how to make Ansible flexible and easy to use.
Learn how to manage Python and Python library dependencies on Windows hosts using Ansible.
This document presents RWS’s approach to managing software downloads using Ansible, emphasizing the c2platform.wincore.download
Ansible role. This role is versatile, supporting both a simple Apache2 based repository and more advanced setups like Sonatype Nexus Repository Manager.
Learn how to efficiently manage and set up SSL/TLS certificates, Java KeyStores, and Java Truststores using Ansible. This guide includes steps for incorporating both automatically generated and externally obtained certificates.
Learn how to setup VS Code including recommended VS Code extensions for Ansible engineering tasks.
A comprehensive open-source solution for IT automation, orchestration, and governance.
This guide provides step-by-step instructions on how to manage the RWS Ansible Execution Environment, ensuring compatibility with the latest Python and Ansible versions, along with the required Ansible collections.
Create a DNS server on c2d-rproxy
so we can for example resolve c2platform.org
.
The Ansible Execution Environment project provides a standardized environment for executing Ansible playbooks and roles.
Running GitLab pipelines in Kubernetes using local GitLab instance c2d-gitlab
.
Install Gitlab Runner on Kubernetes
Discover how to seamlessly manage SSL/TLS trust on Windows hosts using the win_resources
variable of the c2platform.wincore.win
Ansible role.
Learn how to automate the generation and management of RWS SSL/TLS certificates and Java KeyStores with Ansible, integrating manual processes effortlessly.
Streamline the development and release process of Ansible collections with a CI/CD pipeline to Ansible Galaxy.
Ansible Inventory projects and Ansible Collection projects used RWS.
An Ansible requirements file allows you to install multiple collections with a single command, and this file can also be used by AAP/AWX.
Operating Ansible, developing roles and collections Ansible and using Ansible for ad-hoc tasks are separate disciplines.
Example CI/CD Pipeline for an Ansible Collection
Make necessary ( ArcGIS ) software and licenses for Ansible on Windows gsd
nodes using Vagrant Sync Folders.
Ansible Inventory project for C2 Platform reference implementation.
Ansible Collection for ArcGIS, FME and VertiGIS Studio
Learn how to become your own Certificate Authority (CA) and manage certificates for various services using the cacerts2
Ansible role.
Explore dictionary merging in Ansible inventory projects, focusing on the hash_behaviour = merge
setting in C2 Ansible inventory projects."
An Ansible Role project is a structured and reusable collection of tasks, variables, and configurations that provide specific functionality.
Learn how to automate stop-start routines efficiently using a versatile and adaptable Ansible role.
This guideline is tailored for teams that are relatively new to Ansible and wish to gain experience by using internal roles.
Setup an Ansible Control Node based on Red Hat 8 on gsd-ansible
.
Ansible Collection for Windows hosts
This guide demonstrates how to establish a straightforward software repository with Ansible, which will serve as a centralized source for software distribution.
Ansible Execution Environment for Rijkswaterstaat (RWS)
This guide walks you through the setup of CheckMK monitoring for the RWS GIS Platform using Ansible, ensuring efficient monitoring configuration.
Ansible Inventory project for RWS GIS Platform reference implementation.
This guide aids the GIS Platform team in integrating and experimenting with Splunk Enterprise monitoring within the RWS development environment.
Vagrant is the default but you can also use Ansible directly if you prefer.
Deploy Rancher on MicroK8s
Gain expertise in deploying debug containers to effectively troubleshoot and resolve any issues related to Ansible Automation Hub (Galaxy NG) Kubernetes deployments. This section equips you with the tools to address configuration challenges and ensure smooth operations.
Learn how to deploy debug containers for effective troubleshooting.