ansible-later/docs/content/configuration/_index.md

17 lines
812 B
Markdown
Raw Normal View History

2020-01-14 23:15:13 +00:00
---
title: Configuration
---
ansible-later ships with some default settings that should be sufficient for most users to get started, but you can customize settings to suit your needs.
2020-01-14 23:15:13 +00:00
Changes can be made in a YAML configuration file or via CLI options, which are processed in the following order (last wins):
2020-01-14 23:15:13 +00:00
- default configuration (built-in)
- global configuration file (this depends on your operating system)
- folder-based configuration file (`.later.yml|.later.yaml|.later`) in the current working directory
- CLI options
2020-01-14 23:15:13 +00:00
Please note that YAML attributes are overwritten while YAML lists are merged in any configuration files.
2020-01-14 23:15:13 +00:00
To simplify single file linting, e.g. for debugging purposes, ansible-later ignores the `exclude_files` and `ignore_dotfiles` options when only one file is passed to the CLI.