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:
@@ -1,7 +1,7 @@
|
||||
[dev]
|
||||
dev1 ansible_host=dev1 ansible_user=ben ansible_become=yes ansible_become_pass=3131
|
||||
|
||||
[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
|
||||
|
||||
[all:vars]
|
||||
|
||||
Reference in New Issue
Block a user