Limit bandwidth when copying files for some subnets

14 views
Skip to first unread message

Andre Gronwald

unread,
Oct 14, 2019, 3:12:55 AM10/14/19
to Ansible Project
Hi,
I am quite new to ansible but really excited what it is able to do.
First playbooks have been successfully executed, now I am going to optimize them for my environment.

We have some devices at locations with a slow wan-connection. In order to have not all available bandwidth used by ansible (QoS is not yet working) I would like to limit the bandwidth for some ip-subnets.

Is this possible?

regards,
andre

Vladimir Botka

unread,
Oct 14, 2019, 3:36:23 AM10/14/19
to Andre Gronwald, ansible...@googlegroups.com
Hi,
You'll be better off with Ansible controller on-site in this case.

Cheers,

-vlado

Andre Gronwald

unread,
Oct 14, 2019, 5:42:05 AM10/14/19
to Ansible Project
makes sense. any more documentation on that?
i would need 4 ansible controller. 

Vladimir Botka

unread,
Oct 14, 2019, 7:04:31 AM10/14/19
to Andre Gronwald, ansible...@googlegroups.com
On Mon, 14 Oct 2019 02:42:05 -0700 (PDT)
Andre Gronwald <andregr...@gmail.com> wrote:

> makes sense. any more documentation on that?
> i would need 4 ansible controller.

Take a look at "Best practices"
https://docs.ansible.com/ansible/latest/user_guide/playbooks_best_practices.html#best-practices

and at "Directory Layout" in particular.
https://docs.ansible.com/ansible/latest/user_guide/playbooks_best_practices.html#directory-layout

Make the decision where to store the "Variables and Vaults".
https://docs.ansible.com/ansible/latest/user_guide/playbooks_best_practices.html#variables-and-vaults

Put everything into a "Version Control" to easily clone and move around the
controller
https://docs.ansible.com/ansible/latest/user_guide/playbooks_best_practices.html#version-control

FWIW. Below is link to my scripts that automate the creation of a "workbench"
https://github.com/vbotka/ansible-ansible/tree/master/contrib/workbench

Take a look at "Ansible Runner" (offers project abstract level similar to AWX)
https://ansible-runner.readthedocs.io/en/latest/

Take a look at "Ansible pull" (might fit the use-case)
https://docs.ansible.com/ansible/latest/cli/ansible-pull.html

Cheers,

-vlado
Reply all
Reply to author
Forward
0 new messages