Skip to content

Commit

Permalink
feat(publish-assets): allow to add rsync options
Browse files Browse the repository at this point in the history
  • Loading branch information
pierreboissinot committed Sep 28, 2023
1 parent d25c1c9 commit 466f57c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ The defaults vars declared in this module:
lephare_document_root_path: "{{ ansistrano_deploy_to }}/current/web"

lephare_assets_publish: true
lephare_assets_publish_rsync_opts: []
lephare_assets_build_path: "../web/compiled/"
lephare_assets_web_path: "compiled/"

Expand Down
1 change: 1 addition & 0 deletions config/steps/publish_assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
dest: "{{ lephare_document_root_path }}/{{ lephare_assets_web_path }}"
recursive: yes
delete: yes
rsync_opts: {{ lephare_assets_publish_rsync_opts }}
1 change: 1 addition & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ lephare_default_git_branch: master
lephare_document_root_path: "{{ ansistrano_release_path.stdout }}/web"

lephare_assets_publish: true
lephare_assets_publish_rsync_opts: []
lephare_assets_build_path: "../web/compiled/"
lephare_assets_web_path: "compiled/"

Expand Down

0 comments on commit 466f57c

Please sign in to comment.