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

How to use the Linode Ansible Module to Deploy Linodes #4125

Open
Rajakavitha1 opened this issue Mar 16, 2021 · 0 comments
Open

How to use the Linode Ansible Module to Deploy Linodes #4125

Rajakavitha1 opened this issue Mar 16, 2021 · 0 comments

Comments

@Rajakavitha1
Copy link
Collaborator

Based of the comments in DisQus:
It's also not really clear from this example if the inventory really is dynamic. I'm creating multiple linodes and a nodebalancer, but getting back the info I need is painful and something I keep having to do over and over again after I make changes.

The whole idea of dynamic inventory is that it gets updated as changes are made, and you can then query those new values from your ansible tasks. Or am I missing something?

How hard would it be to post a simple example where some one:

  1. makes two linodes
    1a. adds a private IP to each linode
  2. makes a nodebalancer
  3. makes a nodebalancer config
  4. adds the two private IPs to the nodebalancer config in step 3.

It's becoming really painful, but maybe that's because I'm doing all the 1a and on steps with a bunch of command: tasks calling linode-cli by hand. And then pulling back the data by hand.

I tried using the uri: module, but no luck. I'm probably being stupid. But it would be great if you guys could post an example doing something close to the above steps. Yes it's going to be long and involved, but that's ok!!!!

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