added the a preparing ansible playbooks for automating new servers
This commit is contained in:
10
ansible/preparing-playbook/reza-ansible/inventory/host.yaml
Normal file
10
ansible/preparing-playbook/reza-ansible/inventory/host.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
all:
|
||||
children:
|
||||
repo-servers:
|
||||
hosts:
|
||||
vagrant-test:
|
||||
ansible_host: 127.0.0.1
|
||||
ansible_port: 2222
|
||||
ansible_user: vagrant
|
||||
ansible_ssh_private_key_file: /home/rezayaghobi/vagrant/.vagrant/machines/default/virtualbox/private_key
|
||||
ansible_ssh_common_args: '-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PubkeyAcceptedKeyTypes=+ssh-rsa -o HostKeyAlgorithms=+ssh-rsa'
|
||||
Reference in New Issue
Block a user