diff options
author | Tim Rozet <trozet@redhat.com> | 2018-07-21 03:34:09 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-07-21 03:34:09 +0000 |
commit | 3af3e7faee935ed403ea52ba5de4e2b9d9b41178 (patch) | |
tree | 0267bf974f67ca3a79cfdcb9b0293f1ba1f5f5cb /lib/ansible | |
parent | a8fdc5d15ecf48a4eff2d5c160f62661d37c0f4e (diff) | |
parent | 96a76332a46257ce6af777756c7e5439345327eb (diff) |
Merge "Fixes for snapshots"
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" |