main.yml 490 B

12345678910111213141516171819
  1. ---
  2. - name: Set hostname
  3. hostname: name={{ openshift_hostname }}
  4. - name: Configure local facts file
  5. file: path=/etc/ansible/facts.d/ state=directory mode=0750
  6. - name: Set common OpenShift facts
  7. include: set_facts.yml
  8. facts:
  9. - section: common
  10. option: env
  11. value: "{{ openshift_env | default('default') }}"
  12. - section: common
  13. option: host_type
  14. value: "{{ openshift_host_type }}"
  15. - section: common
  16. option: debug_level
  17. value: "{{ openshift_debug_level }}"