X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Ftestbed-setup%2Fplaybooks%2F03-virl-post-install.yaml;h=7558c705eee0b0e82abf6c0ee3aab280abea59e1;hp=59bcfe9d65b1b6fd7ec878cd223022bd048de596;hb=e6e0c3ad0236d3b2ffb91ae757d84acfb97273b5;hpb=bca7bcede75d4fa3713a2317b87820d4d3439b7b 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 59bcfe9d65..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,10 +17,14 @@ shell: ln -s /nfs/scratch /scratch args: creates: /scratch - - name: upate Nova CPU mode + - 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: 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 @@ -66,7 +70,7 @@ remote_user: virl tasks: - name: Create VIRL project - shell: virl_uwm_client project-create --name tb4-virl --enabled True --user-password Cisco1234 + shell: virl_uwm_client project-create --name tb4-virl --enabled True --user-password Cisco1234 -i 400 -r 1024000 -c 500 ignore_errors: true # - name: Delete VIRL project user # shell: virl_uwm_client user-delete --name tb4-virl