Manage the information in the aliases file
Return the target associated with an alias
CLI Example:
salt '*' aliases.get_target alias
Return true if the alias/target is set
CLI Example:
salt '*' aliases.has_target alias target
Return the aliases found in the aliases file in this format:
{'alias': 'target'}
CLI Example:
salt '*' aliases.list_aliases
Remove an entry from the aliases file
CLI Example:
salt '*' aliases.rm_alias alias
Set the entry in the aliases file for the given alias, this will overwrite any previous entry for the given alias or create a new one if it does not exist.
CLI Example:
salt '*' aliases.set_target alias target
Generated on April 30, 2024 at 17:51:03 UTC.
You are viewing docs for the latest stable release, 3007.0. Switch to docs for the previous stable release, 3006.8, or to a recent doc build from the master branch.
© 2024 VMware, Inc. | Privacy Policy