ansible MODULE FOR AUTOMATIC OPERATION AND MANAGEMENT

Ansible can use the command line to manage automatically. Command management tools are supported by a series of modules and parameters. The basic grammar is as follows: ansible  <host-pattern>  [ –m  module_name ]  [ –a  args] <host-pattern> : Which hosts are valid [ –m  module_name ]  :Specify the module to be used [-a args ]  :M ...

Posted by migmedia on Sun, 05 May 2019 12:32:38 -0700

Batch distribution and execution of script keys

Batch distribution and execution of script keys Label (Space Separation): Linux Service Architecture - Chen Siqi This teaching note is a summary of my study and work career, which is the first draft (there are many imperfections), the original work, allowed to be reproduced, when reproduced, please be sure to indicate the original source of the ...

Posted by ev66 on Fri, 19 Apr 2019 23:39:34 -0700

ansible creates vmware virtual machine

Environment: vmware virtualizationRequirements: Business departments need dozens or even hundreds of virtual machines at a time In the past, no matter this area, temporary needs have to be met due to the reduction of personnel. Use ansible vmware_guest to create virtual machines, avoiding manual one-by-one creation of pure manual workDon't tal ...

Posted by magic-eyes on Sat, 02 Feb 2019 18:57:15 -0800

Deploying docker-based CEPH cluster using ceph-ansible

Deploying docker-based CEPH cluster using ceph-ansible Install ansible Download ceph-ansible Configure ceph-ansible Start deployment Destroying Clusters (Caution) Install ansible For installing ansible and configuring secret-free login between nodes, this is not covered here. Please refer to Official Documents. Downlo ...

Posted by Valkrin on Thu, 31 Jan 2019 19:12:15 -0800

Understand the core concepts of Ansible for automated operations, install and configure Ansible and learn to use its common modules.

Overview of Automation Operation and Maintenance: Nowadays, with the rapid development of the Internet, the efficiency of traditional operation and maintenance methods is too low. Deployment of automated operation and maintenance can safely and efficiently complete the maintenance work, which has become the main mode of operation and maintena ...

Posted by beeman000 on Thu, 31 Jan 2019 12:27:15 -0800

YAML, Basic Elements of Ansible Automation Operation and Maintenance

Introduction to YAML: * YAML is a format used to express data sequences. YAML is the abbreviation of YAML Ain't Markup Lanaguage, that is, YAML is not XML. * characteristics: 1. It has good continuity and is easy to implement. 2. Strong expressive ability and good expansibility; 3. Good interaction with scripting language; 4. H ...

Posted by drorshem on Mon, 28 Jan 2019 13:30:14 -0800

Ansible's Role Playing: roles. Installation of LAMP environment using roles

roles in ansible Roles can automatically load variable files, tasks and handlers according to hierarchical structure. Simply put, roles include variables, files, tasks, modules and processors in separate directories, and can be easily included. roles are generally used in host-based service building scenarios, but can also be used to build dae ...

Posted by unerd.co.uk on Sat, 19 Jan 2019 21:15:12 -0800

Ansible uses jinja2 to manage configuration files and jinja2 syntax profiles

Introduction to Jinja2 Jinja2 is a python-based template engine with functions similar to smarty in PHP, Freemarker and velocity in J2ee. It can fully support unicode, and has an integrated sandbox execution environment, which is widely used. Jinja2 uses BSD authorization The syntax of Jinja2 is composed of variables and stat ...

Posted by mutedgirl on Tue, 18 Dec 2018 21:27:04 -0800