Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
krisbai
V2EX  ›  Linux

请教下 ansible 的 roles 问题

  •  
  •   krisbai · Apr 16, 2019 · 2832 views
    This topic created in 2607 days ago, the information mentioned may be changed or developed.
    ---
    - hosts: server2
    become: true
    roles:
    - zabbix_agent
    - docker
    - prod_server
    - nas

    已上内容运行后,只执行了第一个 zabbix_agent,请教下是不是少了什么参数?
    4 replies    2019-04-17 12:43:27 +08:00
    wd
        1
    wd  
       Apr 16, 2019 via iPhone
    你可以加 -v 看看输出帖出来看看
    plko345
        2
    plko345  
       Apr 17, 2019 via Android
    信息太少了,你写详细些
    krisbai
        3
    krisbai  
    OP
       Apr 17, 2019
    @wd 就执行了第一个 roles:zabbix_agent,其他的也没报错。。。
    krisbai
        4
    krisbai  
    OP
       Apr 17, 2019
    @plko345 task 太长了不方便贴。。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   888 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.