ptrees
V2EX  ›  Docker

ansible -m setup 获取不到 docker 的 ip

  •  
  •   ptrees · Nov 25, 2020 · 2323 views
    This topic created in 2059 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   ·   1252 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 452ms · UTC 23:42 · PVG 07:42 · LAX 16:42 · JFK 19:42
    ♥ Do have faith in what you're doing.