Class: Ansible::Ruby::Modules::Pulp_repo

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/packaging/os/pulp_repo.rb

Overview

Add or remove Pulp repos from a remote host.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#add_export_distributor:yes, ...

Returns Whether or not to add the export distributor to new C(rpm) repositories.

Returns:

  • (:yes, :no, nil)

    Whether or not to add the export distributor to new C(rpm) repositories.



12
# File 'lib/ansible/ruby/modules/generated/packaging/os/pulp_repo.rb', line 12

attribute :add_export_distributor

#feedString?

Returns Upstream feed URL to receive updates from.

Returns:

  • (String, nil)

    Upstream feed URL to receive updates from.



16
# File 'lib/ansible/ruby/modules/generated/packaging/os/pulp_repo.rb', line 16

attribute :feed

#force_basic_auth:yes, ...

Returns httplib2, the library used by the M(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.

Returns:

  • (:yes, :no, nil)

    httplib2, the library used by the M(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.



20
# File 'lib/ansible/ruby/modules/generated/packaging/os/pulp_repo.rb', line 20

attribute :force_basic_auth

#importer_ssl_ca_certObject?

Returns CA certificate string used to validate the feed source SSL certificate. This can be the file content or the path to the file.

Returns:

  • (Object, nil)

    CA certificate string used to validate the feed source SSL certificate. This can be the file content or the path to the file.



24
# File 'lib/ansible/ruby/modules/generated/packaging/os/pulp_repo.rb', line 24

attribute :importer_ssl_ca_cert

#importer_ssl_client_certObject?

Returns 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.

Returns:

  • (Object, nil)

    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.



27
# File 'lib/ansible/ruby/modules/generated/packaging/os/pulp_repo.rb', line 27

attribute :importer_ssl_client_cert

#importer_ssl_client_keyObject?

Returns Private key to the certificate specified in I(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.

Returns:

  • (Object, nil)

    Private key to the certificate specified in I(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.



30
# File 'lib/ansible/ruby/modules/generated/packaging/os/pulp_repo.rb', line 30

attribute :importer_ssl_client_key

#nameString

Returns Name of the repo to add or remove. This correlates to repo-id in Pulp.

Returns:

  • (String)

    Name of the repo to add or remove. This correlates to repo-id in Pulp.



33
# File 'lib/ansible/ruby/modules/generated/packaging/os/pulp_repo.rb', line 33

attribute :name

#proxy_hostObject?

Returns Proxy url setting for the pulp repository importer. This is in the format scheme://host.

Returns:

  • (Object, nil)

    Proxy url setting for the pulp repository importer. This is in the format scheme://host.



37
# File 'lib/ansible/ruby/modules/generated/packaging/os/pulp_repo.rb', line 37

attribute :proxy_host

#proxy_portObject?

Returns Proxy port setting for the pulp repository importer.

Returns:

  • (Object, nil)

    Proxy port setting for the pulp repository importer.



40
# File 'lib/ansible/ruby/modules/generated/packaging/os/pulp_repo.rb', line 40

attribute :proxy_port

#publish_distributorObject?

Returns Distributor to use when state is C(publish). The default is to publish all distributors.

Returns:

  • (Object, nil)

    Distributor to use when state is C(publish). The default is to publish all distributors.



43
# File 'lib/ansible/ruby/modules/generated/packaging/os/pulp_repo.rb', line 43

attribute :publish_distributor

#pulp_hostString?

Returns URL of the pulp server to connect to.

Returns:

  • (String, nil)

    URL of the pulp server to connect to.



46
# File 'lib/ansible/ruby/modules/generated/packaging/os/pulp_repo.rb', line 46

attribute :pulp_host

#relative_urlString

Returns Relative URL for the local repository.

Returns:

  • (String)

    Relative URL for the local repository.



50
# File 'lib/ansible/ruby/modules/generated/packaging/os/pulp_repo.rb', line 50

attribute :relative_url

#repo_typeString?

Returns Repo plugin type to use (i.e. C(rpm), C(docker)).

Returns:

  • (String, nil)

    Repo plugin type to use (i.e. C(rpm), C(docker)).



54
# File 'lib/ansible/ruby/modules/generated/packaging/os/pulp_repo.rb', line 54

attribute :repo_type

#serve_http:yes, ...

Returns Make the repo available over HTTP.

Returns:

  • (:yes, :no, nil)

    Make the repo available over HTTP.



58
# File 'lib/ansible/ruby/modules/generated/packaging/os/pulp_repo.rb', line 58

attribute :serve_http

#serve_https:yes, ...

Returns Make the repo available over HTTPS.

Returns:

  • (:yes, :no, nil)

    Make the repo available over HTTPS.



62
# File 'lib/ansible/ruby/modules/generated/packaging/os/pulp_repo.rb', line 62

attribute :serve_https

#state:present, ...

Returns The repo state. A state of C(sync) will queue a sync of the repo. This is asynchronous but not delayed like a scheduled sync. A state of C(publish) will use the repository’s distributor to publish the content.

Returns:

  • (:present, :absent, :sync, :publish, nil)

    The repo state. A state of C(sync) will queue a sync of the repo. This is asynchronous but not delayed like a scheduled sync. A state of C(publish) will use the repository’s distributor to publish the content.



66
# File 'lib/ansible/ruby/modules/generated/packaging/os/pulp_repo.rb', line 66

attribute :state

#url_passwordString?

Returns The password for use in HTTP basic authentication to the pulp API. If the I(url_username) parameter is not specified, the I(url_password) parameter will not be used.

Returns:

  • (String, nil)

    The password for use in HTTP basic authentication to the pulp API. If the I(url_username) parameter is not specified, the I(url_password) parameter will not be used.



70
# File 'lib/ansible/ruby/modules/generated/packaging/os/pulp_repo.rb', line 70

attribute :url_password

#url_usernameString?

Returns The username for use in HTTP basic authentication to the pulp API.

Returns:

  • (String, nil)

    The username for use in HTTP basic authentication to the pulp API.



74
# File 'lib/ansible/ruby/modules/generated/packaging/os/pulp_repo.rb', line 74

attribute :url_username

#validate_certs:yes, ...

Returns If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.

Returns:

  • (:yes, :no, nil)

    If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.



78
# File 'lib/ansible/ruby/modules/generated/packaging/os/pulp_repo.rb', line 78

attribute :validate_certs

#wait_for_completion:yes, ...

Returns Wait for asynchronous tasks to complete before returning.

Returns:

  • (:yes, :no, nil)

    Wait for asynchronous tasks to complete before returning.



82
# File 'lib/ansible/ruby/modules/generated/packaging/os/pulp_repo.rb', line 82

attribute :wait_for_completion