harden exim
[distro-setup] / a / ansible.cfg
1 [defaults]
2 # 2.7.4-1ppa~xenial would use 194M of memory resident in htop
3 # and run out of 4g of memory. just ran ansible 2.9.9-1ppa~bionic+9.0trisquel1
4 # and with 23 fork limit, it topped out at 1 gig used of memory.
5 # we have about 60 hosts, so 100 should allow them all to run in
6 # parallell without a problem without having memory problems.
7 # oldused=0; while true; do used=$(free -w -t | tail -n1 | awk '{print $3}'); if ((used > oldused )); then oldused=$used; echo $(date) $used | tee used; fi; sleep 1; done
8 forks = 100
9
10 # Ansible doesnt have have trisquels python path in its os info.
11 # Silence a warning
12 # https://docs.ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html
13 interpreter_python = auto_silent
14 # strategy = free # DO NOT ENABLE.
15 #
16 # As of 2019-08-07, include_tasks is very broken with the free strategy.
17 # tasks will not be run for some hosts, or "when" rules ignored and run
18 # for the wrong host, or some hosts a task will be run twice. Even if we
19 # switch to import_tasks, I wouldn't trust using this until that bug is
20 # found and fixed. repro: tested with 2.7.4, (no bug reports or fixes
21 # found), Running just the common role, then searching for which hosts
22 # an install.yml included role got run using
23 #
24 # f() { awk '/xfsprogs/ { x = 1; next }; /^TASK/ { x = 0 }; x && /\[/ { print }' $1 | sort | uniq -c | pee cat wc; }
25 # f LOGFILE
26 host_key_checking = False
27 display_skipped_hosts = False
28 retry_files_enabled = False
29 # readable output
30 stdout_callback = yaml
31 # Our logs are already pretty big. You can temporarily uncomment to enable
32 # profiling info in the logs.
33 #callback_whitelist = timer, profile_tasks, profile_roles
34
35 # Ansible suggests using the file module instead of chmod, but then it
36 # follows symlinks without an option to turn it off, which is completely
37 # braindead and screwed up my system.
38 command_warnings=False
39
40 [ssh_connection]
41 pipelining = True
42 retries = 2
43
44 [colors]
45 # found in color.py. default blue is hard to read on a black background
46 verbose = bright blue