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 ...
Posted on Wed, 27 May 2020 08:22:10 -0700 by elkidogz
In the previous section, we detailed some of the commonly used modules provided by Ansible.You can see that each module in Ansible focuses on a certain aspect of functionality.Although the functions implemented by each module are relatively simple, the more complex functions can be achieved by combining the modules.In Ansible, the fil ...
Posted on Wed, 20 May 2020 15:28:58 -0700 by rheroux
Ansible is a free and open source configuration and automation tool developed for Unix like systems. It's written in Python, similar to Chef and Puppet, but with one difference and advantage, we don't need to install any clients in the node. It uses SSH to communicate with nodes.
Step 1: install Ansible using yum
Posted on Tue, 05 May 2020 08:45:37 -0700 by cneale
1. playbook - Introduction to playbook
playbooks is a different mode of execution from the Ansible command line, which is more flexible and powerful.Simply put, playbook is a very simple configuration management and multi-host deployment system that, unlike any existing pattern, serves as a foundation for deploying complex applications.Playboo ...
Posted on Sun, 12 Apr 2020 09:44:13 -0700 by susi
1. Server preparation
Posted on Wed, 08 Apr 2020 20:46:42 -0700 by jrose83
The kube-proxy component is to provide endpoint services for pod applications within a cluster. When we define an svc for a pod, the kube-proxy automatically generates a mapping relationship between the pod and the svc and proxies it to the cluster or hosts.
1 Installation preparation
Specific note: All operations here are performed on ...
Posted on Sat, 04 Apr 2020 02:00:08 -0700 by jakeruston
Operating System Version
External Network IP (Analog)
Posted on Sun, 08 Mar 2020 09:26:07 -0700 by meandrew
shell scriptTo be precise, Shell is a command-line interpreter that follows certain syntax to interpret and pass commands into the system.It provides an interface system-level program for users to send requests to Linux to run programs. Users can use shell to start, suspend, stop, or even write some programs.Shell itself is a program written i ...
Posted on Fri, 21 Feb 2020 09:20:41 -0800 by jwhite68
What is ansible?
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 commands and so on.Ansible is m ...
Posted on Sun, 09 Feb 2020 09:49:02 -0800 by like_php
Contents of this chapter:inventory host list2. yml grammar3. playbook Details + Operations
inventory host list
ansible The default host list is/etc/ansible/hosts file
//Host lists can be set manually or generated dynamically through Dynamic Inventory
//Use FQDN for generic hostname
[webserver] #Square bracket set ...
Posted on Sun, 09 Feb 2020 09:28:59 -0800 by cybercrypt13