nostr/build/tasks/main.yaml
changeset 240 e3ccc65cecc9
parent 224 25e44d8440d4
equal deleted inserted replaced
239:c3e3169399a8 240:e3ccc65cecc9
    38     - {"k": "Description:", "v": "{{relayer_description}}"}
    38     - {"k": "Description:", "v": "{{relayer_description}}"}
    39     - {"k": "PubKey:", "v": "{{relayer_admin_pubkey}}"}
    39     - {"k": "PubKey:", "v": "{{relayer_admin_pubkey}}"}
    40     - {"k": "Contact:", "v": "{{relayer_admin_contact}}"}
    40     - {"k": "Contact:", "v": "{{relayer_admin_contact}}"}
    41     - {"k": "Version:", "v": "{{relayer_version}}"}
    41     - {"k": "Version:", "v": "{{relayer_version}}"}
    42 
    42 
       
    43 # disable logging of pings
       
    44 - name: relayer disable ping logging
       
    45   lineinfile:
       
    46     path: "{{relayer_handler_src}}"
       
    47     regexp: "^(\\s*)(s\\.Log\\.Infof\\(\"pinging.*)$"
       
    48     line: "\\1//\\2"
       
    49     backrefs: yes
       
    50   loop:
       
    51     - {""}
       
    52 
    43 - name: check if relayer build exists
    53 - name: check if relayer build exists
    44   stat:
    54   stat:
    45     path: "{{relayer_build_dir}}/examples/whitelisted/whitelisted"
    55     path: "{{relayer_build_dir}}/examples/whitelisted/whitelisted"
    46   register: build_file
    56   register: build_file
    47 
    57