From f30709d7dbe88d82c4df66c476db36cb5c0ce903 Mon Sep 17 00:00:00 2001 From: boom2 Date: Thu, 14 Dec 2023 17:24:25 -0500 Subject: - add "new_host" role for system setup - no longer use "all" to mention all hosts in playbooks - update of hosts file to now use localhost as "test" --- home/.ansible/hosts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'home/.ansible/hosts') diff --git a/home/.ansible/hosts b/home/.ansible/hosts index 27b4d77..cfc850b 100644 --- a/home/.ansible/hosts +++ b/home/.ansible/hosts @@ -1,13 +1,10 @@ # - you will need to define any variables before we define any stanzas # https://docs.ansible.com/ansible/latest/inventory_guide/connection_details.html # https://nixzie.com/run-ansible-playbook-locally/#Run_Ansible_Playbook_Locally_Using_Local_Action - +# https://docs.ansible.com/ansible/latest/reference_appendices/faq.html#how-do-i-handle-different-machines-needing-different-user-accounts-or-ports-to-log-in-with [test] -192.168.0.220 +localhost ansible_connection=local [dev] 192.168.0.220 - -localhost ansible_connection=local - -- cgit v1.2.3-54-g00ecf