vars.yml.sample 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. ---
  2. vm_prefix: "ci_test"
  3. #aws_use_auto_terminator is set to True by default, as rh-dev account doesn't have permission
  4. # to terminate instances. These should be stopped and renamed to include 'terminate' instead
  5. #aws_use_auto_terminator: false
  6. type: aws
  7. aws_user: "ec2-user"
  8. python: "/usr/bin/python"
  9. aws_key: "libra"
  10. aws_region: "us-east-1"
  11. aws_cluster_id: "ci"
  12. # us-east-1d
  13. aws_subnet: "subnet-cf57c596"
  14. aws_expiration_date: "{{ lookup('pipe','date -d \"4 hours\" --iso=minutes --utc') }}"
  15. aws_ami_tags:
  16. "tag:operating_system": "rhel"
  17. "tag:image_stage": "base"
  18. "tag:ready": "yes"
  19. aws_instances:
  20. - name: "{{ vm_prefix }}-master"
  21. ansible_groups:
  22. - masters
  23. - etcd
  24. - nodes
  25. aws_flavor: t2.large
  26. aws_security_group: public
  27. node_group: "node-config-all-in-one"
  28. # Use custom AMI tags
  29. # aws_ami_tags:
  30. # operating_system: "rhel"
  31. # image_stage: "base"
  32. # ready: "yes"
  33. # Use custom AMI
  34. #aws_image: "ami-70e8fd66"
  35. # Attach custom volumes
  36. #aws_volumes:
  37. # - device_name: /dev/sdb
  38. # volume_size: 50
  39. # delete_on_termination: yes
  40. #Set expiration date for instances on CI namespace
  41. #aws_expiration_date: "{{ lookup('pipe','date -d \"4 hours\" --iso=minutes --utc') }}"