diff --git a/README.md b/README.md index fb7c22c..3abac65 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,9 @@ pip install pywinrm Ad-hoc copy file example: ---------------------------- ```bash -ansible -m ansible.windows.win_copy -a "src=/tmp/copy.txt dest='C:\copy.txt'" all -``` +# create C:\media\ +ansible -m ansible.windows.win_file -a "path='C:\media' state=directory" all +# copy file +ansible -m ansible.windows.win_copy -a "src=/tmp/copy.txt dest='C:\media\copy.txt'" all +```