logo
  • 教程列表
  • SO官方文檔
  • 迴圈
    • 在單個任務中複製多個檔案
    • 在單個任務中安裝多個包
  1. StackOverflow 文件
  2. Ansible 教程
  3. 迴圈
  4. 在單個任務中複製多個檔案

在單個任務中複製多個檔案

Created: November-22, 2018

- name: copy ssl key/cert/ssl_include files
  copy: src=files/ssl/{{ item }} dest=/etc/apache2/ssl/
  with_items:
    - g_chain.crt
    - server.crt
    - server.key
    - ssl_vhost.inc
  • 在單個任務中安裝多個包
  • 迴圈

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 關於本站
  • 免責聲明