Skip to content

Commit d5606bc

Browse files
szachovyCopilot
andcommitted
Add default inventory directive to ansible.cfg
Add inventory = inventory.yml under [defaults] so that running ansible-playbook deploy.yml without -i flag correctly targets all hosts instead of silently skipping everything. Closes #42 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 0ab8ce7 commit d5606bc

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2626

2727
* Fixed `run_mysql_server()` not instantiating `MySQLServer` class. (#94)
2828
* Disabled MD060 markdownlint rule to fix table column style false positives in documentation. (#94)
29+
* Added default inventory directive to `ansible.cfg`. (#42)
2930

3031
## 1.0 - 2024-10-13
3132

tests/testsuite/ansible.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
[defaults]
2+
inventory = inventory.yml
23
roles_path = ./roles
34
forks = 32

0 commit comments

Comments
 (0)