码迷,mamicode.com
首页 >  
搜索关键字:自动化 批量 ansible    ( 28798个结果
ansible进阶循环
通过item和with_items对重复操作进行循环执行示例:hosts:jack6_1remote_user:rootgather_facts:notasks:name:touchfilefile:path:"{{item}}"state:touchwith_items:"a""b""c"在jack6_1主机上创建三
分类:其他好文   时间:2020-09-17 17:20:16    阅读次数:39
ansible的循环二
with_items遍历列表中每个元素,包括嵌套列表with_list将嵌套列表作为整体元素遍历with_together将多个列表中的子列表元素,一起输出,不成对则null补位示例:hosts:jack6_1remote_user:rootgather_facts:notasks:debug:msg:"{{item}}"with_items:[1,2,3][a,b]debug
分类:其他好文   时间:2020-09-17 17:19:57    阅读次数:31
ansible循环四
with_indexed_items示例:hosts:jack6_1remote_user:rootgather_facts:notasks:debug:msg:"{{item}}"with_indexed_items:[t1,t2][t3,[t4,t5]][t6]输出结果如下:[root@jack7-1work]#ansible-playbook--syntax-checki
分类:其他好文   时间:2020-09-17 17:19:41    阅读次数:32
ansible循环四
with_indexed_items示例:hosts:jack6_1remote_user:rootgather_facts:notasks:debug:msg:"{{item}}"with_indexed_items:[t1,t2][t3,[t4,t5]][t6]输出结果如下:[root@jack7-1work]#ansible-playbook--syntax-checki
分类:其他好文   时间:2020-09-17 17:19:20    阅读次数:33
API自动化 - 技术点
发送post请求分为表单类(x-www-form-urlencoded)和json(application/json)格式 data参数支持字典格式和字符串格式,建议使用字典格式,在使用json.dumps()方法把data转换为合法的json格式字符串,或者将data参数赋值给post方法的jso ...
分类:Windows程序   时间:2020-09-17 17:14:41    阅读次数:41
ansible循环三
with_nested采用笛卡尔乘积方式,将多个嵌套列表中的元素交叉组合示例:创建多个目录及子目录mkdir-p/testdir/{a,b,c}/{1,2}ansible剧本如下:hosts:jack6_1remote_user:rootgather_facts:notasks:file:path:"/testdir"state:directoryfile:path:"
分类:其他好文   时间:2020-09-17 16:54:16    阅读次数:24
jenkins基础
什么是持续集成 Continuous integration(CI) :频繁地将代码集成到主干 快速发现错误 防止分支大幅度偏离 Continuous delivery(CD):持续交付 持续部署:continuous deployment 持续集成的操作流程 提交 commit 测试 代码仓库对c ...
分类:其他好文   时间:2020-09-17 16:42:23    阅读次数:20
【Selenium自动化】(基础篇2)开发环境搭建
【Selenium自动化】开发环境搭建 1、下载安装Python 下载地址:https://www.python.org 安装时,勾选上:Add Python to PATH 2、使用Python自带的pip 安装selenium 在命令行输入:pip install selenium 安装成功后, ...
分类:其他好文   时间:2020-09-17 16:24:21    阅读次数:28
ansible模块register/vars
register注册变量可以将输出信息作为变量值示例:[root@jack7-1work]#catregister.ymlhosts:PCremote_user:roottasks:name:testshellshell:"echotest>/root/test"register:testvar==================>将shell输出的结果赋值给tes
分类:其他好文   时间:2020-09-17 16:02:37    阅读次数:28
信息系统的发展历程
既然RPA被视为一种软件或应用系统,我们可以再重新审视信息系统的发展历程。这里给出我们的第二个历史观点,“信息系统在发展历程中体现出了不断分化演进再寻求整合的规律,而RPA为前端用户定义了全新的系统访问方式、操作整合方式以及辅助人工方式”。 信息系统的发展历史要比上面谈到的机器人自动化的发展历史短得 ...
分类:其他好文   时间:2020-09-17 15:41:05    阅读次数:49
28798条   上一页 1 ... 71 72 73 74 75 ... 2880 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!