configure-node-settings.yml 570 B

12345678910111213141516
  1. ---
  2. - name: Configure Node settings
  3. lineinfile:
  4. dest: /etc/sysconfig/{{ openshift_service_type }}-node
  5. regexp: "{{ item.regex }}"
  6. line: "{{ item.line }}"
  7. create: true
  8. with_items:
  9. - regex: '^OPTIONS='
  10. line: "OPTIONS={{ openshift_node_start_options | default('') }}"
  11. - regex: '^DEBUG_LOGLEVEL='
  12. line: "DEBUG_LOGLEVEL={{ openshift_node_debug_level }}"
  13. - regex: '^CONFIG_FILE='
  14. line: "CONFIG_FILE={{ openshift.common.config_base }}/node/node-config.yaml"
  15. - regex: '^IMAGE_VERSION='
  16. line: "IMAGE_VERSION={{ openshift_image_tag }}"