dendrite/server/tasks/main.yaml
changeset 180 f2f99b9b16ee
parent 174 431c6d5e5dd4
child 183 b31ef0e10cad
equal deleted inserted replaced
179:65a0fb7c25a4 180:f2f99b9b16ee
    35 
    35 
    36 # install
    36 # install
    37 - name: install dendrite binary
    37 - name: install dendrite binary
    38   become: yes
    38   become: yes
    39   copy:
    39   copy:
    40     src: "{{dendrite_build_dir}}/bin/dendrite-monolith-server"
    40     src: "{{dendrite_build_dir}}/bin/{{item.src}}"
    41     dest: "/usr/local/bin/dendrite-monolith-server"
    41     dest: "/usr/local/bin/{{item.dest}}"
    42     remote_src: yes
    42     remote_src: yes
    43     owner: "root"
    43     owner: "root"
    44     group: "root"
    44     group: "root"
    45     mode: "0755"
    45     mode: "0755"
       
    46   loop:
       
    47     - {"src": "dendrite-monolith-server" , "dest": "dendrite-monolith-server"}
       
    48     - {"src": "create-account"           , "dest": "dendrite-create-account"}
       
    49     - {"src": "dendrite-polylith-multi"  , "dest": "dendrite-polylith-multi"}
       
    50     - {"src": "dendrite-upgrade-tests"   , "dest": "dendrite-upgrade-tests"}
       
    51     - {"src": "generate-config"          , "dest": "dendrite-generate-config"}
       
    52     - {"src": "generate-keys"            , "dest": "dendrite-generate-keys"}
       
    53     - {"src": "goose"                    , "dest": "dendrite-goose"}
       
    54     - {"src": "resolve-state"            , "dest": "dendrite-resolve-state"}
    46 
    55 
    47 - name: create instance dir
    56 - name: create instance dir
    48   become: yes
    57   become: yes
    49   file:
    58   file:
    50     path: "{{item}}"
    59     path: "{{item}}"