ТИ
Size: a a a
ТИ
TG
TG
ansible_password
сервера db (сейчас прописано как я пробовал и оно ожидаемо не заработало) получить значение ansible_password
сервера app?all:
children:
app:
hosts:
192.168.1.1:
ansible_user: usik
ansible_password: parolik
ansible_sudo_pass: "{{ ansible_password }}"
db:
hosts:
192.168.1.2:
ansible_user: usik_2
ansible_password: "{{ app.hosts.192.168.1.1.ansible_password }}"
ansible_sudo_pass: "{{ ansible_password }}"
PK
The error was: ConnectTimeout: HTTPConnectionPool(host='srv', port=5985): Max retries exceeded with url: /wsman (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7f51ecd341d0>, 'Connection to srv timed out. (connect timeout=30)мне надо асинхронку включить и повышенным временем ожидания?
- name: run dsc configuration
win_shell: Start-DscConfiguration -Path 'C:\scripts' -Wait
register: run_dsc_configuration_result
- name: wait for network team is up
wait_for_connection:
PK
TG
The error was: ConnectTimeout: HTTPConnectionPool(host='srv', port=5985): Max retries exceeded with url: /wsman (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7f51ecd341d0>, 'Connection to srv timed out. (connect timeout=30)мне надо асинхронку включить и повышенным временем ожидания?
- name: run dsc configuration
win_shell: Start-DscConfiguration -Path 'C:\scripts' -Wait
register: run_dsc_configuration_result
- name: wait for network team is up
wait_for_connection:
TG
s
PK
PK
s
PK
PK
PK