2020-10-12 17:41:49 +02:00
|
|
|
.PHONY: fedora-deps deps fedora-bootstrap gpg keys
|
2020-10-11 15:09:15 +02:00
|
|
|
|
|
|
|
ANSIBLE_PYTHON := /usr/bin/python3
|
2020-10-17 13:08:55 +02:00
|
|
|
AP := ansible-playbook -vv -K -c local -i localhost, -e ansible_python_interpreter=$(ANSIBLE_PYTHON)
|
2020-10-11 15:09:15 +02:00
|
|
|
|
|
|
|
deps:
|
|
|
|
ansible-galaxy collection install community.general
|
|
|
|
|
2020-10-31 15:54:39 +01:00
|
|
|
# Fedora
|
2020-10-11 15:09:15 +02:00
|
|
|
fedora-deps:
|
2020-10-31 15:51:16 +01:00
|
|
|
sudo dnf install -y ansible ansible-collection-community-general
|
2020-10-11 15:09:15 +02:00
|
|
|
|
2020-10-31 15:54:39 +01:00
|
|
|
fedora-bootstrap:
|
|
|
|
$(AP) playbooks/fedora.yml
|
|
|
|
|
|
|
|
fedora-release-upgrade:
|
|
|
|
$(AP) playbooks/fedora_upgrade.yml
|
|
|
|
|
|
|
|
# Scripts
|
2020-10-11 15:09:15 +02:00
|
|
|
gpg:
|
2020-10-11 20:20:56 +02:00
|
|
|
bash scripts/generate_gpg.sh
|
2020-10-11 20:43:26 +02:00
|
|
|
|
|
|
|
keys:
|
2020-10-17 13:08:55 +02:00
|
|
|
bash scripts/export_keys.sh
|