summaryrefslogtreecommitdiff
path: root/home/.ansible/hosts
diff options
context:
space:
mode:
authorboom2 <blizzack@blizzack.com>2023-12-14 17:24:25 -0500
committerboom2 <blizzack@blizzack.com>2023-12-14 17:24:25 -0500
commitf30709d7dbe88d82c4df66c476db36cb5c0ce903 (patch)
treeca861d7aa3e30c73a4fefeb9186f221cf15a8ff5 /home/.ansible/hosts
parentd8a7729358a2fd3b911022e45d0197fda3e5da94 (diff)
- 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"
Diffstat (limited to 'home/.ansible/hosts')
-rw-r--r--home/.ansible/hosts7
1 files changed, 2 insertions, 5 deletions
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
-