ptrees
V2EX  ›  Docker

ansible -m setup 获取不到 docker 的 ip

  •  
  •   ptrees · Nov 25, 2020 · 2215 views
    This topic created in 2009 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   ·   952 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 21:12 · PVG 05:12 · LAX 14:12 · JFK 17:12
    ♥ Do have faith in what you're doing.