Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
pycklets / resources / frecklet / sysctl-value.frecklet
Size: Mime:
doc:
  short_help: Set a sysctl value.

args:
  name:
    doc:
      short_help: The name of the sysctl variable.
    type: string
    required: true
    empty: false
  value:
    doc:
      short_help: The value.
    required: true
    empty: false
  set:
    doc:
      short_help: Verify token value with the sysctl command and set with -w if necessary.
    type: boolean
    default: false
  reload:
    doc:
      short_help: If yes, performs a /sbin/sysctl -p if the sysctl_file is updated. If no, does not reload sysctl even if the sysctl_file is updated.
    type: boolean
    default: true

frecklets:
- frecklet:
    name: sysctl
    type: ansible-module
    desc:
      short: 'set sysctl key: {{:: name ::}} -> {{:: value ::}}'
    properties:
      idempotent: true
      elevated: true
      internet: false
  task:
    become: true
  vars:
    name: '{{:: name ::}}'
    value: '{{:: value ::}}'
    state: present
    sysctl_set: '{{:: set ::}}'
meta: {}