| - name: Include configuration vars |
| include_vars: onos-setup-vars.yml |
| - name: Create CORD directory |
| path={{ ansible_user_dir }}/cord |
| - name: Copy over SSH keys |
| dest={{ ansible_user_dir }}/cord/{{ item }} |
| owner={{ ansible_user_id }} mode=0600 |
| - name: Copy over files to build XOS variant of ONOS |
| dest="{{ ansible_user_dir }}/cord/{{ item }}" |
| - name: Copy over & rename docker-compose file |
| src=~/onos-docker-compose.yml |
| dest={{ ansible_user_dir }}/cord/docker-compose.yml |
| - name: Pull docker image for ONOS |
| command: docker pull xosproject/onos-fork |