Manage the information in the aliases file
salt.modules.aliases.
get_target
(alias)Return the target associated with an alias
CLI Example:
salt '*' aliases.get_target alias
salt.modules.aliases.
has_target
(alias, target)Return true if the alias/target is set
CLI Example:
salt '*' aliases.has_target alias target
salt.modules.aliases.
list_aliases
()Return the aliases found in the aliases file in this format:
{'alias': 'target'}
CLI Example:
salt '*' aliases.list_aliases
Generated on February 25, 2019 at 06:53:47 MST.
You are viewing docs for the previous stable release, 2017.7.8. Switch to docs for the latest stable release, 2018.3.3, or to a recent doc build from the develop branch.
© 2019 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy