Skip to content

Commit

Permalink
change hosts to hetzner
Browse files Browse the repository at this point in the history
  • Loading branch information
FluxST committed Jul 25, 2023
1 parent 50455fa commit d905d79
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 10 deletions.
9 changes: 5 additions & 4 deletions hosts.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[app2]
51.75.126.169 ansible_user=ubuntu #SG-1
95.217.16.37 ansible_user=root #FN-1
5.161.41.40 ansible_user=root #US-1

[app]
54.39.96.236 ansible_user=ubuntu # CA-1
51.178.29.1 ansible_user=ubuntu # FR-1
51.79.145.47 ansible_user=ubuntu # SG-1
5.161.203.77 ansible_user=root # US-1
37.27.18.78 ansible_user=root # FN-1
178.128.30.247 ansible_user=root # SG-1
18 changes: 12 additions & 6 deletions powerdns_setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,22 +113,28 @@
set_fact:
APP_LIST:
- START: "a"
END: "z"
END: "m"
IPs: ["fdm-lb-2-1.runonflux.io"]
- START: "n"
END: "z"
IPs: ["fdm-lb-2-2.runonflux.io"]
when: DEPLOY_ENV == 'staging'

- name: Set variables for PRODUCTION
set_fact:
APP_LIST:
- START: "a"
END: "i"
END: "g"
IPs: ["fdm-lb-1-1.runonflux.io"]
- START: "j"
END: "r"
- START: "h"
END: "n"
IPs: ["fdm-lb-1-2.runonflux.io"]
- START: "s"
END: "z"
- START: "o"
END: "u"
IPs: ["fdm-lb-1-3.runonflux.io"]
- START: "v"
END: "z"
IPs: ["fdm-lb-1-4.runonflux.io"]
when: DEPLOY_ENV != 'staging'

- name: Copy multiple files to remote server
Expand Down

0 comments on commit d905d79

Please sign in to comment.