-
-
Save wyw/32ed82c3ba1e0b200276754e67e490f8 to your computer and use it in GitHub Desktop.
Revisions
-
alces revised this gist
May 23, 2016 . 1 changed file with 11 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,17 +1,24 @@ * using Ansible command line: ```bash ansible-playbook --connection=local 127.0.0.1 playbook.yml ``` * using inventory: ```ini 127.0.0.1 ansible_connection=local ``` * using Ansible configuration file: ```ini [defaults] transport = local ``` * using playbook header: ```yaml - hosts: 127.0.0.1 connection: local -
alces created this gist
May 23, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ 1. using Ansible command line: ```bash ansible-playbook --connection=local 127.0.0.1 playbook.yml ``` 2. using inventory: ```ini 127.0.0.1 ansible_connection=local ``` 3. using Ansible configuration file: ```ini [defaults] transport = local ``` 4. using playbook header: ```yaml - hosts: 127.0.0.1 connection: local ```