ansible-test2

This commit is contained in:
zhangzhihan
2020-02-23 18:54:58 +08:00
parent e8b6f77567
commit 325785e9a6
27 changed files with 143 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
#!/bin/bash
BIND_ADDRESS=$(ifconfig ens1.200 | grep inet | head -1 |awk '{print $2}')
systemctl set-environment CONSUL_BIND_ADDRESS=${BIND_ADDRESS}