11
11
12
12
# some basic default values...
13
13
14
- hostfile = ./inventories/molecule/ansible_inventory
14
+ inventory = ./inventories/molecule/ansible_inventory
15
15
# library = /usr/share/my_modules/
16
16
remote_tmp = $HOME/.ansible/tmp
17
17
pattern = *
18
18
forks = 50
19
19
poll_interval = 15
20
- sudo_user = root
21
- # ask_sudo_pass = True
22
- # ask_sudo_pass = True
20
+ become_user = root
21
+ # ask_become_pass = True
22
+ # ask_become_pass = True
23
23
# ask_pass = True
24
24
transport = smart
25
25
# remote_port = 22
26
- module_lang = C
26
+ # module_lang = C
27
27
28
28
# plays will gather facts by default, which contain information about
29
29
# the remote system.
@@ -39,11 +39,11 @@ roles_path = ./.imported_roles:./roles
39
39
# uncomment this to disable SSH key host checking
40
40
# host_key_checking = False
41
41
42
- # change this for alternative sudo implementations
43
- sudo_exe = sudo
42
+ # change this for alternative become implementations
43
+ become_exe = sudo
44
44
45
- # what flags to pass to sudo
46
- # sudo_flags = -H
45
+ # what flags to pass to become
46
+ # becom_flags = -H
47
47
48
48
# SSH timeout
49
49
timeout = 10
@@ -59,9 +59,9 @@ timeout = 10
59
59
# default module name for /usr/bin/ansible
60
60
# module_name = command
61
61
62
- # use this shell for commands executed under sudo
62
+ # use this shell for commands executed under become
63
63
# you may need to change this to bin/bash in rare instances
64
- # if sudo is constrained
64
+ # if become is constrained
65
65
# executable = /bin/sh
66
66
67
67
# if inventory variables overlap, does the higher precedence one win
@@ -168,7 +168,7 @@ vault_password_file = vault.key
168
168
# host key checking setting above.
169
169
# record_host_keys=False
170
170
171
- # by default, Ansible requests a pseudo-terminal for commands executed under sudo . Uncomment this
171
+ # by default, Ansible requests a pseudo-terminal for commands executed under become . Uncomment this
172
172
# line to disable this behaviour.
173
173
# pty=False
174
174
0 commit comments