Skip to content

Commit 788cdc1

Browse files
committed
enable proxy for plays only for stackhpc env
1 parent b8d890f commit 788cdc1

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

environments/.stackhpc/inventory/extra_groups

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,8 @@ cluster
5353

5454
[compute_init:children]
5555
compute
56+
57+
# DO NOT MERGE:
58+
# turn on proxying for the cluster
59+
[proxy:children]
60+
cluster
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# DO NOT MERGE:
2+
# proxy is steveb-dev on sussex-slurm-data: can't use common default, that's hostname which isn't in /etc/hosts
3+
# TODO: actually need to add username:password@ in here ...
4+
# TODO: maybe add some quotes to this?
5+
proxy_http_proxy: "http://{{ hostvars[groups['squid'] | first].ansible_host }}:{{ squid_http_port }}"
6+
proxy_plays_only: true

0 commit comments

Comments
 (0)