Class: Ansible::Ruby::Modules::Apt_repository
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Apt_repository
- Defined in:
- lib/ansible/ruby/modules/generated/core/packaging/os/apt_repository.rb
Instance Method Summary collapse
-
#filename ⇒ Object?
Sets the name of the source list file in sources.list.d.
-
#mode ⇒ Integer?
The octal mode for newly created files in sources.list.d.
-
#repo ⇒ String
A source string for the repository.
-
#state ⇒ :absent, ...
A source string state.
-
#update_cache ⇒ :yes, ...
Run the equivalent of C(apt-get update) when a change occurs.
-
#validate_certs ⇒ :yes, ...
If C(no), SSL certificates for the target repo will not be validated.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#filename ⇒ Object?
Returns Sets the name of the source list file in sources.list.d. Defaults to a file name based on the repository source url. The .list extension will be automatically added.
30 |
# File 'lib/ansible/ruby/modules/generated/core/packaging/os/apt_repository.rb', line 30 attribute :filename |
#mode ⇒ Integer?
Returns The octal mode for newly created files in sources.list.d.
18 |
# File 'lib/ansible/ruby/modules/generated/core/packaging/os/apt_repository.rb', line 18 attribute :mode |
#repo ⇒ String
Returns A source string for the repository.
10 |
# File 'lib/ansible/ruby/modules/generated/core/packaging/os/apt_repository.rb', line 10 attribute :repo |
#state ⇒ :absent, ...
Returns A source string state.
14 |
# File 'lib/ansible/ruby/modules/generated/core/packaging/os/apt_repository.rb', line 14 attribute :state |
#update_cache ⇒ :yes, ...
Returns Run the equivalent of C(apt-get update) when a change occurs. Cache updates are run after making changes.
22 |
# File 'lib/ansible/ruby/modules/generated/core/packaging/os/apt_repository.rb', line 22 attribute :update_cache |
#validate_certs ⇒ :yes, ...
Returns If C(no), SSL certificates for the target repo will not be validated. This should only be used on personally controlled sites using self-signed certificates.
26 |
# File 'lib/ansible/ruby/modules/generated/core/packaging/os/apt_repository.rb', line 26 attribute :validate_certs |