Guest User

Untitled

a guest
Oct 22nd, 2017
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.61 KB | None | 0 0
  1. # This example shows a var file that would be embedded in
  2. # a lightbulb-provisioner-aws role. Other providers would
  3. # have similar file defining standardized lab layouts and
  4. # machine defintions that are specific to that provider.
  5.  
  6. lightbulb_lab_layouts:
  7. aws_standard_linux_centos:
  8. control:
  9. - ansible: aws_tower_medium
  10. web:
  11. - node1: aws_centos_micro
  12. - node2: aws_centos_micro
  13. - node3: aws_centos_micro
  14. aws_standard_linux_ha_centos:
  15. control:
  16. - ansible: aws_tower_medium
  17. web:
  18. - node1: aws_centos_micro
  19. - node2: aws_centos_micro
  20. - node3: aws_centos_micro
  21. proxy:
  22. - haproxy: aws_centos_micro
  23. aws_standard_linux_mixed:
  24. control:
  25. - ansible: aws_tower_medium
  26. web:
  27. - node1: aws_centos_micro
  28. - node2: aws_centos_micro
  29. - node4: aws_debian_micro
  30. # etc. etc.
  31.  
  32. # Here under lightbulb_lab_machines only the machine type name matters
  33. # beyond the cloud provider role itself.
  34.  
  35. lightbulb_lab_machines:
  36. aws_centos_micro:
  37. ami_find:
  38. search: foo*
  39. owner: blah
  40. size: t2.micro
  41. storage_gb: 5
  42. aws_centos_medium:
  43. ami_find:
  44. search: foo*
  45. owner: blah
  46. size: t2.medium
  47. storage_gb: 20
  48. aws_centos_tower:
  49. ami_find:
  50. search: foo*
  51. owner: blah
  52. size: t2.medium
  53. storage_gb: 20
  54. aws_rhel_micro:
  55. ami_find:
  56. search: foo*
  57. owner: blah
  58. size: t2.micro
  59. storage_gb: 5
  60. aws_rhel_medium:
  61. ami_find:
  62. search: foo*
  63. owner: blah
  64. size: t2.medium
  65. storage_gb: 20
Add Comment
Please, Sign In to add comment