We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently, any resource is written as single group in inventory.
For example, this Terraform:
resource "aws_instance" "my_instance" { ami = data.aws_ami.ubuntu.id instance_type = "t2.micro" }
Would yield:
[my_instance] 127.0.1.1 # or whatever the ip address is
I think, having it as:
my_instance ansible_host=127.0.1.1
would be better since we can refer to inventory_hostname from inside the playbook.
inventory_hostname
I haven't dive into the source code yet. I might want to make a pull request if this is desirable. Thoughts?
The text was updated successfully, but these errors were encountered:
I like this idea, just for the improved readability of the Ansible output.
Sorry, something went wrong.
No branches or pull requests
Currently, any resource is written as single group in inventory.
For example, this Terraform:
Would yield:
I think, having it as:
my_instance ansible_host=127.0.1.1
would be better since we can refer to
inventory_hostname
from inside the playbook.I haven't dive into the source code yet. I might want to make a pull request if this is desirable.
Thoughts?
The text was updated successfully, but these errors were encountered: