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 c2c30e74 authored by freezed's avatar freezed :mountain:
Browse files

:recycle: Backport base code from stable

parent 461b083d
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
clean: # Remove files not tracked in source control
find . -type f -name "*.retry" -delete
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 +20,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
......@@ -27,6 +27,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>`
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