diff options
| author | boom2 <blizzack@blizzack.com> | 2023-11-21 14:11:56 -0500 |
|---|---|---|
| committer | boom2 <blizzack@blizzack.com> | 2023-11-21 14:11:56 -0500 |
| commit | 62766cf1fd721d278e95821e05e6b41f7888eed5 (patch) | |
| tree | 35c0866b9dbc09cdc695435a3aa6aa1424cac1a4 /ansible-practice/12-playbook-copy-directory.yml~ | |
initial commit
Diffstat (limited to 'ansible-practice/12-playbook-copy-directory.yml~')
| -rw-r--r-- | ansible-practice/12-playbook-copy-directory.yml~ | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ansible-practice/12-playbook-copy-directory.yml~ b/ansible-practice/12-playbook-copy-directory.yml~ new file mode 100644 index 0000000..1d68918 --- /dev/null +++ b/ansible-practice/12-playbook-copy-directory.yml~ @@ -0,0 +1,14 @@ +# copy a directory from control node to managed node +# https://www.freekb.net/Article?id=759 +# https://docs.ansible.com/ansible/latest/collections/ansible/builtin/copy_module.html +# + +--- +- name: "12 - Playing with Ansible - copy a directory from contol to managed node" + hosts: all + tasks: + - name: copy a directory from contol to managed node + ansible.builtin.copy: + src: /home/dpierre/ansible-practice/ + dest: /home/dpierre/tmp/temp_files/ansible-practice +...
\ No newline at end of file |
