dendrite/server/tasks/main.yaml
changeset 216 6c85835d4621
parent 215 dd52907adff9
child 227 2e0366f2dcbe
equal deleted inserted replaced
215:dd52907adff9 216:6c85835d4621
     2 
     2 
     3 - name: add dendrite user
     3 - name: add dendrite user
     4   become: yes
     4   become: yes
     5   user: name="{{dendrite_user}}" shell="/bin/false" system="yes"
     5   user: name="{{dendrite_user}}" shell="/bin/false" system="yes"
     6 
     6 
       
     7 - name: create unzip dir
       
     8   become: yes
       
     9   file:
       
    10     path: "/tmp/dendrite/"
       
    11     state: "directory"
       
    12     mode: "0755"
       
    13 
       
    14 - name: unarchive dendrite bins
       
    15   become: yes
       
    16   unarchive:
       
    17     remote_src: yes
       
    18     src: "{{dendrite_tar}}"
       
    19     dest: "/tmp/dendrite/"
       
    20 
     7 - name: install dendrite binary
    21 - name: install dendrite binary
     8   become: yes
    22   become: yes
     9   copy:
    23   copy:
    10     src: "{{dendrite_bin_dir}}/{{item.src}}"
    24     src: "/tmp/dendrite/{{item.src}}"
    11     dest: "/usr/local/bin/{{item.dest}}"
    25     dest: "/usr/local/bin/{{item.dest}}"
    12     remote_src: yes
    26     remote_src: yes
    13     owner: "root"
    27     owner: "root"
    14     group: "root"
    28     group: "root"
    15     mode: "0755"
    29     mode: "0755"