Reorganize Makefile
Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
parent
b9198dcc7d
commit
50ecad59b5
1 changed files with 8 additions and 6 deletions
14
Makefile
14
Makefile
|
@ -3,18 +3,20 @@
|
||||||
ANSIBLE_PYTHON := /usr/bin/python3
|
ANSIBLE_PYTHON := /usr/bin/python3
|
||||||
AP := ansible-playbook -vv -K -c local -i localhost, -e ansible_python_interpreter=$(ANSIBLE_PYTHON)
|
AP := ansible-playbook -vv -K -c local -i localhost, -e ansible_python_interpreter=$(ANSIBLE_PYTHON)
|
||||||
|
|
||||||
|
deps:
|
||||||
|
ansible-galaxy collection install community.general
|
||||||
|
|
||||||
|
# Fedora
|
||||||
|
fedora-deps:
|
||||||
|
sudo dnf install -y ansible ansible-collection-community-general
|
||||||
|
|
||||||
fedora-bootstrap:
|
fedora-bootstrap:
|
||||||
$(AP) playbooks/fedora.yml
|
$(AP) playbooks/fedora.yml
|
||||||
|
|
||||||
fedora-release-upgrade:
|
fedora-release-upgrade:
|
||||||
$(AP) playbooks/fedora_upgrade.yml
|
$(AP) playbooks/fedora_upgrade.yml
|
||||||
|
|
||||||
deps:
|
# Scripts
|
||||||
ansible-galaxy collection install community.general
|
|
||||||
|
|
||||||
fedora-deps:
|
|
||||||
sudo dnf install -y ansible ansible-collection-community-general
|
|
||||||
|
|
||||||
gpg:
|
gpg:
|
||||||
bash scripts/generate_gpg.sh
|
bash scripts/generate_gpg.sh
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue