-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
executable file
·35 lines (26 loc) · 1.09 KB
/
Makefile
File metadata and controls
executable file
·35 lines (26 loc) · 1.09 KB
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
35
ifneq (,$(wildcard ./.env.dev))
include .env.dev
export
endif
run:
ANSIBLE_CONFIG=${ANSIBLE_CONFIG} ./bin/dot-bootstrap
run-taskserver:
ANSIBLE_CONFIG=ansible.cfg ansible-playbook ./taskserver.yml
# We actually need sudo for both.
reload-keyszer:
ANSIBLE_CONFIG=ansible.cfg ./bin/dot-bootstrap keyszer
systemctl restart keyszer
# TODO: Move to snakemake and add optional param for host.
vault-edit-salt .vault_pass.py ./group_vars/salt/vault:
ANSIBLE_CONFIG=ansible.cfg ansible-vault edit --vault-password-file ./.vault_pass.py ./group_vars/salt/vault
vault-edit-MikhailLermontov .vault_pass.py ./host_vars/MikhailLermontov/vault:
ANSIBLE_CONFIG=ansible.cfg ansible-vault edit --vault-password-file ./.vault_pass.py ./host_vars/MikhailLermontov/vault
install requirements.yml:
ansible-galaxy install -r requirements.yml
# TODO: Move to snakemake and add optional param for host.
facts:
ANSIBLE_CONFIG=ansible.cfg ansible localhost -m ansible.builtin.setup
facts-MikhailLermontov:
ANSIBLE_CONFIG=ansible.cfg ansible MikhailLermontov -m ansible.builtin.setup
config:
ansible-config dump