Because we want to use bindep to manage our build dependencies for
ansible, we need to first create a virtualenv with only bindep, so we
can add the missing packages needed to build wheels for ansible.
This also adds ssl development headers, which were missing.
Remove bindep from requirements.txt, tox.ini includes it for bindep
environment.
Change-Id: I0e15a1fd97b0585c37a11044c7ad22985526cadb
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Currently 2.4.0 is the oldest release of ansible, everything later is
EOL.
Change-Id: I0372fee4b84de9e45c68fbb37860053a5df7d7e4
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
When a user tries windmill, they have a multiple options to actually
run ansible. However, we can atleast provide a basic way to bootstrap
a host and validate our playbooks and roles are in working order.
This could also be a simple way to try newer version of ansible, under
zuul gains the ability to support that.
Change-Id: I4e97b0f10437adf7a153148cc7fa5ae45e81d4de
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
We can remove the dependency on zuul-cloner to manage our roles.
Change-Id: I50f5013eacc6b6b71bb1852eebc40c5ae5807b07
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
See to have issue deploying under ansible 2.4.0, cap for now.
Change-Id: Ia6f0037678e537a4dd5e08eaa02887b55ed82deb
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Turtles all the way down! Install required ansible dependencies,
before we can actually use ansible.
Change-Id: I543798d2ef6cf9b1e624a7628a2992e99f2fd231
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
We are using some deprecated syntax in our roles, as a result the gate
is wedged. Pin ansible until we fix them.
Change-Id: I482a94c2496de22e11b1df01d6e0b246bbeca36f
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Currently there is a syncronize regression[1] between 2.0.0.2 and
2.0.1.0.
[1]https://github.com/ansible/ansible-modules-core/issues/3136
Change-Id: I05cee8705ea8642f9bb36a1984b685375d48e319
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
For example, zuul-cloner will install ansible-role-nodepool into
playbooks/roles/windmill.nodepool. This naming format is inline with
how roles installed from ansible galaxy.
The reason we use zuul-cloner, is it gives us the ability to gate on
cross repo changes. Rather then always installing from master.
Change-Id: Idd30e21ed646c44a269c3422be8f17575a12795a
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Add tox logic for tox -edocs and tox -epep8 for the gate.
Change-Id: Idfa0602edbf5f34e44d287e7511c02b34eab4e7f
Signed-off-by: Paul Belanger <pabelanger@redhat.com>