How can you create a new Ansible role?
a) ansible-galaxy init rolename
b) ansible role init rolename
c) ansible-create role rolename
d) ansible-galaxy create rolename
Solution: a) ansible-galaxy init rolename
Explanation: To create a new Ansible role, you can use the ansible-galaxy init rolename command. This will create a new directory structure for the role and provide some basic content.