Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script errors #8

Open
newpiguy opened this issue Jan 22, 2024 · 1 comment
Open

Script errors #8

newpiguy opened this issue Jan 22, 2024 · 1 comment

Comments

@newpiguy
Copy link

newpiguy commented Jan 22, 2024

TASK [Create prometheus.yml file] **********************************************
changed: [192.168.1.12]

TASK [Create volumes for monitoring containers] ********************************
[WARNING]: TASK: Create volumes for monitoring containers: The loop variable
'item' is already in use. You should set the loop_var value in the
loop_control option for the task to something else to avoid variable
collisions and unexpected behavior.
changed: [192.168.1.12] => (item=prometheus-data)
changed: [192.168.1.12] => (item=grafana-data)

TASK [Create prometheus container] *********************************************
changed: [192.168.1.12]

also seeing

TASK [Check if traefik is working properly with authelia middleware] ***********
fatal: [192.168.1.12]: FAILED! => {"changed": false, "elapsed": 0, "msg": "Status code was -1 and not [200]: Request failed: <urlopen error [Errno -5] No address associated with hostname>", "redirected": false, "status": -1, "url": "https://wg.domain.name"}
...ignoring

Attempting cloudflare Global API key, Origin CA key, custom API Token for Zone.DNS permissions.

Had to set timeouts for longer in main.yml to accommodate the server reboot. Subdomains are not responding after running and rerunning playbook.

Should also note that ansible-playbook main.yml -kK is necessary to run otherwise it errors out.

Willing to provide logs for further help.

Thanks!

@newpiguy newpiguy closed this as not planned Won't fix, can't repro, duplicate, stale Jan 22, 2024
@newpiguy newpiguy reopened this Jan 22, 2024
@newpiguy
Copy link
Author

newpiguy commented Jan 22, 2024

(remainder of output after ...ignoring)

TASK [Wait to ensure authelia is up and running] *******************************
ok: [192.168.1.12]

TASK [Restart traefik container to ensure it can find authelia middleware] *****
changed: [192.168.1.12]

PLAY RECAP *********************************************************************
192.168.1.12 : ok=94 changed=6 unreachable=0 failed=0 skipped=9 rescued=0 ignored=1

@rishavnandi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant