dotfiles/Makefile
Matej Focko b9198dcc7d
Install dependency for ansible on Fedora from RPM
Closes #6

Signed-off-by: Matej Focko <me@mfocko.xyz>
2020-10-31 15:51:16 +01:00

22 lines
508 B
Makefile

.PHONY: fedora-deps deps fedora-bootstrap gpg keys
ANSIBLE_PYTHON := /usr/bin/python3
AP := ansible-playbook -vv -K -c local -i localhost, -e ansible_python_interpreter=$(ANSIBLE_PYTHON)
fedora-bootstrap:
$(AP) playbooks/fedora.yml
fedora-release-upgrade:
$(AP) playbooks/fedora_upgrade.yml
deps:
ansible-galaxy collection install community.general
fedora-deps:
sudo dnf install -y ansible ansible-collection-community-general
gpg:
bash scripts/generate_gpg.sh
keys:
bash scripts/export_keys.sh