ATIX AG
  • Services
    • Consulting
      • Linux Platform Operations​
      • Infrastructure Automation
      • Container Platforms and Cloud
      • DevOps Processes, Tooling and Culture
      • Cloud Native Software Development
    • Products
      • orcharhino
        • About orcharhino
        • Support
        • orcharhino operation
    • Technologies
      • Ansible
      • AWX and Ansible Automation Platform
      • Docker
      • Foreman
      • GitLab
      • Istio
      • Kubernetes
      • Linux Distributions
      • OpenShift
      • Puppet
      • OpenVox
      • Rancher
      • Rundeck
      • SaltStack
      • SUSE Manager
      • Terraform
  • Trainings
    • Ansible Training
    • AWX Training
    • Docker & Container Training
    • Git Training
    • Kubernetes Training
    • OpenShift Training
    • orcharhino Training
    • OpenVox/Puppet Trainings
    • Terraform Training
  • Events
    • Webinars
  • Blog
  • Company
    • About Us
    • References
    • Corporate values
    • Social engagement
    • Newsroom
    • Newsletter
    • Contact us
  • Career
  • German
  • Click to open the search input field Click to open the search input field Search
  • Menu Menu

Workshops in the cloud – what Ansible, Docker and the GitLab CI/CD offer you

ebook Infrastucture Automation

Free E-Book

Infrastructure Automation with Linux and Open Source Tools

This free e-book provides practical examples of how you can use Linux and open-source tools to simplify recurring tasks, reduce errors, and establish scalable IT processes.
Discover it now.

Download now for free

Ansible Training

The Ansible Training – “Fast Track” teaches participants how to manage infrastructures with Ansible as well as the basic concepts and best practices of Ansible. The “Ansible Extended Training” also offers an additional day where the trainer can specifically address individual questions and needs of the participants.

Find out more

As an open source program, Ansible is used for configuration management and the automation of administration tasks. It is characterized by a strict separation of code and parameters. The aim is to map infrastructure as code. By following the best practice guidelines, idempotence is guaranteed at all times.

This means that only incorrectly configured files are handled. The valid configuration is queried, but remains untouched after checking. This saves resources and time. Another advantage of Ansible is the wealth of modules provided for cloud, databases, package management and much more. Ansible is therefore predestined as a tool for the automated orchestration, configuration and administration of IT systems to set up the IT necessary for a training operation.

In the training courses we offer, the infrastructure is set up shortly before the workshop begins. This will then be in use for a few days and will be automatically deleted after the workshop. Because of this short-lived nature, we opted for a cloud-based solution. Version management is carried out using Git. Source files can be viewed directly on the web interface of our GitLab installation, so that the GitLab CI/CD is suitable for VM provisioning. When the GitLab Pipeline starts, the following gitlab-ci.yml file is initially read into the Git repository.

 stages:
  - command
  - only_after_setup
 
.command: &command
  stage: command
  tags:
    - docker
  image:
    name: atix-registry.infra.dev.atix/ansible_hcloud:latest
    entrypoint: ["sh", "-c"]
  script:
    - ansible localhost -m template -a "src=requirements.yaml.j2 dest=requirements.yaml"
    - ansible-galaxy install -r requirements.yaml
    - ansible-playbook --tags "$CI_JOB_NAME" ${VERBOSE:+-vvv} playbook_basic.yaml
    etc.
  when: manual
 
cleanup:
  <<: facts:="" setup:="" artifacts:="" paths:="" artifact.tar="" expire_in:="" week="" workshop:="" stage:="" only_after_setup="" tags:="" docker="" image:="" name:="" atix-registry.infra.dev.atix="" entrypoint:="" dependencies:="" setup="" script:="" tar="" ansible="" localhost="" template="" dest="requirements.yaml"" ansible-galaxy="" install="" requirements.yaml="" ansible-playbook="" hcloud.py="" playbook_workshop_specific.yaml="" when:="" manual="" wpml:html_fragment=""> --></:>
  • “cleanup” deletes all VMs and domains of the respective training (e.g. Ansible, Kubernetes)
  • “facts” shows all set up VMs, HCloud options (VM sizes, locations, volumes, etc.) and domains along with their properties
  • “setup” triggers the provisioning of the workshop infrastructure, whereby Ansible tasks are carried out that are relevant for all training courses (e.g. firewall, SSH, domains)
  • “workshop” is executed after “setup” in its own GitLab CI/CD stage and adapts the infrastructure to the requirements of the respective training. Additional software is installed and configured (e.g. kubectl for Kubernetes training) that is not required for other training courses (e.g. Ansible training).

