25 lines
435 B
YAML
25 lines
435 B
YAML
all:
|
|
|
|
children:
|
|
|
|
my_host:
|
|
|
|
hosts:
|
|
|
|
new.test.server:
|
|
|
|
user: user_this
|
|
|
|
user_passwd: "{{ new1_user_passwd }}" ##new1 comes from the host name in .ssh/config
|
|
|
|
ansible_sudo_passwd: "{{ new1_sudo_passwd }}"
|
|
|
|
root_passwd: "{{ new1_root_passwd }}"
|
|
|
|
ssh_port: "22"
|
|
|
|
ssh_pub_key: "{{ lookup('file', '~/.ssh/id_rsa.pub') }}"
|
|
|
|
cfg_static_network: false
|
|
|