Add playbook and make target

- Adds playbook for switching repositories
- Adds make target for any playbook

Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
Matej Focko 2020-11-12 21:15:52 +01:00
parent 50ecad59b5
commit 2fa41c33d3
No known key found for this signature in database
GPG key ID: DE0CF444096A468D
2 changed files with 13 additions and 0 deletions

View file

@ -22,3 +22,6 @@ gpg:
keys: keys:
bash scripts/export_keys.sh bash scripts/export_keys.sh
%.yml:
$(AP) $@

View file

@ -0,0 +1,10 @@
---
- name: Fedora repository setup
hosts: all
roles:
- role: fedora/repositories
become: yes
become_method: sudo
vars:
# set to "local" or "remote"
source: "local"