Ansible Roles Simplified

In this video I go over Ansible roles with a example installing and configuring apache http server.

requirements.yml

#ansible-galaxy  install -r requirements.yml  --roles-path ansible/roles/

roles:
  - src: https://github.com/thenathan-dot-net/ansibleroles.git
    name: apache

collections:
  # Install a collection from Ansible Galaxy.
  - name: community.libvirt
    source: https://galaxy.ansible.com
  - name: ansible.posix
    source: https://galaxy.ansible.com
  - name: community.general
    source: https://galaxy.ansible.com