main.yml 638 B

123456789101112131415161718192021
  1. ---
  2. # Either to checkpoint the dynamic inventory into a static one
  3. refresh_inventory: True
  4. inventory: static
  5. inventory_path: ~/openstack-inventory
  6. # Either to configure bastion
  7. use_bastion: true
  8. # SSH user/key/options to access hosts via bastion
  9. ssh_user: openshift
  10. ssh_options: >-
  11. -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no
  12. -o ConnectTimeout=90 -o ControlMaster=auto -o ControlPersist=270s
  13. -o ServerAliveInterval=30 -o GSSAPIAuthentication=no
  14. # SSH key to access nodes
  15. private_ssh_key: ~/.ssh/openshift
  16. # The patch to store the generated config to access bastion/hosts
  17. ssh_config_path: /tmp/ssh.config.ansible