diff --git a/user.yml b/user.yml index d51c797..13b8aa6 100644 --- a/user.yml +++ b/user.yml @@ -386,11 +386,6 @@ dest: "{{ tempdir.path }}/PortfolioPerformance" remote_src: true - - name: clean up temp directory - file: - path: "{{ tempdir.path }}" - state: absent - - name: install portfolio performance synchronize: src: "{{ tempdir.path }}/PortfolioPerformance" @@ -399,6 +394,11 @@ checksum: true delete: true + - name: clean up temp directory + file: + path: "{{ tempdir.path }}" + state: absent + when: - not stat_portfolio_performance_installation.stat.exists - not ansible_check_mode