Add 'ansible/hosts.yml'
This commit is contained in:
parent
c00088ab54
commit
42ce5021d0
23
ansible/hosts.yml
Normal file
23
ansible/hosts.yml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
all:
|
||||||
|
|
||||||
|
children:
|
||||||
|
|
||||||
|
my_host:
|
||||||
|
|
||||||
|
hosts:
|
||||||
|
|
||||||
|
HOST_IP OR NAME:
|
||||||
|
|
||||||
|
user: user_this
|
||||||
|
|
||||||
|
user_passwd: "{{ ap1_user_passwd }}"
|
||||||
|
|
||||||
|
ansible_sudo_passwd: "{{ ap1_sudo_passwd }}"
|
||||||
|
|
||||||
|
root_passwd: "{{ ap1_root_passwd }}"
|
||||||
|
|
||||||
|
ssh_port: "xxxx"
|
||||||
|
|
||||||
|
ssh_pub_key: "{{ lookup('file', '~/.ssh/id_rsa.pub') }}"
|
||||||
|
|
||||||
|
cfg_static_network: false
|
||||||
Loading…
Reference in New Issue
Block a user