aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools
diff options
context:
space:
mode:
authorselias <samelias@cisco.com>2017-05-22 18:33:04 +0200
committerPeter Mikus <pmikus@cisco.com>2017-05-25 05:37:38 +0000
commite6e0c3ad0236d3b2ffb91ae757d84acfb97273b5 (patch)
tree477185de5686a7651c1475633ff395d6ea987303 /resources/tools
parent218329134a668fb59cd62143a0ea49eabb4cb8a7 (diff)
CSIT-613 Update VIRL ansible files
Update VIRL ansible files Change-Id: Ie64ddb1238888518e9384711669a028097d816af Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/tools')
-rw-r--r--resources/tools/testbed-setup/playbooks/03-virl-post-install.yaml12
1 files changed, 4 insertions, 8 deletions
diff --git a/resources/tools/testbed-setup/playbooks/03-virl-post-install.yaml b/resources/tools/testbed-setup/playbooks/03-virl-post-install.yaml
index 1902121b17..7558c705ee 100644
--- a/resources/tools/testbed-setup/playbooks/03-virl-post-install.yaml
+++ b/resources/tools/testbed-setup/playbooks/03-virl-post-install.yaml
@@ -17,18 +17,14 @@
shell: ln -s /nfs/scratch /scratch
args:
creates: /scratch
- - name: Patch nova scripts
- patch:
- src: ./files/nova_os_ip.patch
- basedir: /usr/lib/python2.7/dist-packages/nova
- name: Upate Nova CPU mode
ini_file: dest=/etc/nova/nova.conf section=libvirt option=cpu_mode value=host-passthrough
- name: Restart nova-compute service
service: name=nova-compute state=restarted
- - name: Upate Neutron bridge ageing time
- ini_file: dest=/etc/neutron/neutron.conf section=DEFAULT option=network_bridge_ageing value=0
- - name: Restart neutron-linuxbridge-agent service
- service: name=neutron-linuxbridge-agent state=restarted
+ - name: Change listen interface in NTP settings
+ lineinfile: dest=/etc/ntp.conf state=present regexp='^interface listen 172.16.*' line='interface listen {{ ansible_default_ipv4["address"] }}'
+ - name: Restart NTP service
+ service: name=ntp state=restarted
- name: Permit SSH user environment
lineinfile: dest=/etc/ssh/sshd_config state=present regexp='PermitUserEnvironment.*' line='PermitUserEnvironment yes'
- name: Restart SSH daemon