joeljacobson/vagrant-ansible-cassandra

Failed to update apt cache.

Opened this issue · 2 comments

gerlt commented

TASK [adding repo key] *********************************************************
changed: [node3]
changed: [node1]
changed: [node2]

TASK [updating machine] ********************************************************
fatal: [node3]: FAILED! => {"changed": false, "failed": true, "msg": "Failed to update apt cache."}
fatal: [node1]: FAILED! => {"changed": false, "failed": true, "msg": "Failed to update apt cache."}
fatal: [node2]: FAILED! => {"changed": false, "failed": true, "msg": "Failed to update apt cache."}
to retry, use: --limit @/Users/chrisgerlt/repos/vagrant-ansible-cassandra/site.retry

PLAY RECAP *********************************************************************
node1 : ok=7 changed=4 unreachable=0 failed=1
node2 : ok=7 changed=4 unreachable=0 failed=1
node3 : ok=7 changed=4 unreachable=0 failed=1

Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
cgerlt-mbpro:vagrant-ansible-cassandra chrisgerlt$

gerlt commented

TASK [include] *****************************************************************
included: /Users/chrisgerlt/repos/vagrant-ansible-cassandra/tasks/ppa-Ubuntu.yml for node1, node2, node3

TASK [adding oracle java repository] *******************************************
changed: [node3]
changed: [node2]
changed: [node1]

TASK [adding dse repo] *********************************************************
FAILED - RETRYING: adding dse repo (5 retries left).
FAILED - RETRYING: adding dse repo (5 retries left).
FAILED - RETRYING: adding dse repo (5 retries left).
ok: [node1]
ok: [node2]
ok: [node3]

TASK [adding repo key] *********************************************************
changed: [node3]
changed: [node1]
changed: [node2]

TASK [updating machine] ********************************************************
fatal: [node3]: FAILED! => {"changed": false, "failed": true, "msg": "Failed to update apt cache."}
fatal: [node1]: FAILED! => {"changed": false, "failed": true, "msg": "Failed to update apt cache."}
fatal: [node2]: FAILED! => {"changed": false, "failed": true, "msg": "Failed to update apt cache."}
to retry, use: --limit @/Users/chrisgerlt/repos/vagrant-ansible-cassandra/site.retry

PLAY RECAP *********************************************************************
node1 : ok=7 changed=4 unreachable=0 failed=1
node2 : ok=7 changed=4 unreachable=0 failed=1
node3 : ok=7 changed=4 unreachable=0 failed=1

Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.

I've just started a new job and struggling to find time keeping this updated while I get up-to-speed on the new technology, any PRs would be welcome!