Skip to content

Commit

Permalink
Add ternary to distinguish between local and remote paths to rclone c…
Browse files Browse the repository at this point in the history
…onfig file
  • Loading branch information
E-VANCE committed Jul 23, 2021
1 parent c4d62a3 commit 1e479ae
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,14 @@
include_tasks: install-bin.yml
when: (((not ansible_local.rclone.installed|d())|bool) or (ansible_local.rclone.installed_version|d("0.0.0")) != rclone_version)

- name: Print env
debug:
msg: "Environment: {{ env }}"

- name: Print config path
debug:
msg: "Config location: {{ rclone_config_location }}"

- name: Install configs
block:
- name: Create config directory
Expand Down

0 comments on commit 1e479ae

Please sign in to comment.