-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathansible.cfg
More file actions
43 lines (33 loc) · 1.04 KB
/
ansible.cfg
File metadata and controls
43 lines (33 loc) · 1.04 KB
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
[defaults]
#--- General settings
forks = 5
log_path = /var/log/ansible.log
module_name = command
executable = /bin/bash
ansible_managed = Ansible managed
#--- Files/Directory settings
inventory = /etc/ansible/hosts
library = /usr/share/my_modules
remote_tmp = ~/.ansible/tmp
local_tmp = ~/.ansible/tmp
roles_path = /etc/ansible/roles
#--- Users settings
remote_user = root
sudo_user = root
ask_pass = no
ask-sudo_pass = no
#--- SSH settings
remote_port = 22
timeout = 10
ssh_executable = /usr/bin/ssh
private_key_file = ~/.ssh/id_rsa
host_key_checking = False
[privilege_scalation]
become = yes
become_method = sudo
become_user = root
become_ask_pass = False
[ssh_connection]
scp_if_ssh = smart
transfer_method = smart
retries = 3