- Check if playbook exists
$ cd ../../; ls playbook-create-directory.yaml
playbook-create-directory.yaml
- Run the playbook
$ ansible-playbook playbook-create-directory.yaml
- Run the playbook with required tags
$ ansible-playbook playbook-create-directory.yaml --tags="set-user,create-dir"