Merge "Ansible devel testing: install ansible-collections from checkout"

This commit is contained in:
Zuul 2020-09-18 01:36:15 +00:00 committed by Gerrit Code Review
commit 59785b464f
2 changed files with 10 additions and 9 deletions

View File

@ -4,7 +4,8 @@
state: directory
mode: 0755
- name: 'Clone {{ item.namespace }}/{{ item.name }} collection'
git:
repo: '{{ item.repo }}'
- name: 'Link in {{ item.namespace }}/{{ item.name }} collection'
file:
src: '{{ ansible_user_dir}}/src/github.com/{{repo}}'
dest: '/root/.ansible/collections/ansible_collections/{{ item.namespace }}/{{ item.name }}'
state: link

View File

@ -46,18 +46,18 @@
include_tasks: install_ansible_collection.yaml
when: _install_ansible_from_devel is defined
loop:
- namespace: ansible
name: netcommon
repo: ansible-collections/ansible.netcommon
- namespace: ansible
name: posix
repo: https://github.com/ansible-collections/ansible.posix
repo: ansible-collections/ansible.posix
- namespace: community
name: general
repo: https://github.com/ansible-collections/community.general
repo: ansible-collections/community.general
- namespace: community
name: crypto
repo: https://github.com/ansible-collections/community.crypto
- namespace: ansible
name: netcommon
repo: https://github.com/ansible-collections/ansible.netcommon
repo: ansible-collections/community.crypto
- name: Ensure required Ansible build packages for non-wheel architectures
apt: