Add ansiblehost config, move remote user
This commit is contained in:
parent
db9a8d00e0
commit
8467907660
@ -1,6 +1,5 @@
|
||||
[defaults]
|
||||
inventory = inventory
|
||||
remote_user = ubuntu
|
||||
private_key_file = ~/.ssh/ansible
|
||||
ssh_extra_args =-o ForwardAgent=yes -o StrictHostKeyChecking=no
|
||||
host_key_checking = false
|
||||
|
8
ansiblehost-config.cfg
Normal file
8
ansiblehost-config.cfg
Normal file
@ -0,0 +1,8 @@
|
||||
[defaults]
|
||||
inventory = inventory
|
||||
private_key_file = ~/.ssh/ansible
|
||||
ssh_extra_args =-o ForwardAgent=yes -o StrictHostKeyChecking=no
|
||||
host_key_checking = false
|
||||
deprecation_warnings = false
|
||||
pipelining = true
|
||||
interpreter_python = python3
|
@ -1,6 +1,8 @@
|
||||
#!/usr/bin/ansible-playbook
|
||||
# vim:ft=ansible:
|
||||
all:
|
||||
vars:
|
||||
ansible_user: ubuntu
|
||||
children:
|
||||
ansiblehosts:
|
||||
hosts:
|
||||
|
Loading…
Reference in New Issue
Block a user