--- # If we can't get golang installed before any module is used we will fail # so just try what we can to get it installed - name: check for golang stat: path: /usr/local/go ignore_errors: yes register: systemgolang - name: install golang for debian based systems shell: cmd: | set -e set -x wget {{ golang_download_url }} -P /opt/ tar xvf /opt/{{ golang_tarball }} -C /usr/local/ cat >> /etc/profile < opensds.conf <