Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit fdc7403d authored by freezed's avatar freezed :mountain:
Browse files

:wrench: Improve Makefile

parent b379938b
No related branches found
No related tags found
No related merge requests found
EDITOR = geany
help: # Print help on Makefile
@grep '^[^.#]\+:\s\+.*#' Makefile | \
sed "s/\(.\+\):\s*\(.*\) #\s*\(.*\)/`printf "\e[1;33;4;40m"`\1`printf "\033[0m"` \3/" | \
expand -t20
clean:
# Remove files not in source control
find . -type f -name "*.retry" -delete
clean: # Remove files not tracked in source control
find . -type f -name "*.orig" -delete
open_all:
open_all: # Open all projects files
${EDITOR} .gitignore inv* Makefile README.md
${EDITOR} tasks/*.yml
${EDITOR} tasks/files/sshd_config
......@@ -18,5 +19,5 @@ open_all:
${EDITOR} tasks/user_cfg/vars/*.yml
${EDITOR} tasks/vars/*.yml
inventory_generation:
gen_invent: # Generate base inventory
cp inventory.sample inventory && ${EDITOR} inventory
......@@ -28,6 +28,6 @@ Suitable for server and workstation.
-------------
1. Setup your `inventory` file from [`inventory.sample`](inventory.sample) :
- `make inventory_generation`
- `make gen_invent`
1. Run `host_info` playbook to `<group_foo>` & `<group_bar>` :
- `ansible-playbook tasks/host_info.yml -i inventory -e host_list=<group_foo>:<group_bar>`
......@@ -18,11 +18,15 @@ base_pkg:
- xkcdpass
- zsh
base_uninstall_pkg: []
base_uninstall_pkg:
- geany-plugin-shiftcolumn
- jq
- httpie
station_pkg:
- ansible
- cheese
- detox
- easytag
- evolution
- evolution-plugins
......@@ -31,7 +35,6 @@ station_pkg:
- geany-plugin-git-changebar
- geany-plugin-markdown
- geany-plugin-prettyprinter
- geany-plugin-shiftcolumn
- geany-plugin-spellcheck
- geany-plugin-workbench
- geany-plugin-xmlsnippets
......@@ -40,9 +43,7 @@ station_pkg:
- gnome-disk-utility
- gpsprune
- hplip
- httpie
- jhead
- jq
- keepassx
- make
- meld
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment