|
|
TASK [prechecks : Checking empty passwords in passwords.yml. Run kolla-genpwd if this task fails] ***************************************************************************************************************! L. }8 G# Y& |9 T. n5 M& B
fatal: [controller1 -> localhost]: FAILED! => {"msg": "The conditional check 'result.stdout | regex_replace('(.*ssh_key.*)', '') | search(\":\")' failed. The error was: template error while templating string: no filter named 'search'. String: {% if result.stdout | regex_replace('(.*ssh_key.*)', '') | search(\":\") %} True {% else %} False {% endif %}"}' c7 @- Q/ Y$ |+ P& ^/ X
9 U' t/ F5 J3 z修改下 文件:
" L+ A& \0 ` T: Q8 zvim multinode
+ q q+ x. n N) n U8 |: d
8 E K$ W9 \* p' `: m+ M[deployment]3 T8 d( C3 d, \" I
#localhost ansible_connection=local- i7 B9 d- D3 o# g( ^
取消注释:
& F# ?, s; f; C l& Q/ ] {localhost ansible_connection=local% X$ G9 B) ~$ E; u7 C
7 x! y8 b- _ {% _( {# a5 e/ j0 g& g$ G2 U
3 ^/ l% y. a0 @1 _5 ?
另外地址需要修改
8 a' ~3 S2 Q$ _$ n/ Z- e$ gglobals.yml文件
/ `% y: O9 r. f7 h中的ip地址& X, M7 a% d! \. ]7 V: L
重新执行命令即可
) T: b; D- O& I% |# {( g1 h$ @
9 \7 f8 x' F) T. \& J+ D! l- X# {; ?# ]3 Z
. b/ U, K: o( `3 K7 W* b+ _
|
|