lnurld/build/tasks/main.yaml
changeset 32 500a32d1f026
parent 31 562b76293a66
equal deleted inserted replaced
31:562b76293a66 32:500a32d1f026
     1 ---
     1 ---
     2 
     2 
     3 - name: install golang
     3 - name: install golang
     4   become: yes
     4   become: yes
     5   apt: name="golang-go"
     5   apt: name="golang-1.21-go"
       
     6 
       
     7 - name: link go bin
       
     8   become: yes
       
     9   file:
       
    10     src: "/usr/lib/go-1.21/bin/go"
       
    11     dest: "/usr/bin/go"
       
    12     state: "link"
       
    13     mode: "0755"
     6 
    14 
     7 - name: git checkout lnurld
    15 - name: git checkout lnurld
     8   git:
    16   git:
     9     repo: "{{lnurld_git}}"
    17     repo: "{{lnurld_git}}"
    10     dest: "{{lnurld_build_dir}}"
    18     dest: "{{lnurld_build_dir}}"