- 积分
- 16840
在线时间 小时
最后登录1970-1-1
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?开始注册
x
TASK [prechecks : Checking empty passwords in passwords.yml. Run kolla-genpwd if this task fails] ***************************************************************************************************************
# a/ X6 l3 \1 g G" hfatal: [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 %}"}) x, g! r; ?0 h9 V4 b1 J
1 i7 _9 R4 X2 y9 ?修改下 文件:
6 E1 t4 w4 \3 f3 k, `$ ~5 L, Evim multinode
; K. O1 T( h# | r: w' }/ G( K/ a; Q) O2 c
[deployment]
- h' L! q6 p5 |2 h9 w#localhost ansible_connection=local( o+ U( k& q" }; \; ?
取消注释:
# x5 X' E `. |( u; E$ G+ r8 F: vlocalhost ansible_connection=local$ t9 E9 }1 ?* L# ]0 ~' ?
m7 \8 {: W) R' g7 H9 T, P
T/ c. ~- {$ F+ d1 S; J' L' e0 k# K: u+ _& e1 o9 W4 d" G
另外地址需要修改& d q7 H! m: {2 X/ I
globals.yml文件
! s8 v* |" ]1 [7 `; C7 A' E/ E$ U中的ip地址
& o/ C0 M* j5 i& j* {重新执行命令即可: G8 @- ^# d, j2 {2 m6 E1 A+ X
% d! U) s4 b* Z
& i. g0 ^0 f# P. K3 K" ~# W9 _0 @$ J0 P
|
|