随笔分类 - ansible
摘要:一、Ansible Inventory配置及详解 Inventory是ansible管理主机信息的配置文件,默认存放在/etc/ansible/hosts。在使用时通过 -i 或 --inventory-file 指定读取,与Ansible命令结合使用如下: # ansible -i /etc/an
阅读全文
摘要:一、ansible的作用以及工作结构 1.1、ansible简介: ansible是新出现的自动化运维工具,基于Python开发,集合了众多运维工具(puppet、cfengine、chef、func、fabric)的优点,实现了批量系统配置、批量程序部署、批量运行命令等功能。ansible是基于模
阅读全文