initialize_oo_option_facts.yml 695 B

123456789101112131415161718
  1. ---
  2. - name: Set oo_option facts
  3. hosts: oo_all_hosts
  4. tags:
  5. - always
  6. tasks:
  7. - set_fact:
  8. openshift_docker_options: "{{ lookup('oo_option', 'docker_options') }}"
  9. when: openshift_docker_options is not defined
  10. - set_fact:
  11. openshift_docker_log_driver: "{{ lookup('oo_option', 'docker_log_driver') }}"
  12. when: openshift_docker_log_driver is not defined
  13. - set_fact:
  14. openshift_docker_log_options: "{{ lookup('oo_option', 'docker_log_options') }}"
  15. when: openshift_docker_log_options is not defined
  16. - set_fact:
  17. openshift_docker_selinux_enabled: "{{ lookup('oo_option', 'docker_selinux_enabled') }}"
  18. when: openshift_docker_selinux_enabled is not defined