1
0
Nordstrand 3 жил өмнө
parent
commit
bdbb37bd5f

+ 1 - 0
config/automation/ansible.md

@@ -12,6 +12,7 @@ breadcrumbs:
 
 - Run module for host: `ansible all -i <host>, -m <module> [-a <module-arg>]`
     - The comma after the host is required to treat it as a host list literal instead of an inventory file name.
+    - Use `-i localhost, --connection=local` to run locally.
 - Get facts (with optional filter): `ansible all -i <host>, -m setup -a 'filter=ansible_os_*'` (example fact filter)
 
 ### Playbooks