risotto/messages/v1/messages/old/execution.salt.exec.yml

66 lines
1.7 KiB
YAML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
uri: execution.salt.exec
description: |
Planifie lexécution dune commande sur des minions.
sampleuse: ~
domain: execution-domain
pattern: rpc
public: false
parameters:
minion_pattern:
type: String
description: Patron de sélection des minions.
help: Le patron de sélection est au format glob.
command:
type: String
description: Commande SaltStack à exécuter.
arg:
type: String
description: Arguments de la commande SaltStack.
default: null
client_mode:
type: String
description: Mode dexécution des commandes SaltStack.
help: |
Utiliser un des modes de communication parmi :
- « local »
- « local_async »
default: local_async
tgt_type:
type: String
description: Type de cible de la commande.
help: |
valeurs possibles :
glob - Bash glob completion - Default
pcre - Perl style regular expression
list - Python list of hosts
grain - Match based on a grain comparison
grain_pcre - Grain comparison with a regex
pillar - Pillar data comparison
pillar_pcre - Pillar data comparison with a regex
nodegroup - Match on nodegroup
range - Use a Range server for matching
compound - Pass a compound match string
ipcidr - Match based on Subnet (CIDR notation) or IPv4 address.
default: glob
response:
type: 'SaltExec'
description: Retour de la tâche planifiée par SaltStack.
errors:
- uri: execution.salt.exec.error.missing-command
- uri: execution.salt.exec.error.missing-minion_pattern
- uri: execution.salt.exec.error.login
- uri: execution.salt.exec.error.execute
related:
- execution.salt.job.list
- execution.salt.job.describe