Ansible automation deployment detailed tutorial

1, Ansible automatic deployment K8S cluster 1.1 introduction to ansible Ansible is an it automation tool. It can configure systems, deploy software, and coordinate more advanced IT tasks, such as continuous deployment and rolling update. Ansible is suitable for managing enterprise IT infrastructure ...

Posted by m@ndio on Wed, 22 Jan 2020 08:09:27 +0100

[provide feasibility Script] RHEL/CentOS 7 multi node SSH password free login

Experiment Description: In automatic deployment, other SSH machines will often operate. However, each password authentication is very annoying, especially for a long password, so SSH password free login is essential; When there are many machines, Ansible is often used to distribute and execute SSH password free login scripts, so that each machi ...

Posted by Ree on Thu, 02 Jan 2020 19:23:57 +0100

Kubernetes Advanced Node Auto Expansion/Scaling

Kubernetes Advanced Node Auto Expansion/Scaling Catalog: 1. Cluster AutoScaler cloud vendor expansion/scaling 2. Ansible one-click auto-expanding Node 1,Cluster AutoScalerExtension: Cluster AutoScaler periodically detects whether there are sufficient resources to schedule the newly created Pod and calls Cloud Provider to cr ...

Posted by balsdorf on Wed, 11 Dec 2019 22:32:16 +0100

Generating dynamic ansible Inventory by flask + flask ﹣ Sqlalchemy

1. Introduction to ansible inventory; Ansible Inventory includes two parts: static Inventory and dynamic Inventory. Static Inventory refers to the host and group specified in the file. Dynamic Inventory refers to obtaining the host list through external script and returning it to ansilbe command according to the format required by ansible. In ...

Posted by Isoss on Fri, 22 Nov 2019 17:51:54 +0100

Asible Learning Notes--Common Modules

Ansible Common Modules Modules included in this section: (1) Timing task module cronvar (2) archive module (3) Unpacking module unarchive (4) Download module get_url (5) wait_for module (6) script module Timed Task Module cronvar In addition to the cron module itself, which can manage cron's environment variables, another module, cronvar, can ...

Posted by jharbin on Sun, 17 Nov 2019 05:15:50 +0100

An example of implementing ansible dynamic inventory script

1. The inventory of ansible resources is dynamic. The script specification states that you need to implement the -- list, - host option and output json data. 1. List output: [root@master_101 ansible]# ./dy_host.py --list {     "all": [         "192.168.8.101",         "192.168.8.102"     ],     "web": {         "hosts": [             "192.168. ...

Posted by DJTim666 on Sun, 03 Nov 2019 00:56:30 +0100

Deploying kubernetes 1.16.0 high availability cluster requires only two steps

Course wget https://github.com/fanux/sealos/releases/download/v2.0.7/sealos && chmod +x sealos && mv sealos /usr/bin sealos init --passwd YOUR_SERVER_PASSWD \ --master 192.168.0.2 --master 192.168.0.3 --master 192.168.0.4 \ --node 192.168.0.5 \ --pkg-url https://sealyun.oss-cn-beijing.aliyuncs.com/cf6bece970f6da ...

Posted by greenie__ on Fri, 27 Sep 2019 09:22:08 +0200

roles of Ansible Automation Operation and Maintenance

Articles Catalogue Introduction to Ansible roles roles directory structure Create roles Give an example Use roles to install and open httpd services for the host, and add httpd to the firewall list haproxy deployment (load balancing) Implementation of keeping alive + haproxy high availability ...

Posted by zeb on Mon, 12 Aug 2019 11:19:52 +0200

Anible Tool for Automated Operations and Maintenance under Linux

What is automated operation and maintenance With the continuous development of the information age, IT operation and maintenance has become an important part of the connotation of IT services. In the face of more and more complex business and diversified user needs, expanding IT applications need more and more reasonable modes to ensure ...

Posted by Chris12345 on Mon, 10 Jun 2019 00:32:33 +0200

Details of Ansible installation, deployment and common modules

Reprinted from http://www.178linux.com/79792 The Ansible command uses Ansible syntax uses ansible-m-a -m NAME, -module-name=NAME: Specifies the module used for execution -u USERNAME, -user=USERNAME: Specify the remote host to run the command with USERNAME -s, -sudo: equivalent to sudo commands on Linux systems -USUDO_USERNAME, -sudo-use ...

Posted by rockstar_tom on Thu, 06 Jun 2019 18:25:25 +0200