diff options
Diffstat (limited to 'lib/ansible')
-rw-r--r-- | lib/ansible/playbooks/post_deploy_overcloud.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/ansible/playbooks/post_deploy_overcloud.yml b/lib/ansible/playbooks/post_deploy_overcloud.yml index af743b29..212d2cfa 100644 --- a/lib/ansible/playbooks/post_deploy_overcloud.yml +++ b/lib/ansible/playbooks/post_deploy_overcloud.yml @@ -69,3 +69,9 @@ when: - "'compute' in ansible_hostname" - os_version == 'pike' + - name: Update ODL container restart policy to always + shell: "docker update --restart=always opendaylight_api" + become: yes + when: + - sdn == 'opendaylight' + - "'controller' in ansible_hostname" |