---
title: "Discussion on \"Ansible Strategies\" | Hashnode"
description: "Discussion on \"Ansible Strategies\". Ansible strategy defines how a playbook is executed in ansible.\n\n---\n# sample ansible playbook (strategies)\n- name: Deploy a web application\n  hosts: server1\n  tasks:\n    - name: Install dependencies\n      #-----<Some Code>-----\n    - name: Install M..."
url: "https://hashnode.com/posts/ansible-strategies/63e66349d006a1ff4d5faabb"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Ansible Strategies](https://devopswithcj.com/ansible-strategies?utm_source=hashnode&utm_medium=feed)

Ansible strategy defines how a playbook is executed in ansible. --- # sample ansible playbook (strategies) - name: Deploy a web application hosts: server1 tasks: - name: Install dependencies #-----<Some Code>----- - name: Install M...

Feb 10, 2023 · 4 min read · devopswithcj.com  
Read the article

-   [#ansible](https://hashnode.com/tag/ansible)

## Written by

[Chandan Joshi](https://hashnode.com/@ChandanJoshi)

@ChandanJoshi

  
[View profile](https://hashnode.com/@ChandanJoshi)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
