V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Atang
V2EX  ?  Ansible

请假 ansible 里 template 模板是否支持目录呢

  •  
  •   Atang · 2017-05-12 18:41:31 +08:00 · 4267 次点击
    这是一个创建于 2547 天前的主题,其中的信息可能已经有所发展或是发生改变。

    腾讯云最新优惠活动来了:云产品限时1折,云服务器低至88元/年 ,点击这里立即抢购:9i0i.cn/qcloud,更有2860元代金券免费领取,付款直接抵现金用,点击这里立即领取:9i0i.cn/qcloudquan

    (福利推荐:你还在原价购买阿里云服务器?现在阿里云0.8折限时抢购活动来啦!4核8G企业云服务器仅2998元/3年,立即抢购>>>:9i0i.cn/aliyun

    我想把一个目录里面的配置文件都写成模板,然后通过 ansible template model 把模板配置分发到目的主机的目录上,有没有什么好的方法呢?? eg: ├── a │?? ├── a.conf │?? ├── b.conf │?? ├── c.conf ├── d.conf ├── e.conf ├── f.conf ├── c │?? └── d.conf ├── g │?? ├── bj.conf │?? ├── cr.conf │?? └── v.conf └── z.conf

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2071 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 10:48 · PVG 18:48 · LAX 03:48 · JFK 06:48
    Developed with CodeLauncher
    ? Do have faith in what you're doing.


    http://www.vxiaotou.com