Setup
ansible-galaxy install -r requirements.yml ansible-galaxy collection install community.general
Call with
ansible-playbook -i inventory httpd.yml
You need to provide a user with sudo rights.