Skip to content

Commit

Permalink
Merge pull request #4 from alex-phillips/idemopotent-backup
Browse files Browse the repository at this point in the history
retrieve version when running in 'check' mode
  • Loading branch information
ironicbadger committed Sep 26, 2020
2 parents 9f7c53f + 1370ca5 commit 456f586
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tasks/remove-nag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
- name: Get pveversion for backup file
shell: "pveversion | awk -F / '{print $2}'"
register: pveversion
check_mode: no

- name: backup up original file
copy:
Expand Down

0 comments on commit 456f586

Please sign in to comment.