Comments (3)
More notes:
The issue I'm having is with the Ansible collection repository, with a clean install from scratch, for a single-node backend. We're moving from Chef to Ansible and trying to get our QA pipeline working. The playbook is attached.
.sensu_backend_info
is just a dict we grab from Hashicorp Vault. The API key for the useradmin
is created successfully, but creation of the useransible
is where it dies, as far as I can tell here:
Thanks for making the issue, but I think there may be some confusion. The 405 was definitely an issue on my end with the wrong header for curl, but using the playbook gets a 400 error--and I haven't been able to replicate that on 8080, just 3000. It's possible the playbook would be using the wrong port, but that wouldn't make a lot of sense given that it's just making API calls. Regardless, thanks for putting this up there.
from sensu-go-ansible.
Hi, thanks for posting a bug.
For easier debugging I summarized what collection calls and uses.
Default port used by collection is 8080.
It may be changed by setting parameter SENSU_URL.
Method used by collection is GET. Meaning, that yours command curl -X GET http://localhost:8080/version
should directly replicate collections call (in case that SENSU_URL was not changed).
You can get debug log by setting environment variable SENSU_ANSIBLE_DEBUG
.
Other instructions are written in file.
In one of next releases of collection we will also add verbose log of HTTP failures to ansible output (in case of -vvvv) . Which should help a lot with debugging.
from sensu-go-ansible.
@juremedvesek thanks for that update. I followed up on the issue on our end, and it looks like they were using the insecure default and didn't set SENSU_URL
. Everything is good now and I'll close this out.
from sensu-go-ansible.
Related Issues (20)
- Add auth_provider_info module
- Add ldap_auth_provider module
- Create ad_auth_provider module
- Create oidc_auth_provider module
- bonsai_asset plugin - GET request failed: timed out HOT 2
- Sensu Go Pipelines HOT 1
- Important information for collection maintainers
- Password hash option in user creation requires bcrypt
- How can i use my own yum Repository
- Additional supported parameters for Postgres required HOT 1
- Add filter documentation
- Add support for Rocky/Alma Linux HOT 2
- Add support for Sensu Go Pipelines in Ansible Senso Go Collection HOT 2
- Add Pipelines as a valid resource
- Consider using true/false for all booleans in docs
- Allow for certificate authentication for Vault
- 1.14.0 not avaialble on Ansible galaxy HOT 2
- Community package requirements: sanity tests and repository management
- Add support for Javascript Mutators in Ansible Sensu Go Collection
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sensu-go-ansible.