diff options
author | Yuya Kusakabe <yuya.kusakabe@gmail.com> | 2018-06-22 06:06:04 +0900 |
---|---|---|
committer | Yuya Kusakabe <yuya.kusakabe@gmail.com> | 2018-06-22 06:06:04 +0900 |
commit | 7e85935ac874876ed515ec1179ce6215d3a4bf5c (patch) | |
tree | 0e43a35946da49042c353cacb897074d1252fbad /roles | |
parent | 77d6e6d35aa9efe91ae47b0e3d427b2d4ea47ad6 (diff) | |
download | vyos-vm-images-7e85935ac874876ed515ec1179ce6215d3a4bf5c.tar.gz vyos-vm-images-7e85935ac874876ed515ec1179ce6215d3a4bf5c.zip |
Fix vagrant-libvirt release task
Diffstat (limited to 'roles')
-rw-r--r-- | roles/vagrant-libvirt/tasks/release.yml | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/roles/vagrant-libvirt/tasks/release.yml b/roles/vagrant-libvirt/tasks/release.yml index 7d2ca47..bfb9a63 100644 --- a/roles/vagrant-libvirt/tasks/release.yml +++ b/roles/vagrant-libvirt/tasks/release.yml @@ -13,14 +13,12 @@ url: "https://app.vagrantup.com/api/v1/box/{{ vyos_vagrant_box_name }}/versions?access_token={{ vyos_vagrant_cloud_access_token }}" method: POST body: "version[version]={{ box_version }}" - status_code: 201 when: vyos_images_dir is defined and vyos_vagrant_box_base_url is defined and vyos_vagrant_cloud_access_token is defined - name: Create the box provider uri: url: "https://app.vagrantup.com/api/v1/box/{{ vyos_vagrant_box_name }}/version/{{ box_version }}/providers?access_token={{ vyos_vagrant_cloud_access_token }}" method: POST body: "provider[name]=libvirt&provider[url]={{ vyos_vagrant_box_base_url }}/vyos-{{ version_string.stdout }}-vagrant-libvirt.box" - status_code: 201 when: vyos_images_dir is defined and vyos_vagrant_box_base_url is defined and vyos_vagrant_cloud_access_token is defined - name: Release the box uri: |