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 state: directory
mode: 0755 mode: 0755
- name: 'Clone {{ item.namespace }}/{{ item.name }} collection' - name: 'Link in {{ item.namespace }}/{{ item.name }} collection'
git: file:
repo: '{{ item.repo }}' src: '{{ ansible_user_dir}}/src/github.com/{{repo}}'
dest: '/root/.ansible/collections/ansible_collections/{{ item.namespace }}/{{ item.name }}' dest: '/root/.ansible/collections/ansible_collections/{{ item.namespace }}/{{ item.name }}'
state: link

View File

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