腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(56)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
1
回答
ansible-inventory
在使用--profile时无法与ec2.py一起正常工作
我使用以下命令从aws导入清单,它工作得很好:现在,我想使用特定的然而,当我把所有这些放在一起时,它就不起作用了错误:
ansi
浏览 0
提问于2020-06-10
得票数 0
1
回答
Ansible-inventory
gcp_compute插件下划线添加到主机组名称
然而,由于某种原因,
ansible-inventory
会在组名称中添加一个下划线前缀,即使前缀留空也是如此。每当我使用以下inventory.gcp.yml文件运行
ansible-inventory
时: plugin: gcp_compute - terzbxkeyed_groups
浏览 11
修改于2019-01-27
得票数 0
1
回答
Ansible-Inventory
AWS_EC2插件如何显示主机名和私有ips
prefix: aws - tag:Namegroups: integration: group_names 运行
ansible-inventory
浏览 18
提问于2020-06-10
得票数 0
回答已采纳
1
回答
如何使用Ansible Dynamic Inventory for AWS显示标签名称?
如何在运行
ansible-inventory
时使
ansible-inventory
输出显示tag:Name (如果可能的话,还显示instance-id ),但在运行剧本时使用ansible_hostinstance-state-name: running - instance-id ansible_host: instance-id 可能的-库存: $
ansible-inventory
浏览 15
修改于2021-05-08
得票数 0
回答已采纳
1
回答
不可靠的动态库存脚本不会得到评估
/main.py', '--list'][inventory]但是,当我尝试在中使用脚本时,它失败了:
ansible-inventory
[core 2.13.2] config file = /Users/jaep/code/ic//jaep/
浏览 13
提问于2022-10-28
得票数 -2
2
回答
Azure ansible -动态清单不工作
azure_rm.ymlinclude_vm_resource_groups:auth_source: auto
ansible-inventory
[core 2.11.2] config file = /home/ansible/azure_ansible/ansible/.ansible/collections:/
浏览 2
修改于2021-10-20
得票数 0
1
回答
不可否认,支持多个级别的group_vars和host_vars dirs吗?
如果我以基本的“库存”目录为目标来测试库存,我可以看到sites下的group_vars/host_var文件夹被忽略了:但是,如果我以特定站点为目标,则使用基础组_vars/host_var文件夹,但当然忽略了基本“库存”中的文件夹:
ansible-inventory
inventories/site1/group_va
浏览 5
提问于2022-09-06
得票数 0
1
回答
按脚本将主机添加到库存中
像这样的东西;
ansible-inventory
-i inventory.yml --add-host hostname --ip <ipaddress> --password <password>
浏览 0
提问于2022-02-21
得票数 0
2
回答
aws_ec2库存插件问题
aws_ec2aws_secret_access_key: ********** - us-east-2 当我运行
ansible-inventory
浏览 1
提问于2019-02-06
得票数 7
回答已采纳
3
回答
azure抛出编码错误的Ansible inventory插件
ansible inventory plugin页面中所示的最小设置编写了yaml文件: ± cat foo.azure_rm.yaml plugin: azure_rm 当我在该文件上运行
ansible-inventory
二进制文件时,我得到: ±
ansible-inventory
-i foo.azure_rm.yaml --list [WARNING]: * Failed to parse /path/to/foo.azure_rm.yaml
浏览 29
提问于2019-02-01
得票数 1
回答已采纳
3
回答
将Gitlab CI变量注入Ansible
例如:-
ansible-inventory
--list -i vSphere/vxrail.vmware.yml vxrail.vmware.yml
浏览 2
提问于2019-11-15
得票数 1
1
回答
CLI提供的无意义剧本语法帮助
) ansible-console (1) ansible-galaxy (1)
ansible-inventory
浏览 0
提问于2017-12-12
得票数 1
3
回答
如何使用现有的仓库文件在Ansible?
同步会因以下错误而失败: 1.753 DEBUG Using system install of
ansible-inventory
CLI: /usr/bin/
ansible-inventory
1.753 INFO Reading Ansible inventory source: /var/lib/awx/projectssite-packages/awx
浏览 0
修改于2017-10-13
得票数 8
回答已采纳
1
回答
如何使用ansible inventory plugin vmware_vm_inventory解决网络问题?
config.name'- 'guest.ipAddress'- 'summary.runtime.powerState' 如果我运行以下命令:
ansible-inventory
我尝试过的: - 'guest.net.0.network' - 'guest.net[0].network' 结果是
ansible-inventory
的帮助输出。
浏览 26
提问于2021-09-18
得票数 1
回答已采纳
2
回答
在ansible中构建group_vars时循环遍历列表
ansible-inventory
报告:ERROR!
浏览 71
提问于2021-06-02
得票数 1
回答已采纳
1
回答
可以通配符为host_vars目录吗?
这使我很难创建host_vars目录,因为我必须经常运行
ansible-inventory
-i ...并复制目录名。是否可以创建“通配符”host_vars目录而不包括目录名中的uid?
浏览 0
提问于2020-06-25
得票数 4
回答已采纳
1
回答
抗-库存-列表命令失败与gce插件错误: gce库存插件无法启动
但是,当将
ansible-inventory
--list命令指向Google gcp.yml库存文件时,我会得到以下错误:这是完整的库存命令:
ansible-inventory
浏览 17
修改于2022-08-14
得票数 -3
2
回答
无法建立PyEZ连接: ConnectUnknownHostError
~/vagrant-projects/junos$
ansible-inventory
--host r1 "ansible_ssh_host": "127.0.0.1", "ansible_ssh_user": "root"~/vagrant-pr
浏览 2
提问于2019-03-20
得票数 0
回答已采纳
3
回答
无法让Ansible playbook在初始运行时运行
更新:
ansible-inventory
-i inventory_aws_ec2.yaml --graph @all
浏览 8
修改于2020-01-07
得票数 0
1
回答
如何在使用inventory_hostname插件时修改aws_ec2?
plugin: aws_ec2hostnames: '"tag:Name" + ".suffix.com"' 一旦我在我的库存插件yaml文件中做了类似于Jinja的任何事情,
ansible-inventory
浏览 2
提问于2019-09-22
得票数 4
第 2 页
第 3 页
点击加载更多
领券