issues
search
GalaxyForce
/
2020DevOps
0
stars
0
forks
source link
AutoOps
#21
Open
GalaxyForce
opened
4 years ago
GalaxyForce
commented
4 years ago
AutoOps
一些自动化运维工具
ansible
saltstack
puppet
GalaxyForce
commented
4 years ago
Ansible
Ansible 基础
架构
组成
命令执行
安装
epel源的rpm包安装
编译安装
git repo
pip
配置
相关文件
配置文件
ansible 主配置文件: /etc/ansible/ansible.cfg
inventory 主机清单
相关工具
ansible-doc
ansible
ansible-playbook
ansible-vault
ansible-console
ansible-galaxy
常用模块
Command
Shell
Script
Copy
Fetch
File
unarchive
archive
hostname
cron
yum
service
systemd
user
group
lineinfile
replace
setup
Ansible-Playbook
playbook
yml 语言及语法
ansible list directory 数据格式
ansible-playbook 核心元素及组件
hosts 组件
remote_user 组件
task 列表和 action 组件
其他组件
playbook 中使用handlers 和 notify
playbook 中使用tags组件
demo
playbook 创建 mysql 用户
playbook 安装 nginx
playbook 安装和卸载 httpd
playbook 安装 mysql
ansible-playbook 中使用变量
setup 模块中变量
playbook 命令行定义变量
AutoOps
一些自动化运维工具