Skip to content

Instantly share code, notes, and snippets.

@gregbuehler
Last active December 24, 2015 16:39
Show Gist options
  • Save gregbuehler/6829728 to your computer and use it in GitHub Desktop.
Save gregbuehler/6829728 to your computer and use it in GitHub Desktop.
---
- hosts: all
vars_files:
- "./vagrant_vars.yml"
tasks:
- name: debug
debug: msg="wtf"
mybox:vagrant gbuehler$ ansible-playbook -i vagrant_ansible_inventory_foo ./devops/deploy/foo.yml -U vagrant -u vagrant --private-key=~/.vagrant.d/insecure_private_key -vvvv -c ssh
PLAY [all] ********************************************************************
GATHERING FACTS ***************************************************************
<127.0.0.1> ESTABLISH CONNECTION FOR USER: devops
<127.0.0.1> EXEC ['ssh', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/gbuehler/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=2222', '-o', 'IdentityFile=/Users/gbuehler/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=devops', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p /tmp/ansible-1380908227.6-27305635794255 && chmod a+rx /tmp/ansible-1380908227.6-27305635794255 && echo /tmp/ansible-1380908227.6-27305635794255'"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment