# HG changeset patch # User Luke Hoersten # Date 1588539321 18000 # Node ID ea20908c39046f95685b80d26de3d73d23dc70a1 # Parent 41034ea52480100ea34a70db3bed5ca5a18cff30 Removed use of install command. diff -r 41034ea52480 -r ea20908c3904 writefreely/tasks/main.yaml --- a/writefreely/tasks/main.yaml Sun May 03 12:57:47 2020 -0500 +++ b/writefreely/tasks/main.yaml Sun May 03 15:55:21 2020 -0500 @@ -16,8 +16,13 @@ - name: install writefreely binary become: yes - command: "install -m 0755 -o {{writefreely_user}} -g {{writefreely_user}} -t /usr/local/bin /tmp/writefreely/writefreely" - changed_when: false + copy: + src: "/tmp/writefreely/writefreely" + dest: "/usr/local/bin/" + remote_src: yes + owner: "{{writefreely_user}}" + group: "{{writefreely_user}}" + mode: "0755" - name: create root dir become: yes