Comments (2)
Hi @michaeldeaton.
The bonsai_asset
is an action plugin executed on the control node. What that plugin does is:
- Download a list of all available asset versions from the bonsai (
GET https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-memory-checks
is the URL we hit for memory checks). We do this to make sure we have a valid version. - Get the asset definition for the selected version (
GET https://bonsai.sensu.io/api/v1/assets/sensu-plugins/sensu-plugins-memory-checks/4.1.1/release_asset_builds
). This is the actual data we need to create a new asset.
The data we retrieved with the second GET request is then used to construct the asset definition that is then fed to the asset module that does the actual creation.
I forgot what exactly was the reason for placing the download onto the control node, but I have a feeling that we did that because the control node usually has better internet access compared to target nodes. But I guess I was wrong about that ;)
Maybe adding a new parameter to the bonsai "module" that would control where the download is done would help here? Then the playbook authors could instruct ansible that the target node should download the data from the bonsai instead of the control node?
from sensu-go-ansible.
Hey
thank you for that. that explains my issue the. I’ve spent all day on this. Documentation should probably have said something. I do like your suggestion though an option to choose where the download goes would be good.
Thanks
michael
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
- 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
- The `version` function in the module utils seems to use unsupported HTTP method HOT 3
- 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.