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

inventory_from_outputs Ansible Role does not permit setting Inventory Group Variables #44

Open
sean-freeman opened this issue Mar 14, 2023 · 0 comments
Labels
type/enhancement New feature or request

Comments

@sean-freeman
Copy link

SUMMARY

inventory_from_outputs Ansible Role does not permit Inventory Group Variables, it is primarily a wrapper around the add_hosts Ansible Module but does not allow full use of the Ansible Module

For examples:

  • if not using a Private Key stored in the default path (e.g. $HOME/.ssh, then the hosts in each Inventory Group are inaccessible without ansible_ssh_private_key_file variable set by the `add_hosts Ansible Module to a string for the Host/s SSH Private Key File path
  • if using infrastructure provisioned on a Cloud Service Provider hyperscaler (aws, azure, gcp, oci, ayi etc etc), then the hosts in each Inventory Group are inaccessible without ansible_ssh_common_args variable set by the add_hosts Ansible Module to a string for the Bastion Host configuration (OS User, Host IP, Port, SSH Private Key File path); such as -o ControlMaster=auto -o ControlPersist=3600s -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ForwardX11=no -o ProxyCommand='ssh -W %h:%p $BASTION_USER@$BASTION_IP -p $BASTION_PORT -i $BASTION_KEYFILE -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null'
ISSUE TYPE
  • Bug Report
COMPONENT NAME

cloud.terraform.inventory_from_outputs

COLLECTION VERSION

1.0.x

ACTUAL RESULTS

Cannot replicate, this bug represents a design decision that should be investigated and alterations accordingly

@tima tima added the type/enhancement New feature or request label Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants