Skip to content

Commit

Permalink
feat: Support re-using SSH config options for rsync task
Browse files Browse the repository at this point in the history
  • Loading branch information
dale-c-anderson committed Nov 21, 2023
1 parent 37080f9 commit 9503998
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ aau_gitlab_server_url: '' # http://your.private-gitlab-server.com # no trailin
aau_grant_webs: false
aau_grant_secondaries: true
aau_data_source: '' # Specify a path from your local playbook. See scripts/deployables/add-user.data.example

# When an inventory is configured with ansible_ssh_* things, make sure to turn this on, so rsync can re-use them.
synchronize_use_ssh_args: false
1 change: 1 addition & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
perms: no
group: no
owner: no
use_ssh_args: "{{ synchronize_use_ssh_args | default(omit) }}"
rsync_opts:
- "--exclude=.git"
when: remote_tempdir_result is defined
Expand Down

0 comments on commit 9503998

Please sign in to comment.