Comments (3)
@dsesami can you provide an example of this? That'll help clarify the idea.
from broker.
@kedark3 sure.
Let's say that someone using this system has an in-house method of procuring VMs. They likely have a bash script where they pass in parameters to allocate a VM and do other basic operations. They also use broker to manage VMs, though, so they'd like to not have to jump between different kinds of workflows to get a VM. So they simply define how to get a VM from that provider with some kind of basic templating, plug it in once, and can then use broker for all their providers.
I assume we'd start out with fully-featured provider support (which is what ansible_tower.py is doing I think in the providers folder, correct me if I'm wrong) but then having that custom support even if it's limited to more basic operations could be handy.
from broker.
@dsesami you could theoretically do that now. Create a provider (called whatever you think is most appropriate (I'm not good at names!!)) that accepts parameters from the VMBroker class, uses that to call your script (subprocess?), and pulls the information from that output to eventually construct a Host object for broker.
Definitely do-able, but would likely be pretty focused on how your script operates.
broker is not liable for damages caused by external scripts
from broker.
Related Issues (20)
- Ansible Automation Platform API path changes HOT 1
- Failed to login in the non-default port guest HOT 2
- BUG: `AssertionError: can only join a child process` when trying to run the process in the background HOT 1
- ssh timeouts regardless of desired timeout specified HOT 1
- AttributeError is raised when loading host with more complex data in `_broker_args` `from_inventory`
- [RFE] Add a function to transfer directory/files from one host to another at specific location
- BUG: `sftp_write` fails if the destination file does not exist in the container
- Properly handle return code after error HOT 5
- [RFE] allow custom environmental variables to be passed to containers/hosts HOT 2
- Implement smarter auth source identification for AnsibleTower HOT 1
- new broker 0.2.10 fails to checkout some instances HOT 1
- Unauthorized (401) - During checkin dynaconf envars are overridden by empty values from settings HOT 6
- Make inventory_file have a sane default, and not required
- Return of AnsibleTower workflows and job-templates should include inventory and description HOT 1
- from_inventory ContentHostError when hostnames are missing in inventory file HOT 1
- 'Container' object has no attribute 'extend_vm'
- 'AnsibleTower' object has no attribute 'inventory' HOT 1
- Test suite needs to be updated to look for broker_settings.yaml in ~/.broker
- Add a simple command to print workflows HOT 1
- Checkin fails with 0.3.2 and using a single provider
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 broker.