mirror of
https://github.com/HanXHX/ansible-mysql.git
synced 2026-10-23 04:54:04 +07:00
Fix script and variables
This commit is contained in:
1 parent
5e38bc02a0
commit
1b58f143fa
5 files changed
+5
-5
No files matched your search
+1
-1
@@ -27,7 +27,7 @@ foreach my $n (@a)
|
|||||||
{
|
{
|
||||||
my @data = split(/-/, $n);
|
my @data = split(/-/, $n);
|
||||||
printf(
|
printf(
|
||||||
'["%s", "deb/%s-amd64", "%s", [%s]],' . "\n",
|
'["%s", "debian/%s64", "%s", [%s]],' . "\n",
|
||||||
$n,
|
$n,
|
||||||
$data[0],
|
$data[0],
|
||||||
long2ip($iip),
|
long2ip($iip),
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
his_master: '192.168.200.22'
|
his_master: '192.168.200.16'
|
||||||
@@ -1 +1 @@
|
|||||||
his_master: '192.168.200.16'
|
his_master: '192.168.200.10'
|
||||||
@@ -1 +1 @@
|
|||||||
his_master: '192.168.200.18'
|
his_master: '192.168.200.12'
|
||||||
@@ -1 +1 @@
|
|||||||
his_master: '192.168.200.20'
|
his_master: '192.168.200.14'
|
||||||
Reference in new issue
Block a user