Default to 50 Ansible forks.
During the initial Overcloud deployment, tasks will be ran on 50 hosts at a time now instead of 25. This allows for a faster deployment of a large number of Overcloud nodes. Change-Id: Idf0351dbc05bb63ae180e61beb9e7f933dc6fa31 Signed-off-by: Luke Short <ekultails@gmail.com>
This commit is contained in:
parent
ffa2319263
commit
0fa8f221d2
|
@ -100,7 +100,7 @@ def write_default_ansible_cfg(work_dir,
|
|||
datetime.now().strftime("%Y-%m-%dT%H:%M:%S"))
|
||||
os.rename(log_path, new_path)
|
||||
|
||||
config.set('defaults', 'forks', '25')
|
||||
config.set('defaults', 'forks', '50')
|
||||
config.set('defaults', 'timeout', '30')
|
||||
config.set('defaults', 'gather_timeout', '30')
|
||||
|
||||
|
|
|
@ -258,4 +258,4 @@ class CopyConfigFileTest(base.TestCase):
|
|||
ansible_cfg = configparser.ConfigParser()
|
||||
ansible_cfg.read(resulting_ansible_config)
|
||||
|
||||
self.assertEqual('25', ansible_cfg.get('defaults', 'forks'))
|
||||
self.assertEqual('50', ansible_cfg.get('defaults', 'forks'))
|
||||
|
|
Loading…
Reference in New Issue