dendrite/server/tasks/main.yaml
changeset 227 2e0366f2dcbe
parent 216 6c85835d4621
child 229 7e3bf48e516a
equal deleted inserted replaced
226:ce33bf94045f 227:2e0366f2dcbe
    15   become: yes
    15   become: yes
    16   unarchive:
    16   unarchive:
    17     remote_src: yes
    17     remote_src: yes
    18     src: "{{dendrite_tar}}"
    18     src: "{{dendrite_tar}}"
    19     dest: "/tmp/dendrite/"
    19     dest: "/tmp/dendrite/"
       
    20   notify: restart service
    20 
    21 
    21 - name: install dendrite binary
    22 - name: install dendrite binary
    22   become: yes
    23   become: yes
    23   copy:
    24   copy:
    24     src: "/tmp/dendrite/{{item.src}}"
    25     src: "/tmp/dendrite/{{item.src}}"
    32     - {"src": "create-account"          , "dest": "dendrite-create-account"}
    33     - {"src": "create-account"          , "dest": "dendrite-create-account"}
    33     - {"src": "dendrite-upgrade-tests"  , "dest": "dendrite-upgrade-tests"}
    34     - {"src": "dendrite-upgrade-tests"  , "dest": "dendrite-upgrade-tests"}
    34     - {"src": "generate-config"         , "dest": "dendrite-generate-config"}
    35     - {"src": "generate-config"         , "dest": "dendrite-generate-config"}
    35     - {"src": "generate-keys"           , "dest": "dendrite-generate-keys"}
    36     - {"src": "generate-keys"           , "dest": "dendrite-generate-keys"}
    36     - {"src": "resolve-state"           , "dest": "dendrite-resolve-state"}
    37     - {"src": "resolve-state"           , "dest": "dendrite-resolve-state"}
       
    38   notify: restart service
    37 
    39 
    38 - name: create instance dir
    40 - name: create instance dir
    39   become: yes
    41   become: yes
    40   file:
    42   file:
    41     path: "{{item}}"
    43     path: "{{item}}"