diff options
Diffstat (limited to 'lib/ansible/playbooks/post_deploy_overcloud.yml')
-rw-r--r-- | lib/ansible/playbooks/post_deploy_overcloud.yml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/ansible/playbooks/post_deploy_overcloud.yml b/lib/ansible/playbooks/post_deploy_overcloud.yml index 212d2cfa..372aea49 100644 --- a/lib/ansible/playbooks/post_deploy_overcloud.yml +++ b/lib/ansible/playbooks/post_deploy_overcloud.yml @@ -75,3 +75,18 @@ when: - sdn == 'opendaylight' - "'controller' in ansible_hostname" + - name: Open port 8101 (karaf shell) for ODL + iptables: + chain: INPUT + action: insert + protocol: tcp + destination_port: 8101 + jump: ACCEPT + rule_num: 1 + become: yes + when: + - sdn == 'opendaylight' + - "'controller' in ansible_hostname" + - name: save iptables + command: service iptables save + become: yes |