writefreely/tasks/main.yaml
changeset 18 ea20908c3904
parent 17 41034ea52480
child 26 b0e4ad2f4291
equal deleted inserted replaced
17:41034ea52480 18:ea20908c3904
    14     owner: "root"
    14     owner: "root"
    15     group: "root"
    15     group: "root"
    16 
    16 
    17 - name: install writefreely binary
    17 - name: install writefreely binary
    18   become: yes
    18   become: yes
    19   command: "install -m 0755 -o {{writefreely_user}} -g {{writefreely_user}} -t /usr/local/bin /tmp/writefreely/writefreely"
    19   copy:
    20   changed_when: false
    20     src: "/tmp/writefreely/writefreely"
       
    21     dest: "/usr/local/bin/"
       
    22     remote_src: yes
       
    23     owner: "{{writefreely_user}}"
       
    24     group: "{{writefreely_user}}"
       
    25     mode: "0755"
    21 
    26 
    22 - name: create root dir
    27 - name: create root dir
    23   become: yes
    28   become: yes
    24   file:
    29   file:
    25     path: "{{writefreely_dir}}"
    30     path: "{{writefreely_dir}}"