openafs_contrib.openafs.openafs_service_property (1.9.0) — module

Manage Solaris service properties.

Authors: Michael Meffie

preview | supported by community

Install collection

Install with ansible-galaxy collection install openafs_contrib.openafs:==1.9.0


Add to requirements.yml

  collections:
    - name: openafs_contrib.openafs
      version: 1.9.0

Description

Set service properties using the Solaris svc commands.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Set client startup arguments.
  openafs_service_property:
    state: present
    service: network/openafs/client
    instance: default
    property: afsd/arguments
    value: -dynroot -fakestat -afsd
    single: no

Inputs

    
state:
    description:
    - If C(present) the C(property) will be set to the given C(value).
    - If C(absent) the C(property) will be deleted.

value:
    description: The property value. Requiried when C(state) is C(present).

single:
    default: true
    description:
    - If True, the value is a single string.
    - If False, the value is a space separated list of strings.
    type: bool

service:
    description: The SMF service name.
    required: true

instance:
    default: default
    description: The SMF service instance name.

property:
    description: The property name.
    required: true

Outputs

instance:
  description: SMF service instance
  returned: always
  type: str
property:
  description: SMF service property name
  returned: always
  type: str
service:
  description: SMF service name
  returned: always
  type: str
single:
  description: Value is a single string
  returned: always
  type: bool
value:
  description: SMF service property value
  returned: on success
  type: str