Home > Storage > PowerMax and VMAX > Storage Admin > Dell PowerMax: Ansible Modules Best Practices > Getting started with playbooks
To create a playbook for controlling your storage arrays, first create a .yml or .yaml file that will be the playbook that is run with the Ansible-playbook command. This YAML file will be used to write the tasks for your playbook and control the order of operations.
Best Practice: When you are working with playbooks for defined services, version control systems (VCS) are useful. Storing playbooks on a VCS system such as Git or Mercurial is considered a good practice to ensure that only approved playbooks are ever run in a production environment. Adopting continuous integration and delivery practices for infrastructure configuration can help ensure the highest level of service and satisfaction.
Creating a playbook requires you to fill out the sections as shown in Figure 4. After you have filled out the basics, you can start writing the tasks for your playbook.
The official Ansible documentation has some great tips for getting started with playbooks. We recommend that you review that information in addition to the details in this white paper. Dell Technologies also provides sample playbooks for common functions on the Dell GitHub page. These samples are used throughout this white paper to provide practical examples.