Ansible Role: A Comprehensive Guide to Structuring Playbooks

nginx-role.yml roles/ └── nginx ├── tasks │ ├── group.yml # Create group │ ├── main.yml │ ├── restart.yml # Restart service │ ├── start.yml # Start service │ ├── templ.yml # Copy configuration file │ ├── user.yml # Create user │ └── yum.yml # Install service └── templates └── nginx.conf.j2 # Configuration file group.yml (0 … Read more

Technical Discussion: High Availability with Kolla-Ansible

In our past technical practices, we have discussed how to achieve containerized deployment of the OpenStack cloud platform using the Kolla-Ansible tool. Now, with the dual demands of enterprise users for operational experience and system resilience, this article will integrate the new Skyline component into the Kolla-Ansible toolchain. Skyline, as the next-generation dashboard for OpenStack, … Read more

Comprehensive Automation Operations Tool with Ansible and Docker

1. Introduction SSM is a lightweight server management platform that integrates Ansible and Docker, featuring graphical interface, modularity, and strong scalability. It allows for a series of tedious operations such as server deployment, container orchestration, resource monitoring, and alert notifications to be completed through a browser—no command line skills required, making it easy for beginners … Read more

Ansible Configuration from Beginner to Abandonment (Part 18)

Ansible-navigator Configuration You can obtain the default configuration by running <span>ansible-navigator –eei quay.io/ansible/awx-ee:24.6.1 settings –gs</span>. The <span>ansible-navigator</span> looks for the configuration files <span>ansible-navigator.yaml</span> or <span>ansible-navigator.yml</span>. Here is a default configuration: — ansible-navigator: # ansible: # config: # # Help options for ansible-config command in stdout mode # help: False # # Specify the path to … Read more

Ansible: From Introduction to Abandonment (Seventeen)

Ansible-navigator config <span>ansible-navigator config</span> is used to view Ansible’s configuration files within a container (equivalent to executing the <span>ansible-config</span> command inside the container). The available options are as follows: Parameter Type Default Value Description <span>-c</span>, <span>–config</span> <span>str</span> Auto-detect (according to Ansible’s default lookup order) Specify the path to the <span>ansible.cfg</span> configuration file <span>–hc</span>, <span>–help-config</span> <span>bool</span> … Read more

Goodbye Manual Operations! Automating Server Configuration and Deployment with Ansible and Python

It was a Wednesday night at 11 PM, and I was about to pack up and leave when suddenly the product manager rushed over and said: “Bro, we need to deploy a new feature on 20 servers tomorrow, and configure nginx, redis, mysql…” At that moment, I felt overwhelmed. If I had to manually SSH … Read more

Introduction to Ansible

Ansible is an open-source automation configuration management tool based on OpenSSH. It can be used to configure systems, deploy software, and orchestrate more advanced IT tasks such as continuous deployment or zero-downtime updates. The main goals of Ansible are simplicity and ease of use, and it also places a strong emphasis on security and reliability. … Read more

How to Choose the Right IoT Communication Protocol: MQTT, CoAP, AMQP, REST/HTTP, JMS, XMPP & DDS

Recently, we have been discussing the MQTT IoT communication protocol. However, in reality, there are more than just MQTT in the realm of IoT communication protocols. In the field of Industrial IoT (IIoT), OPC UA and MQTT are more commonly involved and applied. Therefore, in this article, we will briefly introduce several other IoT protocols … Read more

Httpx: The Future Star of Asynchronous HTTP!

▼ Click the card below to follow me ▲ Click the card above to follow me Httpx: The Future Star of Asynchronous HTTP! In modern web applications, HTTP requests are ubiquitous. Whether fetching web content, calling APIs, or performing data scraping, HTTP is at the core. Traditional HTTP libraries, such as requests, while simple and … Read more