Integration tests requirements (#26545)

* Removed pexpect and jmespath requirement, install it in task directly
* Removed passlib dependency
pull/26549/head
Andrea Tartaglia 8 years ago committed by Matt Clay
parent 294c0f91c0
commit 0d48732e7e

@ -15,6 +15,10 @@
#
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
- name: Install test requirements
pip:
name: pexpect
state: present
- name: record the test_command file
set_fact: test_command_file={{output_dir | expanduser}}/test_command.py

@ -0,0 +1,4 @@
- hosts: testhost
gather_facts: yes
roles:
- { role: filters }

@ -0,0 +1,9 @@
#!/usr/bin/env bash
set -eux
# Requirements have to be installed prior to running ansible-playbook
# because plugins and requirements are loaded before the task runs
pip install jmespath
ANSIBLE_ROLES_PATH=../ ansible-playbook filters.yml -i ../../inventory -e @../../integration_config.yml "$@"

@ -1,9 +1,6 @@
cryptography
jinja2
jmespath
junit-xml
ordereddict ; python_version < '2.7'
paramiko
passlib
pexpect
pyyaml

Loading…
Cancel
Save