Class: Ansible::Ruby::Modules::Onepassword_facts
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Onepassword_facts
- Defined in:
- lib/ansible/ruby/modules/generated/identity/onepassword_facts.rb
Overview
M(onepassword_facts) wraps the C(op) command line utility to fetch data about one or more 1password items and return as Ansible facts. A fatal error occurs if any of the items being searched for can not be found. Recommend using with the C(no_log) option to avoid logging the values of the secrets being retrieved.
Instance Method Summary collapse
-
#auto_login ⇒ Object?
A dictionary containing authentication details.
-
#cli_path ⇒ String?
Used to specify the exact path to the C(op) command line interface.
-
#search_terms ⇒ String, ...
A list of one or more search terms.,Each search term can either be a simple string or it can be a dictionary for more control.,When passing a simple string, I(field) is assumed to be C(password).,When passing a dictionary, the following fields are available.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#auto_login ⇒ Object?
Returns A dictionary containing authentication details. If this is set, M(onepassword_facts) will attempt to login to 1password automatically.,The required values can be stored in Ansible Vault, and passed to the module securely that way.,Without this option, you must have already logged in via the 1Password CLI before running Ansible.
18 |
# File 'lib/ansible/ruby/modules/generated/identity/onepassword_facts.rb', line 18 attribute :auto_login |
#cli_path ⇒ String?
Returns Used to specify the exact path to the C(op) command line interface.
21 |
# File 'lib/ansible/ruby/modules/generated/identity/onepassword_facts.rb', line 21 attribute :cli_path |
#search_terms ⇒ String, ...
Returns A list of one or more search terms.,Each search term can either be a simple string or it can be a dictionary for more control.,When passing a simple string, I(field) is assumed to be C(password).,When passing a dictionary, the following fields are available.
14 |
# File 'lib/ansible/ruby/modules/generated/identity/onepassword_facts.rb', line 14 attribute :search_terms |