From 3bc45140be6e191311f0723813128666893d2270 Mon Sep 17 00:00:00 2001 From: Kyle Isom Date: Tue, 11 Apr 2023 13:24:55 -0700 Subject: [PATCH] document Makefile variables --- Makefile | 17 +++++++++-------- .../files/{.profile_custom => .profile} | 0 2 files changed, 9 insertions(+), 8 deletions(-) rename roles/dotfiles/files/{.profile_custom => .profile} (100%) diff --git a/Makefile b/Makefile index c165b33..7cf1134 100644 --- a/Makefile +++ b/Makefile @@ -1,16 +1,17 @@ -I := inventory -L := "$(shell hostname -s)" -C := -c local -K := -K -P := site.yml -V := -vvv +I := inventory # inventory file +L := "$(shell hostname -s)" # host limit +C := -c local # connection +K := -K # prompt for sudo password +O := # additional options +P := site.yml # playbook +V := -vvv # verbosity all: deploy check: - ansible-playbook -i $I -l $L $C $K --syntax-check $V $P + ansible-playbook -i $I -l $L $C $K --syntax-check $V $O $P deploy: - ansible-playbook -i $I -l $L $C $K $V $P + ansible-playbook -i $I -l $L $C $K $V $O $P .PHONY: all check deploy diff --git a/roles/dotfiles/files/.profile_custom b/roles/dotfiles/files/.profile similarity index 100% rename from roles/dotfiles/files/.profile_custom rename to roles/dotfiles/files/.profile