-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (26 loc) · 704 Bytes
/
Makefile
File metadata and controls
34 lines (26 loc) · 704 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
install:
ansible-galaxy install -r requirements.yaml
test:
ansible-lint
decrypt:
ansible-vault decrypt group_vars/all/vault
encrypt:
ansible-vault encrypt group_vars/all/vault
gitinit:
@./git-init.sh
@echo "ansible vault pre-commit hook installed"
@test -f vault.gpg || gpg --gen-random --armor 1 43 | gpg --armor -r $(GPG_ID) -e -o vault.gpg
# ifdef gpg_id
# @echo 'gpg_id is defined $(gpg_id)'
# else
# @echo 'gpg_id is not defined'
# endif
# @./git-init.sh
# @echo "ansible vault pre-commit hook installed"
# @echo "don't forget to create a .vault-password too"
# my_test:
# ifdef toto
# @echo 'toto is defined'
# else
# @echo 'no toto around'
# endif