Skip to content

Latest commit

 

History

History
220 lines (186 loc) · 7.47 KB

community.missing_collection.checkly_variables_module.rst

File metadata and controls

220 lines (186 loc) · 7.47 KB

community.missing_collection.checkly_variables

Management of the checkly environment variables.

Version added: 0.3.0

The below requirements are needed on the host that executes this module.

  • requests
Parameter Choices/Defaults Comments
api_key
string / required
api key for checkly.
command
string
    Choices:
  • create ←
  • update
  • delete
type of operation on environment variables.
key
string / required
environment key.
locked
boolean
    Choices:
  • no ←
  • yes
Used only in the UI to hide the value like a password.
url
string
Default:
checkly api.
value
string
Default:
""
environment value.

- name: create environment key-pair
  community.missing_collection.checkly_variables:
    api_key: '95e3814891ef433298150a539750076e'
    command: 'create'
    key: 'GITHUB_TOKEN'
    value: '95e3814891ef43329815'

- name: update value of key and locked
  community.missing_collection.checkly_variables:
    api_key: '95e3814891ef433298150a539750076e'
    command: 'update'
    key: 'GITHUB_TOKEN'
    value: '33298150a539750076e'
    locked: true

- name: delete key
  community.missing_collection.checkly_variables:
    api_key: '95e3814891ef433298150a539750076e'
    command: 'delete'
    key: 'GITHUB_TOKEN'

Common return values are documented here, the following are the fields unique to this module:

Key Returned Description
result
dictionary
when command is create/update and success.
result of checkly api.

Sample:
{'key': 'GITHUB_TOKEN', 'locked': False, 'value': '95e3814891ef43329815'}


Authors