# Proper use of linear module (not linear strategy)

**URL:** <https://forum.ansible.com/t/proper-use-of-linear-module-not-linear-strategy/29637>\
**Category:** Ansible Project\
**Created:** [February 7, 2019, 4:40pm UTC](https://forum.ansible.com/t/proper-use-of-linear-module-not-linear-strategy/29637 "2019-02-07T16:40:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![John\_Nelson](https://avatars.discourse-cdn.com/v4/letter/j/aca169/32.png) [@John\_Nelson](https://forum.ansible.com/u/John_Nelson)\
**Post date:** [February 7, 2019, 4:40pm UTC](https://forum.ansible.com/t/proper-use-of-linear-module-not-linear-strategy/29637/1 "2019-02-07T16:40:12Z")

</div>

The documentation for the ‘linear’ module is incomplete. It has no examples and no real explanation of the process flow. The explanation that it has does not make sense to me.  
Can someone give me a good example of using the ‘linear’ module. Does it take a list of roles, or is it used like ‘block’ with a list of tasks, or something else?  
Note, I am not talking about the linear strategy.

---

<div class="post-metadata">

**Author:** ![Kai\_Stian\_Olstad](https://avatars.discourse-cdn.com/v4/letter/k/e19adc/32.png) [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Post date:** [February 7, 2019, 6:04pm UTC](https://forum.ansible.com/t/proper-use-of-linear-module-not-linear-strategy/29637/2 "2019-02-07T18:04:04Z")

</div>

There is no module in Ansible called linear, only the strategy plugins has that name.

All modules in Ansible is listed here  
[https://docs.ansible.com/ansible/latest/modules/list\_of\_all\_modules.html](https://docs.ansible.com/ansible/latest/modules/list_of_all_modules.html)

A search in the source code  
$ find git/ansible/ -iname '\*linear\*'  
git/ansible/test/units/plugins/strategy/test\_strategy\_linear.py  
git/ansible/test/integration/targets/strategy\_linear  
git/ansible/lib/ansible/plugins/strategy/linear.py

Just the linear strategy

---

<div class="post-metadata">

**Author:** ![John\_Nelson](https://avatars.discourse-cdn.com/v4/letter/j/aca169/32.png) [@John\_Nelson](https://forum.ansible.com/u/John_Nelson)\
**Post date:** [February 7, 2019, 6:30pm UTC](https://forum.ansible.com/t/proper-use-of-linear-module-not-linear-strategy/29637/3 "2019-02-07T18:30:08Z")

</div>

Sorry, my mistake. Thanks.