Regardless of the job chosen, a Docker container is created, the required Ansible Galaxy roles are loaded into it and the Ansible playbook is executed to create the cloud resources. In the case of a setup, in one of the last steps the SSH configuration is made available to the training participants as a download on a password-protected web server (TLS secured with Let’s Encrypt certificates). For security reasons, USB sticks and sending as email attachments are deliberately avoided.

---
https://k8s.example.org
├── group0-roadwarrior
│   ├── .ssh
│   │   ├── config
│   │   ├── id_rsa
│   │   ├── id_rsa.pub
│   │   └── known_hosts
│   └── ssh.sh
├── group0-roadwarrior.tar
├── group0-roadwarrior.zip
├── group1-roadwarrior
│   ├── .ssh
│   │   ├── config
│   │   ├── id_rsa
│   │   ├── id_rsa.pub
│   │   └── known_hosts
│   └── ssh.sh
├── group1-roadwarrior.tar
└── group1-roadwarrior.zip
```
You might also like
asible Test Ansible roles with Molecule
DevOps Engineers: Between expectations and reality DevOps Engineers: Between expectations and reality
Ansible Collections – More clarity and easier sharing in Ansible
Docker Storing apps in containers Docker: Storing apps in containers
ATIX in action Using Packer to Speed Up Internal Test Deployments – ATIX in Action
The Future Ansible The Future of Ansible
ATIX-Crew
+ postsBio

Der ATIX-Crew besteht aus Leuten, die in unterschiedlichen Bereichen tätig sind: Consulting, Development/Engineering, Support, Vertrieb und Marketing.

  • ATIX-Crew
    Foreman Birthday Party 2024
  • ATIX-Crew
    CrewDay 2024
  • ATIX-Crew
    Navigating the XZ Security Vulnerability: A Comprehensive Guide
  • ATIX-Crew
    Automating Kafka with Ansible
  • ATIX-Crew
    Managing Large Debian Repositories with Pulp
  • ATIX-Crew
    Configuration Management across Different Networks with AWX
  • ATIX-Crew
    pulp_deb past, present, and future – tell us what pulp_deb development should focus on next
  • ATIX-Crew
    DevOps Culture “without Bullshit”
  • ATIX-Crew
    ATIX @ CfgMgmt Camp 2020
  • ATIX-Crew
    The Future of Ansible
  • ATIX-Crew
    A somewhat different OSAD
  • ATIX-Crew
    Save The Rhino
  • ATIX-Crew
    Ansible Collections – More clarity and easier sharing in Ansible
  • ATIX-Crew
    SBOL: Open Source based exchange for biotech enthusiasts
  • ATIX-Crew
    Test Ansible roles with Molecule
  • ATIX-Crew
    ATIX Crew on Tour: Geocaching and pasta salad by the water
  • ATIX-Crew
    ATIX’s Debian/Ubuntu Erratum Service is now open source!
  • ATIX-Crew
    The ATIX crew @ Config Management Camp 2019
  • ATIX-Crew
    From the starting block into the fire!
  • ATIX-Crew
    orcharhino-installer Plugin Selection
  • ATIX-Crew
    fpm – the fast track to the parcel
  • ATIX-Crew
    ATIX #CrewDay: Rhino learns to speak!
  • ATIX-Crew
    SaltStack: Salty alternative to the puppet player
  • ATIX-Crew
    Snapshots for everyone!
  • ATIX-Crew
    Configuration management with Ansible
  • ATIX-Crew
    Creation of Foreman RPM packages with Docker containers
  • ATIX-Crew
    Rancher: New containers for the (server) farm – quick and easy
  • ATIX-Crew
    Rancher: Conducting a container pack
  • ATIX-Crew
    Docker Swarm: A herd of containers
  • ATIX-Crew
    ATIX at the Chemnitz Linux Days 2017 – A story from the perspective of our learners
  • ATIX-Crew
    Software-defined storage
  • ATIX-Crew
    Docker containers – a lightweight alternative to virtualization
  • ATIX-Crew
    Selenium IDE – Automated testing of web applications with a browser

On this page

ISO 27001 Certified Download ISO 27001 Certificate
ISO 9001 Certified Download ISO 9001 Certificate
Newsletter
Never miss anything again. Sign up for the ATIX newsletter!
Sign up now
Blog
  • Blog Start Page
  • ATIX Insights
  • Cloud Native
  • Container Plattformen und Cloud
  • DevOps
  • Infrastructure Automation
  • Linux Platform Operations
  • orcharhino
Privacy & Legal

Privacy Policy

Imprint

Terms and Conditions

B2B

Twitter     Facebook    LinkedIn    Youtube     mastodon=

© Copyright – ATIX AG

Scroll to top Scroll to top Scroll to top