Skip to content

Commit

Permalink
Merge pull request #46 from le-phare/feat-publish-assets-rsync-opts
Browse files Browse the repository at this point in the history
feat(publish-assets): allow to add rsync options
  • Loading branch information
pierreboissinot authored Sep 28, 2023
2 parents d25c1c9 + a7ea367 commit a7fd9df
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 a7fd9df

Please sign in to comment.