Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions etc/kayobe/ansible.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[defaults]
forks = 20
# Use the YAML stdout callback plugin.
stdout_callback = yaml
# Use the stdout_callback when running ad-hoc commands.
bin_ansible_callbacks = True
# Disable fact variable injection to improve performance.
inject_facts_as_vars = False
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I opted not to enable fact caching here, but open to opinions.


[ssh_connection]
pipelining = True
2 changes: 1 addition & 1 deletion etc/kayobe/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ docker_registry: "{{ stackhpc_docker_registry }}"
#docker_registry_mirrors:

# Enable live-restore on docker daemon
#docker_daemon_live_restore:
docker_daemon_live_restore: true

###############################################################################
# Dummy variable to allow Ansible to accept this file.
Expand Down
6 changes: 6 additions & 0 deletions releasenotes/notes/ansible-tuning-142bbcf4f646e6e0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
features:
- |
Adds some basic tuning of Ansible, including use of 20 forks, enabling
SSH pipelining, YAML-formatted output, and disabling fact variable
injection.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
upgrade:
- |
Enables Docker live restore by default. This may be disabled by setting
``docker_daemon_live_restore`` to ``false`` in ``docker.yml``.