You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
392 B
18 lines
392 B
---
|
|
- name: test playbook for lxc_copy
|
|
hosts: all
|
|
tasks:
|
|
- name: copy single file in container
|
|
lxc_copy:
|
|
args:
|
|
name: ansible_test
|
|
src: files/verkauf.jpg
|
|
dest: /tmp/foo
|
|
|
|
- name: copy files in container
|
|
lxc_copy:
|
|
args:
|
|
name: ansible_test
|
|
src: files/{{ item }}
|
|
dest: /tmp/{{ item }}
|
|
with_items: ['a', 'b', 'c', 'd', 'e', 'f', 'g']
|