ptrees
V2EX  ›  Docker

ansible -m setup 获取不到 docker 的 ip

  •  
  •   ptrees · Nov 25, 2020 · 2308 views
    This topic created in 2050 days ago, the information mentioned may be changed or developed.

    想用 ansible+docker 模拟多主机的批量部署环境,但是现在 ansible 获取不到 docker 的 ip,ansible_facts 中没有 ansible_default_ipv4,实际上没有任何 ip 相关的值,这个怎么解决呢?

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3170 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 12:57 · PVG 20:57 · LAX 05:57 · JFK 08:57
    ♥ Do have faith in what you're doing.