Browse Source

Configure node proxy settings on bootstrapped nodes

Vadim Rutkovsky 6 years ago
parent
commit
17cc1374d2

roles/openshift_node/tasks/config/configure-proxy-settings.yml → roles/openshift_node/tasks/configure-proxy-settings.yml


+ 1 - 1
roles/openshift_node/tasks/systemd_units.yml

@@ -19,4 +19,4 @@
 
 
 
 
 - import_tasks: config/configure-node-settings.yml
 - import_tasks: config/configure-node-settings.yml
-- import_tasks: config/configure-proxy-settings.yml
+- import_tasks: configure-proxy-settings.yml

+ 4 - 0
roles/openshift_node_group/tasks/bootstrap_config.yml

@@ -14,3 +14,7 @@
     dest: "/etc/sysconfig/{{ openshift_service_type }}-node"
     dest: "/etc/sysconfig/{{ openshift_service_type }}-node"
     line: "BOOTSTRAP_CONFIG_NAME={{ openshift_node_group_name }}"
     line: "BOOTSTRAP_CONFIG_NAME={{ openshift_node_group_name }}"
     regexp: "^BOOTSTRAP_CONFIG_NAME=.*"
     regexp: "^BOOTSTRAP_CONFIG_NAME=.*"
+
+- import_role:
+    name: openshift_node
+    tasks_from: configure-proxy-settings.yml