Steps

  1. first git clone this repo
  2. Serve the files either using ftp or http
  3. Create a new repo file like the exemple bellow
[icinga2ami]
name=Icinga2 AMI 2016.03
baseurl=https://your_url_here/repo/AMI/201603/$basearch
enabled=1