Update inventory with dev1 host configuration
- Added dev1 host to dev group for testing - Configured SSH key authentication for ben user - Tested Ansible playbook successfully on dev1 - System update completed with 2 changes
This commit is contained in:
parent
73c14d9c7f
commit
259a73ae35
|
|
@ -1,7 +1,7 @@
|
||||||
|
[dev]
|
||||||
|
dev1 ansible_host=dev1 ansible_user=ben ansible_become=yes ansible_become_pass=3131
|
||||||
|
|
||||||
[servers]
|
[servers]
|
||||||
# 添加您的服务器信息,例如:
|
|
||||||
# server1 ansible_host=192.168.1.10 ansible_user=root
|
|
||||||
# server2 ansible_host=192.168.1.11 ansible_user=ubuntu ansible_become=yes
|
|
||||||
localhost ansible_connection=local
|
localhost ansible_connection=local
|
||||||
|
|
||||||
[all:vars]
|
[all:vars]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue