Use new ODL ansible-opendaylight repo in Packer 59/61159/1
authorDaniel Farrell <dfarrell@redhat.com>
Fri, 4 Aug 2017 09:47:00 +0000 (05:47 -0400)
committerDaniel Farrell <dfarrell@redhat.com>
Fri, 4 Aug 2017 09:47:00 +0000 (05:47 -0400)
Using the GitHub mirror of the ODL-hosted ansible-opendaylight repo
because installing roles with ansible-galaxy from upstream repo fails
with what seems to be an Ansible Galaxy bug (reported upstream).

https://github.com/ansible/galaxy-issues/issues/277

Change-Id: I62a0e37dde21b62e5eb03654a8c98381d7287d1f
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
packer/README.markdown
packer/provision/config_ansible_centos.sh
packer/provision/config_ansible_fedora.sh

index 188bed346cfcf3b26d5b059ee117d0907d45243d..e31c3231a78414a16a7cca4ab5a046fca6e8b8ca 100644 (file)
@@ -204,7 +204,7 @@ $ docker run -ti opendaylight/odl:4.1.0 /opt/opendaylight/bin/karaf
 
 [2]: https://www.packer.io/intro/getting-started/setup.html
 
-[3]: https://github.com/dfarrell07/ansible-opendaylight
+[3]: https://git.opendaylight.org/gerrit/gitweb?p=integration/packaging/ansible-opendaylight.git
 
 [4]: https://atlas.hashicorp.com/opendaylight/boxes/odl
 
index 20796323851e9aff45eae34bd8982cd0520b8169..e27949e85f3446baa1c895eee212b6d485b67215 100644 (file)
@@ -34,7 +34,7 @@ sudo yum install -y ansible git
 ansible_version="origin/master"
 cat > /tmp/requirements.yml << EOM
 - name: opendaylight
-  src: https://github.com/dfarrell07/ansible-opendaylight
+  src: https://github.com/opendaylight/integration-packaging-ansible-opendaylight.git
   version: $ansible_version
 EOM
 sudo ansible-galaxy install -r /tmp/requirements.yml
index 57a084754ae5842eb61d82ce771b9a331c709efd..40713d261dddde7e7469c5cde456c9ec2c4dc6a5 100644 (file)
@@ -30,7 +30,7 @@ sudo dnf install -y ansible git python-dnf
 ansible_version="origin/master"
 cat > /tmp/requirements.yml << EOM
 - name: opendaylight
-  src: https://github.com/dfarrell07/ansible-opendaylight
+  src: https://github.com/opendaylight/integration-packaging-ansible-opendaylight.git
   version: $ansible_version
 EOM
 sudo ansible-galaxy install -r /tmp/requirements.yml