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:
parent
50ecad59b5
commit
2fa41c33d3
2 changed files with 13 additions and 0 deletions
3
Makefile
3
Makefile
|
@ -22,3 +22,6 @@ gpg:
|
|||
|
||||
keys:
|
||||
bash scripts/export_keys.sh
|
||||
|
||||
%.yml:
|
||||
$(AP) $@
|
||||
|
|
10
playbooks/fedora_repository.yml
Normal file
10
playbooks/fedora_repository.yml
Normal 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"
|
Loading…
Reference in a new issue