当前位置:网站首页>containerd ctr运行ansible容器执行ansible-playbook任务完整命令
containerd ctr运行ansible容器执行ansible-playbook任务完整命令
2022-07-27 20:14:00 【学亮编程手记】
ctr run -t --rm --net-host --env "PLAYBOOK_PATH=$(pwd)" --env "TZ=Asia/Shanghai" --mount type=bind,src=$(pwd),dst=/root/playbook,options=rbind:rw zhangxueliang2020/ansible:2.9.2-devel(ansible镜像) ansible(ansible容器名称) ansible-playbook -i inventories/"$inventory"/hosts.ini patch.yml --extra-vars "silent=$silent inventoryName=$inventory"
边栏推荐
- 2022/4/8考试总结
- UDF and analysis cases of sparksql, 220726,,
- US officials suggested trump prevent Infineon from acquiring cypress
- 2022 / 4 / 11 exam summary
- 深度剖析 —— 文件操作
- Real time Bi (III) technical implementation of offline data and real-time data processing
- 2022/3/11 exam summary
- ADI, Shijian and Junlong technology jointly donated 2.3 million yuan to help fight the epidemic in Hubei
- Parameter transmission of components
- 雅思听力——剑雅5——Text1
猜你喜欢

浅析云原生应用安全组织架构

Cloudcompare & PCL platform convex hull method to calculate crown volume

Network development socket and UDP, TCP protocols

Jeninkins离线部署

Deploy dolphin scheduler high availability cluster based on rainbow

智能家居浪潮来袭,如何让机器看懂世界 【结尾有资料】

Take byte offer in four rounds and answer the interview questions

Understanding and use of third-party library

Basic SQL DQL

Do you want to be dismissed? Let's take a look at the "exit tips" of programmers
随机推荐
深度剖析 —— 文件操作
你不知道的Redis那些事,我来详解Redis底层数据结构
物联网架构完全指南
leetcode-461.汉明距离
Jupyter notebook solves the problem that printing information cannot be viewed after closing the browser
The follow-up is coming. Whether it's OK without reference, let's make it clear to everyone at once!
组件的传参
Oppo find x2 series release: 3k+120hz curved screen, DxO score first, top version 6999 yuan!
[noi2018] return (Kruskal reconstruction tree / persistent and search set)
leetcode-470.用 Rand7() 实现 Rand10()
雅思听力——剑雅5——Text1
Google executives: 40% of "generation Z" are more willing to use tiktok to cannibalize Google's core products
2022/3/11 考试总结
How to narrow the gap between project planning and implementation?
Fluorescence imaging of cle19 polypeptide in cells preparation of fluorescence quenching quantum dots of bovine serum albumin
知乎数据分析训练营全能班
Another fire broke out in Samsung storage factory!
2022/5/18 考试总结
2022/5/31考试总结
Jstack stuff