简体   繁体   English

Euca 5 Ansible 安装跳过节点操作

[英]Euca 5 Ansible Install Skipping Node Actions

I'm trying to use the Euca 5 ansible installer to install a single server for all services "exp-euca.lan.com" with two node controllers "exp-enc-[01:02].lan.com" running VPCMIDO.我正在尝试使用 Euca 5 ansible 安装程序为所有服务“exp-euca.lan.com”安装一个服务器,两个节点控制器“exp-enc-[01:02].lan.com”运行 VPCMIDO。 The install goes okay and I end up with a single server running all Euca services including being able to run instances but the ansible scripts never take action to install and configure my node servers.安装顺利,我最终得到一个运行所有 Euca 服务的单一服务器,包括能够运行实例,但 ansible 脚本从未采取行动来安装和配置我的节点服务器。 I think I'm misunerdstanding the inventory format.我想我误解了库存格式。 What could be wrong with the following?以下可能有什么问题? I don't want my main euca server to run instances and I do want the two node controllers installed and running instances.我不希望我的主要 euca 服务器运行实例,我确实希望安装两个节点控制器并运行实例。

 --- all: hosts: exp-euca.lan.com: exp-enc-[01:02].lan.com: vars: vpcmido_public_ip_range: "192.168.100.5-192.168.100.254" vpcmido_public_ip_cidr: "192.168.100.1/24" cloud_system_dns_dnsdomain: "cloud.lan.com" cloud_public_port: 443 eucalyptus_console_cloud_deploy: yes cloud_service_image_rpm: no cloud_properties: services.imaging.worker.ntp_server: "xxxx" services.loadbalancing.worker.ntp_server: "xxxx" children: cloud: hosts: exp-euca.lan.com: console: hosts: exp-euca.lan.com: zone: hosts: exp-euca.lan.com: nodes: hosts: exp-enc-[01:02].lan.com:

All of the plays related to nodes have a pattern similar to this where they succeed and acknowledge the main server exp-euca but then skip the nodes.所有与节点相关的游戏都具有与此类似的模式,它们成功并确认主服务器 exp-euca 但随后跳过节点。

 2021-01-14 08:15:23,572 p=57513 u=root n=ansible | TASK [zone assignments default] *********************************************************************************************************************** 2021-01-14 08:15:23,596 p=57513 u=root n=ansible | ok: [exp-euca.lan.com] => (item=[0, u'exp-euca.lan.com']) => {"ansible_facts": {"host_zone_key": "1"}, "ansible_loop_var": "item", "changed": false, "item": [0, "exp-euca.lan.com"]} 2021-01-14 08:15:23,604 p=57513 u=root n=ansible | skipping: [exp-enc-01.lan.com] => (item=[0, u'exp-euca.lan.com']) => {"ansible_loop_var": "item", "changed": false, "item": [0, "exp-euca.lan.com"], "skip_reason": "Conditional result was False"}

It should be node , not nodes , ie:它应该是node ,而不是nodes ,即:

node:
  hosts:
    exp-enc-[01:02].lan.com:

The documentation for this is currently incorrect.文档当前不正确。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM