node/install/tasks/main.yaml
changeset 1 d3ef4e0b4baa
parent 0 474ccafc2349
child 2 0556e208fbee
equal deleted inserted replaced
0:474ccafc2349 1:d3ef4e0b4baa
     2 
     2 
     3 - name: add node user
     3 - name: add node user
     4   become: yes
     4   become: yes
     5   user: name="{{node_install_user}}"
     5   user: name="{{node_install_user}}"
     6 
     6 
     7 - name: download node
       
     8   become: yes
       
     9   get_url:
       
    10     url: "{{node_install_url}}"
       
    11     dest: "/tmp/{{node_install_tar}}"
       
    12 
       
    13 - name: unarchive node
     7 - name: unarchive node
    14   become: yes
     8   become: yes
    15   unarchive:
     9   unarchive:
    16     remote_src: "yes"
    10     remote_src: yes
    17     src: "/tmp/{{node_install_tar}}"
    11     src: "{{node_install_url}}"
    18     dest: "/tmp"
    12     dest: "/tmp"
    19     creates: "/tmp/{{node_install_tar_name}}/"
    13     creates: "/tmp/{{node_install_tar_name}}/"
    20 
    14 
    21 - name: install node
    15 - name: install node
    22   become: yes
    16   become: yes