---
plugin: openstack
cache: yes
# you can enable this while working on the playbooks, to speed up inventory
# cache_plugin: yaml
# cache_connection: ansible-inventory-openstack-cache
only_clouds:
  - "rhos-01"
fail_on_erros: true
compose:
  ansible_user: "'core'"
  ansible_become: true
  # avoid deprecation warning
  ansible_python_interpreter: "'python3'"

---
plugin: openstack
cache: yes
# you can enable this while working on the playbooks, to speed up inventory
# cache_plugin: yaml
# cache_connection: ansible-inventory-openstack-cache
only_clouds:
  - "rhos-01"
fail_on_erros: true
compose:
  ansible_user: "'core'"
  ansible_become: true
  # avoid deprecation warning
  ansible_python_interpreter: "'python3'"
  ansible_ssh_common_args: "'-o StrictHostKeyChecking=no'"

Disable host key checking for OpenStack instances
ansible: Disable host key checking for OpenStack instances

This is just too impractical, and breaks running playbooks/roles for
updating existing instances.

This mirrors what we do for new instances in
ansible/roles/launch-openstack-instance/tasks/main.yml.
