ansible official document translation -- ad-hoc command
The first part (it doesn't have to be in order, but the first part can let you get started quickly): ansible official document translation - Quick Start (based on rhel8 system, applicable to centos) Original link: Introduction to ad hoc commands
Introduction to ad hoc commands (temporary commands)
The easy ad hoc command automates a task on o ...
Added by rami on Sat, 19 Feb 2022 23:13:32 +0200
Introduction to Ansible series (9 kinds) commands
1. Execution process of ansible command
Load your own configuration file. The default is / etc / ansible / ansible cfgLoad the corresponding module file, such as commandGenerate the corresponding temporary py file from the module command through ansible, and transfer the file to the corresponding executing user $home / Ansible / TMP / ansible ...
Added by scifo on Tue, 08 Feb 2022 17:51:37 +0200
ansible manage variables and encryption and decryption
ansible manage variables and encryption and decryption
Introduction to ansible variable
Ansible supports the use of variables to store values and reuse these values in all files of ansible projects. This simplifies the creation and maintenance of projects and reduces the number of errors.
For example, a variable might contain the following v ...
Added by StoneJunkie on Wed, 19 Jan 2022 18:51:38 +0200
Ansible fact cycle condition judgment
Ansible fact
Ansible is actually a variable that ansible automatically detects on the managed host. The fact contains host related information that can be used like regular variables, conditions, loops in play, or any other statement that depends on the values collected from the managed host.
Some of the facts collected for managed hosts may ...
Added by alex_savin on Fri, 14 Jan 2022 09:26:23 +0200
Ansible deployment role for managing large projects using Ansible galaxy
brief introduction
Ansible Galaxy (official website: https://galaxy.ansible.com )Is a public repository of ansible content written by many ansible administrators and users. It contains thousands of Ansible roles and has a searchable database to help Ansible users identify roles that may help them complete management tasks Ansible Galaxy con ...
Added by tomasd on Sun, 26 Dec 2021 12:26:49 +0200
Variable and encryption in Ansible
Variable naming
1. It can only contain numbers, underscores and letters 2. Can only start with underscore or letter!
Variable level
Global: set from the command line or configuration file Play: set in play and related structures Host: tasks collected or registered by lists, facts
Variable priority setting: Narrow and wide area
Variable set ...
Added by Vettel on Wed, 24 Nov 2021 21:52:02 +0200
RHCE-B1. Install and configure Ansible as required
Red hat RHCE exam afternoon - RHCE (RH294)
RH294 mission overview
The examination time is 4 hours, 6 virtual machines and 15 questionsThe problems originally done through scripts or clusters now need to be implemented by playbookThere are about 6 virtual servers in the exam, all of which have made mutual secret freeThe problem is done in t ...
Added by ladokha on Mon, 04 Oct 2021 21:28:41 +0300
002.OpenShift installation and deployment
I. description of preconditions
1.1 overview of installation preparation
Red Hat OpenShift container platform is composed of Red Hat as RPM package and container image. The RPM package is downloaded from the standard Red Hat repository (Yum repository) using the subscription manager, and the container image is from the Red Hat private reposit ...
Added by jcantrell on Fri, 19 Jun 2020 06:48:12 +0300
Kolla ansible deployment of all in one single node openstack
About kolla ansible
kolla's mission is to provide production level, out of the box delivery capabilities for the openstack cloud platform. kolla's basic idea is that all services are containers. All services are run based on docker, and one container can run only one service (process), so as to run do ...
Added by randomthinker on Sat, 13 Jun 2020 11:25:04 +0300
Rendering host file written by ansible role
The hosts file is usually used when deploying a distributed cluster. We usually write in the ip address and host name. How to implement rendering when writing Ansible?Define the roles first
[root@ansible kubeadm-high-install]# ls
ansible.cfg group_vars hosts roles site-all.yml
The first file takes the default etc/ansible cfg file and remov ...
Added by dutcbhboy83 on Wed, 27 May 2020 18:20:53 +0300