ansible
  • 安装
  • 第一个ansible例子
  • playbook
  • role
  • ansible模块
    • copy模块
    • file模块
    • yum模块
    • selinux模块
    • service_facts
  • notify与handler
  • register
  • 实战
    • 安装k8s集群
  • FAQ
Powered by GitBook
On this page

Was this helpful?

  1. ansible模块

copy模块

在playbook中的使用模式

---
- name: copy module
  hosts: test
  tasks:
    - name: copy
      copy:
        src: /tmp/src.1
        dest: /tmp/dest.1
Previousansible模块Nextfile模块

Last updated 4 years ago

Was this helpful?