node/install/tasks/main.yaml
changeset 2 0556e208fbee
parent 1 d3ef4e0b4baa
equal deleted inserted replaced
1:d3ef4e0b4baa 2:0556e208fbee
    12     dest: "/tmp"
    12     dest: "/tmp"
    13     creates: "/tmp/{{node_install_tar_name}}/"
    13     creates: "/tmp/{{node_install_tar_name}}/"
    14 
    14 
    15 - name: install node
    15 - name: install node
    16   become: yes
    16   become: yes
    17   shell: "install -m 0755 -o {{node_install_user}} -g {{node_install_user}} -t /usr/local/bin /tmp/{{node_install_tar_name}}/*"
    17   copy:
    18   changed_when: false
    18     src: "/tmp/{{node_install_tar_name}}/"
       
    19     dest: "/usr/local/bin/"
       
    20     remote_src: yes
       
    21     owner: "root"
       
    22     group: "root"
       
    23     mode: "0755"