Explorar o código

Update ansible.md

Nordstrand %!s(int64=3) %!d(string=hai) anos
pai
achega
bdbb37bd5f
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      config/automation/ansible.md

+ 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