ansible includes and imports files and simplifies playbook with roles

1. Manage large-scale playbook tasks and simplify playbook by using roles When a playbook contains a large service, we can split it into small files for easy management; You can also use modularity to combine multiple playbooks into one playbook, or insert a single file into the playbook. This allows you to reuse a single file in multiple ...

Posted on Mon, 08 Nov 2021 02:24:23 -0500 by Leipe_Po

Easy script -- playbook script

1: playbooks overview 1.1 what is playbooks Playbooks are Ansible's configuration, deployment and orchestration languages. They can be described as a scheme that requires a remote host to execute commands, or a set of commands run by a group of IT programs At the basic level, playbooks can be used to manage configuration files for dep ...

Posted on Tue, 26 Oct 2021 06:45:29 -0400 by ozone

The records of server deployment process and step-by-step records of kolla's openstack

Article catalog preface Experimental environment preparation Start deployment network configuration Simple method of creating instance and Internet References preface I am a little white, because the course requires building a cloud platform environment, and then I choose the container based ope ...

Posted on Sun, 21 Jun 2020 23:17:27 -0400 by GBS

jenkins package deployment tool installation

Package download maven package download gradle package download ant package download node package download Configure environment #decompression tar zxf apache-maven-xxxx.tar.gz -C /usr/local tar zxf gradle-xxxx.tar.gz -C /usr/local tar zxf node-xxxxx.tar.gz -C /usr/local tar zxf apache-ant-xxxx.tar.gz -C /usr/local #Add envi ...

Posted on Sun, 14 Jun 2020 23:04:48 -0400 by mj99

Consumer cluster deployment-01

#####Reference article( https://blog.51cto.com/412166174/1975822) About consumer Consul includes multiple components, but as a whole, it provides service discovery and service configuration tools for your infrastructure. It provides the following key features:Service discovery: the client of Consul can provide a service, such as api or mysql. ...

Posted on Wed, 03 Jun 2020 11:02:10 -0400 by dancahill

ansible one click installation of mysql8.0

ansbile installation: # ansible needs to install epel warehouse in CentOS7 yum install -y epel-release yum install -y ansible There are several ways to install. yum installation is the simplest. Installing ansible is not the key. My version is as follows: [root@szwpldb1081 mysqltools]# ansible --version ansible 2.7.10 config file = /etc/an ...

Posted on Fri, 01 May 2020 23:43:22 -0400 by qrt123

python uses apt module to install software package

Recently, I started to learn python, and saw that Python has a very useful place in system management, especially in automation management and has made great achievements (such as Ansible). Combined with the latest actual situation, learn how Python manages the software packages on linux. In particular, ubuntu is the ap ...

Posted on Thu, 30 Apr 2020 03:46:44 -0400 by venkyphp

Ansible Jinja2 template use

Ansible Jinja2 template usage, syntax and use cases   Host planning   Add user account explain: 1. Login account used by operation and maintenance personnel; 2. All businesses are placed in the "home directory of yun users" under / app / to avoid misplacement of business data; 3. This user is also used by ansible, because almost al ...

Posted on Wed, 29 Apr 2020 12:42:58 -0400 by master123467

Detailed explanation of Ansible Facts variable

Explanation and use case of Ansible Facts variable   Host planning   Add user account explain: 1. Login account used by operation and maintenance personnel; 2. All businesses are placed in the "home directory of yun users" under / app / to avoid misplacement of business data; 3. This user is also used by ansible, because almost all ...

Posted on Sat, 25 Apr 2020 12:33:25 -0400 by JChilds

Detailed explanation of Ansible Playbook variable and register

ansible defines variable mode and [multi-level] variable reference, and details of register   Host planning   Add user account Explain: 1. Login account used by operation and maintenance personnel; 2. All businesses are placed in the "home directory of yun users" under / app / to avoid misplacement of business data; 3. This user is ...

Posted on Sun, 12 Apr 2020 07:16:58 -0400 by rami