diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index fbff531..38a2084 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -90,7 +90,7 @@ jobs: env: NSUPDATE_SECRET: ${{ secrets.NSUPDATE_SECRET }} run: | - curl -u "horizon.vm.fedcloud.eu.:$NSUPDATE_SECRET" \ + curl -u "horizon.vm.fedcloud.eu:$NSUPDATE_SECRET" \ "https://nsupdate.fedcloud.eu/nic/update?myip=${{ steps.public_ip.outputs.stdout }}" - name: Configure with ansible # if: github.ref == 'refs/heads/main' && github.event_name == 'push' diff --git a/playbook.yaml b/playbook.yaml index db77ba8..e525152 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -1,20 +1,13 @@ --- - hosts: all + gather_facts: no tasks: - name: Wait for ssh # give it some time as the VM may take a while to start wait_for_connection: - delay: 60 + delay: 30 timeout: 600 -- hosts: all - become: yes - gather_facts: yes - tasks: - - name: Test reload - ansible.builtin.systemd: - daemon_reload: yes - - hosts: all become: yes gather_facts: yes