Skip to content
Snippets Groups Projects
actions.yaml 1.8 KiB
Newer Older
Mark Beierl's avatar
Mark Beierl committed
# Copyright ETSI OSM Contributors
Mark Beierl's avatar
Mark Beierl committed
# See LICENSE file for licensing details.
#
# This is only an example, and you should edit to suit your needs.
# If you don't need actions, you can remove the file entirely.
# It ties in to the example _on_fortune_action handler in src/charm.py
Mark Beierl's avatar
Mark Beierl committed

add-package:
  description: "Adds software packages from apt."
  params:
    package:
      description: "Names of packages to add, comma delimited."
      type: string
      default: ""
  required:
    - package

Mark Beierl's avatar
Mark Beierl committed
add-snap:
  description: "Adds software packages from snap store."
  params:
    package:
      description: "Names of packages to add, comma delimited."
      type: string
      default: ""
  required:
    - package

announce:
  description: "Sends a message to logged in users"
  params:
    message:
      description: "Message to send"
      type: string
      default: ""
  required:
    - message

Mark Beierl's avatar
Mark Beierl committed
reboot:
  description: "Reboots the server."

remove-package:
  description: "Removes software packages from system."
  params:
    package:
      description: "Names of packages to remove, comma delimited."
      type: string
      default: ""
  required:
    - package

Mark Beierl's avatar
Mark Beierl committed
remove-snap:
  description: "Adds software packages from snap store."
  params:
    package:
      description: "Names of packages to add, comma delimited."
      type: string
      default: ""
  required:
    - package

Mark Beierl's avatar
Mark Beierl committed
update-system:
  description: "Updates all software to latest version."

integrate-ldap:
  description: "Adds support for ldap."
  params:
    ldap_host:
      description: "Ip or domain of the ldap host."
      type: string
    ldap_domain:
      description: "Ldap domian."
      type: string
    ldap_password:
      description: "Password for the admin user."
      type: string
  required:
    - ldap_host
    - ldap_domain
    - ldap_password