NAME VERSION INTERNAL-IP
cnvs-kubm-101-103 v1.15.3 172.20.101.103
OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
CentOS Linux 7 (Core) 5.2.9-1.el7.elrepo.x86_64 docker://18.6.1
Posted on Fri, 23 Aug 2019 07:11:15 -0700 by cshinteractive
ansible 3rd playbook Conditional Judgment, Cycle and roles Hierarchical Management
1. ansible playbook's judgment, cyclic syntax:
In ansible playbook, when syntax can be used to make judgments and loops through with_items, with the following examples:
- hosts: websrvs
Posted on Wed, 31 Jul 2019 16:12:16 -0700 by abolmeer
http://www.yamllint.com/This blog article links up the first part: Installation of Ansible Automation Operation and Maintenance and Explanation of Common Modules
Introduction to Playbook
The playbook configuration file uses YAML grammar, which is concise and clear in structure. The playbook configuration file, similar to shell scripts, is a Y ...
Posted on Tue, 23 Jul 2019 03:32:22 -0700 by sathyan
I've been studying lately. Ansible Some playbook writing, so it has not been updated, think of the current people on such as saltstack, docker,
Ansible I'm interested in Automated Deployment tools, but I'm suffering from the lack of Chinese examples to learn. Here I'll share with you some of the more popular deployment experience I've been e ...
Posted on Mon, 24 Jun 2019 11:28:56 -0700 by wama_tech
Introduction and Use of Ansible Foundation
ansible is a new automated operation and maintenance tool. It is developed based on Python and combines the advantages of many operation and maintenance tools (puppet, cfengine, chef, func, fabric). It realizes the functions of batch system configuration, batch program deployment, batch running c ...
Posted on Sat, 15 Jun 2019 13:07:55 -0700 by gskaruz
Catalog:1.1 ansible command interpretation1.2 Common modules of ansible 1.2.1 shell and command 1.2.2 replication module copy 1.2.3 template module 1.2.4 file Module file 1.2.5 package management module yum 1.2.6 yum source configuration module yum_repository 1.2.7 service Management Module service 1.2.8 user Management ...
Posted on Thu, 23 May 2019 16:20:25 -0700 by sloth456
Ansible Inventory actually contains two parts: static Inventory and dynamic Inventory. Static Inventory refers to the hosts and groups specified in the file / etc/ansible/hosts. Dynamic Inventory refers to the list of hosts obtained through external scripts and returned to the ansilbe command in the format required by a ...
Posted on Fri, 17 May 2019 05:09:08 -0700 by JD*
yum install ansible
View file information related to ansible
rpm -ql ansible|less
Commands and Options
Basic grammar of hosts
Host and group
Note: When the port number is not the default, it can be expres ...
Posted on Thu, 16 May 2019 18:10:45 -0700 by fnbcprog
Configuration file details:
1. Main configuration file: / etc/asiable/ansiable.cfg
module_name =command ##The default module of ansible is command module, but it has some limitations when it is used. It is suggested to change to shell module.
host_key_checking = False ##Check the host_key corresponding to the host to be contro ...
Posted on Sat, 27 Apr 2019 20:30:35 -0700 by mindfield
The script of ansible is written in yaml language. The basic grammar is as follows:
Basic grammar:1. Case2. Align at the same level and indent at the same level3. Indentation does not allow Tab keys4. The number of indented spaces is irregular, and the same elements can be distinguished.
Supported data structures:1. Object: Set of key-valu ...
Posted on Sat, 26 Jan 2019 19:54:14 -0800 by allanonschick