安装python
来源:互联网 发布:helloworld的java程序 编辑:程序博客网 时间:2024/05/16 08:10
学习python的链接
网址:https://www.cnblogs.com/caoguo/p/5351100.html—ansible常用命令
ansible playbook详解(剧本难写,是另一种语言)
ansible yml语法–https://www.cnblogs.com/evilliu/a
http://www.linuxidc.com/Liunx/
安装python:yum install ansible
安装后的地址:/etc/ansible —vim /etc/ansible/hosts
ctrl d 退出
1.启动:systemctl restart python
无法启动,因此编辑:vim /etc/ansible/hosts –截图
2.检查主机连接:ansible all -m ping
如截图,出现绿色则成功(成功的前提是每台虚拟子机能够互相免密登录)
3.获取远程虚拟子机的所以信息:ansible all -m setup
4.ansible all -a ‘touch /opt/aaa.txt’
5.ansible all -a ‘/opt/t5.sh’
- ansible-playbook a.yml
阅读全文
0 0
- 安装Python
- Python 安装
- python安装
- 安装Python
- python安装
- Python安装
- 安装Python
- python安装
- 安装Python
- 安装Python
- python安装
- python安装
- 安装Python
- Python安装
- python安装
- python安装
- python安装
- 安装Python
- React学习笔记_ReactRedux应用使用AsyncAwait
- dubbo 常见错误
- CentOS 7下添加swap文件
- 关于C语言字母译码
- hdoj 6235 Permutation
- 安装python
- 官方解读双十一大促直播都看什么指标?
- 细谈那年初做自媒体经验分享
- vi基本操作命令
- Java学习——面向对象之多态
- Java 征途:行者的地图
- 并发编程
- 彻底明白RPC框架
- nodejs基础 Stream流2