Set forks for one task in ansible playbook

后端 未结 4 446
一个人的身影
一个人的身影 2021-01-12 17:20

I have one task in my playbook that I want to run on only one host at a time. The rest of the tasks I want to honor the --forks option. Is this possible?

4条回答
  •  情书的邮戳
    2021-01-12 17:46

    use throttle option that allowed number of fork per task that different than defined in command line. Option available only in ansible 2.9

提交回复
热议问题