summaryrefslogtreecommitdiffstats
path: root/roles/openshift_aws/templates
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2017-11-02 12:09:44 -0400
committerKenny Woodson <kwoodson@redhat.com>2017-11-15 15:09:59 -0500
commit9a0b659f990755ab1600606ed5513ac12d8daa40 (patch)
treea0f164f3cdb1565e1b1f03a2cb14262c03526b5f /roles/openshift_aws/templates
parentc49dd26ba094b96da1e234d8ea355861a5220c99 (diff)
downloadopenshift-9a0b659f990755ab1600606ed5513ac12d8daa40.tar.gz
openshift-9a0b659f990755ab1600606ed5513ac12d8daa40.tar.bz2
openshift-9a0b659f990755ab1600606ed5513ac12d8daa40.tar.xz
openshift-9a0b659f990755ab1600606ed5513ac12d8daa40.zip
Ensure node service is started.
Diffstat (limited to 'roles/openshift_aws/templates')
-rw-r--r--roles/openshift_aws/templates/user_data.j21
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/openshift_aws/templates/user_data.j2 b/roles/openshift_aws/templates/user_data.j2
index a8c7f9a95..fe0fe83d4 100644
--- a/roles/openshift_aws/templates/user_data.j2
+++ b/roles/openshift_aws/templates/user_data.j2
@@ -20,6 +20,7 @@ runcmd:
- [ ansible-playbook, /root/openshift_bootstrap/bootstrap.yml]
{% endif %}
{% if launch_config_item.key != 'master' %}
+- [ systemctl, restart, NetworkManager]
- [ systemctl, enable, {% if openshift_deployment_type == 'openshift-enterprise' %}atomic-openshift{% else %}origin{% endif %}-node]
- [ systemctl, start, {% if openshift_deployment_type == 'openshift-enterprise' %}atomic-openshift{% else %}origin{% endif %}-node]
{% endif %}