1. 23 Feb, 2013 24 commits
  2. 22 Feb, 2013 10 commits
  3. 21 Feb, 2013 5 commits
  4. 20 Feb, 2013 1 commit
    • Add support for running modules chrooted in a local dir · 9a493ef3
      Adds 'chroot' connection for executing modules chrooted to
      a local dir. Requires running ansible as root.
      
      chroot dirs should be specified in the inventory like any
      other host.
      
      You can do things like:
      
      $ sudo -E ansible -vvv -f 1 "./chroot1,./chroot2" -c chroot \
        all -m setup
      $ sudo -E ansible-playbook -vvv -f 1 -i "./chroot1,./chroot2" \
        -c chroot some-playbook.yml
      
      some-playbook.yml:
      ---
      - hosts: all
        tasks:
          - name: echo something
            shell: echo "Yaaay!" >/tmp/foobar.txt
          - name: install less
            apt: pkg=less state=latest
      Maykel Moya committed