Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Minor improvements on the cookiecutter template #6

Merged
merged 3 commits into from
Apr 27, 2020
Merged

Minor improvements on the cookiecutter template #6

merged 3 commits into from
Apr 27, 2020

Conversation

nikParasyr
Copy link
Collaborator

Close #5

This PR makes some minor improvements:

  • User can now define a floating ip pool to use when this is required ( it is quite often in openstack cluster to not allow to directly hook-up to external networks but only with fips )
  • Vm destruction is handled by using the instance_id. This allows multiple instances with the same name (2 developers testing at the same time, or cicd etc)
  • User can define a different network per instance (defaults to molecule which is defined in create.yml).
  • User can define a different ssh_user per instance (defaults to cloud-user which is defined in create.yml). E.g a user has 5 instances, 4 using ubuntu and 1 centos. User can define an ssh_user per instance or change the ssh_user of create.yml to ubuntu and only define the centos user for the 1 instance that is left.

User can now define a fip_pool to use
Also network can be defined per instance with a
default on create.yml
Ssh_user can be defined now per instance. default value is
defined on create.yml
Populate the molecule dict with the instance_id and
use it to destroy instances
@nikParasyr
Copy link
Collaborator Author

@ssbarnea This does not require the molecule 3.0.4 to overwrite molecule.yml.

Let me know what you think

@ssbarnea ssbarnea self-requested a review April 27, 2020 16:14
@ssbarnea ssbarnea merged commit bd01875 into ansible-community:master Apr 27, 2020
@nikParasyr nikParasyr deleted the issue-5 branch April 30, 2020 14:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants