Browse Source

added some to ansible config

aeth 8 months ago
parent
commit
e14f73f95d
1 changed files with 3 additions and 0 deletions
  1. 3 0
      ansible.cfg

+ 3 - 0
ansible.cfg

@@ -662,6 +662,9 @@ collections_path=/home/aeth/.ansible/collections:/usr/share/ansible/collections
 # These warnings can be silenced by adjusting this setting to False.
 ;inventory_unparsed_warning=True
 
+# controls the amount of retries the ansible agent will attempt to connect to the host before quitting
+[ssh_connection]
+retries=5
 
 [netconf_connection]
 # (string) This variable is used to enable bastion/jump host with netconf connection. If set to True the bastion/jump host ssh settings should be present in ~/.ssh/config file, alternatively it can be set to custom ssh configuration file path to read the bastion/jump host settings.