From the course: Learning Ansible

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Repeating tasks across fleets with Ansible

Repeating tasks across fleets with Ansible - Ansible Tutorial

From the course: Learning Ansible

Start my 1-month free trial

Repeating tasks across fleets with Ansible

- [Instructor] When most people think of Ansible, they think about repeating tasks across fleets of systems. We might have thousands of systems that we want to be able to configure or make changes on and Ansible certainly shines at this. We know it can do so much more, but this is certainly one of the things it's built to do for us. We can't forget our ability to run ad hoc tasks. We don't need a playbook. We can just fire off tasks at systems. And I'll review that with you here through a demonstration. Something else that we can do is we can manipulate the execution strategy and we can even dictate how many systems will begin making the configuration changes at a time. This is called forks. And I'd like to demonstrate that as well for you. So remember to execute ad hoc tasks, we don't use the Ansible hyphen playbook command to call a playbook. Instead, we just use the Ansible executable. We'll indicate what hosts out of…

Contents