File: transport_config.hosts

package info (click to toggle)
python-mitogen 0.3.39-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 6,732 kB
  • sloc: python: 24,733; sh: 198; makefile: 74; perl: 19; ansic: 18
file content (87 lines) | stat: -rw-r--r-- 2,684 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# code: language=ini
# vim: syntax=dosini

# integration/transport_config
# Hosts with twiddled configs that need to be checked somehow.

[transport_config:children]
transport_config_undiscover
tc_python_path

[transport_config_undiscover:children]
tc_become
tc_become_method
tc_become_pass
tc_become_user
tc_host_key_checking
tc_password
tc_port
tc_remote_addr
tc_remote_user
tc_transport

[transport_config_undiscover:vars]
# If ansible_*_interpreter isn't set Ansible tries to connect & discover it.
# If that target doesn't exist we must wait $timeout seconds for each attempt.
# Setting a known (invalid) interpreter skips discovery & the many timeouts.
# This optimisation should not be relied in any test.
# Note: tc-python-path-* are intentionally not included.
ansible_python_interpreter = python3000

[tc_transport]
tc-transport-unset
tc-transport-local ansible_connection=local
tc-transport-smart ansible_connection=smart

[tc_python_path]
tc-python-path-unset
tc-python-path-hostvar  ansible_python_interpreter=/hostvar/path/to/python
tc-python-path-local-unset ansible_connection=local
tc-python-path-local-explicit ansible_connection=local ansible_python_interpreter=/a/b/c

[tc_remote_addr]
tc-remote-addr-unset  # defaults to inventory_hostname
tc-remote-addr-explicit-ssh ansible_ssh_host=ansi.ssh.host
tc-remote-addr-explicit-host ansible_host=ansi.host
tc-remote-addr-explicit-both ansible_ssh_host=a.b.c ansible_host=b.c.d

[tc_password]
tc-password-unset
tc-password-explicit-ssh  ansible_ssh_pass=ansi-ssh-pass
tc-password-explicit-pass ansible_password=ansi-pass
tc-password-explicit-both ansible_password=a.b.c ansible_ssh_pass=c.b.a

[tc_remote_user]
tc-remote-user-unset  # defaults to C.DEFAULT_REMOTE_USER
tc-remote-user-explicit-ssh  ansible_ssh_user=ansi-ssh-user
tc-remote-user-explicit-user ansible_user=ansi-user
tc-remote-user-explicit-both ansible_user=a.b.c ansible_ssh_user=c.b.a

[tc_become]
tc-become-unset
tc-become-set

[tc_become_method]
tc-become-method-unset
tc-become-method-su ansible_become_method=su

[tc_become_user]
tc-become-user-unset
tc-become-user-set ansible_become_user=ansi-become-user

[tc_become_pass]
tc-become-pass-unset
tc-become-pass-password ansible_become_password=apassword
tc-become-pass-pass ansible_become_pass=apass
tc-become-pass-both ansible_become_pass=bpass ansible_become_password=bpassword

[tc_host_key_checking]
tc-hkc-unset
tc-hkc-host-key-checking ansible_host_key_checking=true
tc-hkc-ssh-host-key-checking ansible_ssh_host_key_checking=true

[tc_port]
tc-port-unset
tc-port-explicit-port ansible_port=1234
tc-port-explicit-ssh ansible_ssh_port=4321
tc-port-both ansible_port=1717 ansible_ssh_port=1532