Remove old entries from Makefile
This commit is contained in:
parent
3cea4f6076
commit
14889f5594
1 changed files with 13 additions and 16 deletions
18
Makefile
18
Makefile
|
|
@ -7,21 +7,11 @@ PWD := $(shell pwd)
|
|||
|
||||
.FORCE:
|
||||
|
||||
./inventory/group_vars/all/all_services.yml: .FORCE
|
||||
tofu output --json services \
|
||||
| yq -y '{all_services: .}' \
|
||||
> ./inventory/group_vars/all/all_services.yml
|
||||
|
||||
./inventory/group_vars/all/opentofu.yml: .FORCE
|
||||
tofu output --json \
|
||||
| yq -y '{opentofu: with_entries(.value |= .value)}' \
|
||||
> ./inventory/group_vars/all/opentofu.yml
|
||||
|
||||
./dns/hosts.json: .FORCE
|
||||
tofu output --json hosts \
|
||||
> ./dns/hosts.json
|
||||
|
||||
./dns/services.json: ./inventory/group_vars/all/all_services.yml
|
||||
./dns/services.json: .FORCE
|
||||
ansible-playbook \
|
||||
-e services_json_file=$(PWD)/dns/services.json \
|
||||
playbooks/create-services-for-dnscontrol.yml
|
||||
|
|
@ -31,11 +21,7 @@ PWD := $(shell pwd)
|
|||
> ./dns/dkim-ses.json
|
||||
|
||||
|
||||
output-dns: ./dns/hosts.json ./dns/services.json ./dns/dkim-ses.json
|
||||
|
||||
output-ansible: ./inventory/group_vars/all/opentofu.yml
|
||||
|
||||
output: output-dns output-ansible
|
||||
output: ./dns/hosts.json ./dns/services.json ./dns/dkim-ses.json
|
||||
|
||||
./types-dnscontrol.d.ts:
|
||||
dnscontrol write-types
|
||||
|
|
|
|||
Loading…
Reference in a new issue