clincha-org / clincha

Configuration and monitoring of clinch-home infrastructure
https://clinch-home.com
1 stars 1 forks source link

401 Client Error: No ticket for url #93

Closed clincha closed 1 year ago

clincha commented 1 year ago

Running Ansible against a newly created VM yields the following error:

Run ansible-playbook site.yml --inventory bristol.proxmox.yml
/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py:1095: InsecureRequestWarning: Unverified HTTPS request is being made to host '192.168.1.[12](https://github.com/clincha/clincha/actions/runs/5215575478/jobs/9413275436#step:5:13)'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
[WARNING]:  * Failed to parse /usr/local/bin/actions-
runner/1/_work/clincha/clincha/Ansible/bristol.proxmox.yml with
ansible_collections.community.general.plugins.inventory.proxmox plugin: 401
Client Error: No ticket for url: https://192.[16](https://github.com/clincha/clincha/actions/runs/5215575478/jobs/9413275436#step:5:17)8.1.12:8006/api2/json/nodes
[WARNING]: Unable to parse /usr/local/bin/actions-
runner/1/_work/clincha/clincha/Ansible/bristol.proxmox.yml as an inventory
source
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that
the implicit localhost does not match 'all'
[WARNING]: Could not match supplied host pattern, ignoring: base
[WARNING]: Could not match supplied host pattern, ignoring: kubernetes_worker
clincha commented 1 year ago

The issue was that the account I was using has 2FA enabled. I need to create a new account without 2FA