1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Integration tests requirements (#26545)

* Removed pexpect and jmespath requirement, install it in task directly
* Removed passlib dependency
This commit is contained in:
Andrea Tartaglia 2017-07-07 22:11:53 +01:00 committed by Matt Clay
parent 294c0f91c0
commit 0d48732e7e
4 changed files with 17 additions and 3 deletions

View file

@ -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

View file

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

View file

@ -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 "$@"

View file

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