An Ansible role that retrieve DCI component

Clone this repo:


  1. 4b6365e Enable molecule test again with fix by Guillaume Vincent · 1 year, 5 months ago master
  2. cf61cb6 Make component type case insensitive by Guillaume Vincent · 1 year, 5 months ago
  3. 5c9e5f5 Update tox.ini by Haikel Guemar · 1 year, 10 months ago
  4. 957a178 Molecule: use podman by default and run both EL7/8 by Haikel Guemar · 2 years, 8 months ago
  5. 732ee94 Fix typo sync repo by Farid Da Encarnacao · 2 years, 6 months ago


An Ansible role that retrieve DCI component.


This role relies on python-dciclient and dci-ansible.

If those are not installed, they should be installed before using this role.

Also yum-utils should be installed.

Role Variables

Variable nameRequiredDefaultTypeDescription
dci_retrieve_component_component_idTrueN/AUUIDID of the component to retrieve
dci_retrieve_component_component_nameFalseN/AStringName of the component directory on disk
dci_retrieve_component_local_repoTrueN/APathPath where to store the component locally
dci_retrieve_component_repo_urlFalsehttps://repo.distributed-ci.ioURLURL where the components are stored
dci_retrieve_component_sslclientcertFalse/etc/ssl/repo/dci.crtPathPath to the DCI client certificate
dci_retrieve_component_sslclientkeyFalse/etc/ssl/repo/dci.keyPathPath to the DCI client key
dci_retrieve_component_sslverifyFalseyesBoolWether to verify the certificate of dci_retrieve_component_repo_url
dci_retrieve_component_archFalsex86_64StringProcessor architecture to synchronize via reposync


- hosts: localhost
    dci_retrieve_component_component_id: XXX
    dci_retrieve_component_component_name: XXX # Optional, if not present take the topic name
    dci_retrieve_component_local_repo: /var/www/html
    - dci-retrieve-component

To download an alternative architecture than the current one.

- hosts: localhost
    - name: Retrieve component
        dci_retrieve_component_component_id: XXX
        dci_retrieve_component_local_repo: /var/www/html
        dci_retrieve_component_arch: ppc64le
        name: dci-retrieve-component


Apache 2.0

Author Information

Distributed-CI Team