当前位置:网站首页>ansible命令自动补全
ansible命令自动补全
2022-07-24 00:05:00 【MssGuo】
前言
版本:CentOS Linux release 7.9.2009 (Core) ansible 2.9.27 python 2.7.5
设置ansible命令参数自动补全
ansible 2.9版本开始,支持命令的选项补全功能,该功能依赖于python的argcomplete插件,下面来安装python-argcomplete。
[[email protected] ~]# yum -y install python-argcomplete #安装python-argcomplete
[[email protected] ~]# bash -version #要求bash版本大于或等于'4.2'
[[email protected] ~]# activate-global-python-argcomplete #激活插件
#关闭bash窗口重新登陆
[[email protected] ~]# ansible all --synt<按tab> #按tab能自动补全
hosts (2):
192.168.128.130
192.168.128.131
边栏推荐
- Redis cluster construction (cluster cluster mode, fragment cluster)
- Nacos
- ciscn_ 2019_ c_ one
- Chapter 5: implementation of Web adapter
- Longest increasing subsequence variant [deep understanding of the longest increasing sequence]
- OpenFeign设置circuitbreaker=true后Feign的超时时间(readTimeout)失效
- 为什么大多数人都认为编程很难?
- Multi table query_ External connection
- Linked list - 206. Reverse linked list (this question is very important)
- The differences between text and image drawing, data storage, localstorage, sessionstorage, and cookies
猜你喜欢
![[attack and defense world web] difficulty five-star 15 point advanced question: bug](/img/24/4a7f074aac9a08130cf215f0c39b57.png)
[attack and defense world web] difficulty five-star 15 point advanced question: bug

qiankun子应用package.json中的name成了默认路径

logback
Solo article body contains & lt; & gt; Labels affect page styles

Super simple training of force deduction and problem brushing

Write all the code as soon as you change the test steps? Why not try yaml to realize data-driven?

Idea cannot be switched to Chinese

Splicing of.Net distribution with outlook mail format and table

【译】Go RPC 入门:Hello World

OA项目之我的会议(查询)
随机推荐
JS Learning Notes - - the Underlying Implementation of Array Method
作为一个程序员,有什么想对新人说的吗?
pthread 的 joinable 和 detached
数据驱动之Excel读写
Deep learning 9 feedforward neural network 2: realize feedforward neural network and model optimization
474-82(8、221、300)
String function 1 of C language
ciscn_ 2019_ c_ one
什么是 Restful 动词
day2
The title of solo article will filter out some tags
jarvisoj_ level0
Redis cluster construction (cluster cluster mode, fragment cluster)
怎么开户买收益6%的理财产品呢?
qiankun子应用package.json中的name成了默认路径
QT | set part size sizehint, minimumsizehint, sizepolicy, stretch factor
复制客服微信号,前往微信添加,拨打电话
深度学习之 9 前馈神经网络2:实现前馈神经网络,模型调优
Data driven excel reading and writing
The differences between text and image drawing, data storage, localstorage, sessionstorage, and cookies