Skip to content

Commit

Permalink
Merge pull request #29 from martenson/gitig-cfg
Browse files Browse the repository at this point in the history
add common gitignores and tell ansible to not overgather
  • Loading branch information
martindemko authored Dec 5, 2024
2 parents c676e14 + e248ddf commit 9ec4f98
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
*~
*.*.swp
*.retry

### Values and Secrets ###
.vault-password.txt
hosts
ansible.cfg

# Python bytecode
*.pyc

# Macs
.DS_Store
3 changes: 3 additions & 0 deletions ansible.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ gather_subset=!hardware
no_log = False
log_path = ansible.log

# Don't gather host facts at the start of each play if they've already been gathered
gathering = smart

# Show diffs of changes
[diff]
always = True
Expand Down

0 comments on commit 9ec4f98

Please sign in to comment.