system-config/playbooks/roles/install-ansible
Clark Boylan a45afbeac5 Increase bridge's ansible ssh controlpersist timeout to 180s
There is an Ansible bug where if successive tasks are separated in time
by the ssh controlpersist timeout Ansible will race ssh's updates to the
connection causing the second task to fail with an rc of -13 [0].

Statistically we believe that the longer times between tasks are less
likely. This means ssh controlpersist timeout values that are larger
will be less likely to have ansible hit this bug. Increase the value
from a default of 60s to 180s to take advantage of this probability.

[0] https://github.com/ansible/ansible/issues/81777

Change-Id: Ic40730c3e0bd814e6a5c739e4415657594362032
2023-12-05 08:16:23 -08:00
..
defaults Update ARA 2021-06-01 09:38:32 +10:00
files Move Airship and Kata lists to Mailman 3 2023-09-14 12:08:34 +00:00
tasks Merge "Revert "Cap ruamel.yaml install for ARA"" 2023-10-26 22:10:14 +00:00
templates Increase bridge's ansible ssh controlpersist timeout to 180s 2023-12-05 08:16:23 -08:00
README.rst install-ansible: overhaul install ansible requirements 2022-12-06 13:27:46 +11:00

Install and configure Ansible on a host via pip

This will install ansible into a virtualenv at /usr/ansible-venv

Role Variables

A dictionary of configuration keys and their values for ARA's Ansible plugins.

Default configuration keys:

  • api_client: offline (can be http for sending to remote API servers)
  • api_server: http://127.0.0.1:8000 (has no effect when using offline)
  • api_username: null (if required, an API username)
  • api_password: null (if required, an API password)
  • api_timeout: 30 (the timeout on http requests)

For a list of available configuration options, see the ARA documentation