summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/tasks/config/configure-node-settings.yml
blob: 5275804814d340dc2a6baf27ebe45b855eb2e6ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
- name: Configure Node settings
  lineinfile:
    dest: /etc/sysconfig/{{ openshift.common.service_type }}-node
    regexp: "{{ item.regex }}"
    line: "{{ item.line }}"
    create: true
  with_items:
  - regex: '^OPTIONS='
    line: "OPTIONS=--loglevel={{ openshift_node_debug_level }}"
  - regex: '^CONFIG_FILE='
    line: "CONFIG_FILE={{ openshift.common.config_base }}/node/node-config.yaml"
  - regex: '^IMAGE_VERSION='
    line: "IMAGE_VERSION={{ openshift_image_tag }}"
  notify:
  - restart node