New in version 2.3.
Whether or not to add the export distributor to new
Upstream feed URL to receive updates from.
httplib2, the library used by the uri module only sends authentication information when a webservice responds to an initial request with a 401 status. Since some basic auth services do not properly send a 401, logins will fail. This option forces the sending of the Basic authentication header upon initial request.
CA certificate string used to validate the feed source SSL certificate. This can be the file content or the path to the file.
Certificate used as the client certificate when synchronizing the repository. This is used to communicate authentication information to the feed source. The value to this option must be the full path to the certificate. The specified file may be the certificate itself or a single file containing both the certificate and private key. This can be the file content or the path to the file.
Private key to the certificate specified in importer_ssl_client_cert, assuming it is not included in the certificate file itself. This can be the file content or the path to the file.
Name of the repo to add or remove. This correlates to repo-id in Pulp.
Proxy url setting for the pulp repository importer. This is in the format scheme://host.
Proxy port setting for the pulp repository importer.
Distributor to use when state is
URL of the pulp server to connect to.
Relative URL for the local repository.
Repo plugin type to use (i.e.
Make the repo available over HTTP.
Make the repo available over HTTPS.
The repo state. A state of
The password for use in HTTP basic authentication to the pulp API. If the url_username parameter is not specified, the url_password parameter will not be used.
The username for use in HTTP basic authentication to the pulp API.
Wait for asynchronous tasks to complete before returning.
- name: Create a new repo with name 'my_repo' pulp_repo: name: my_repo relative_url: my/repo state: present - name: Create a repo with a feed and a relative URL pulp_repo: name: my_centos_updates repo_type: rpm feed: http://mirror.centos.org/centos/6/updates/x86_64/ relative_url: centos/6/updates url_username: admin url_password: admin force_basic_auth: yes state: present - name: Remove a repo from the pulp server pulp_repo: name: my_old_repo repo_type: rpm state: absent
Common return values are documented here Return Values, the following are the fields unique to this module:
|repo||Name of the repo that the action was performed on.||success||string||my_repo|
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
This module is community maintained without core committer oversight.
For more information on what this means please read Module Support