1. 10 Mar, 2015 1 commit
    • preliminary privlege escalation unification + pbrun · bce4bb2c
      - become constants inherit existing sudo/su ones
      - become command line options, marked sudo/su as deprecated and moved sudo/su passwords to runas group
      - changed method signatures as privlege escalation is collapsed to become
      - added tests for su and become, diabled su for lack of support in local.py
      - updated playbook,play and task objects to become
      - added become to runner
      - added whoami test for become/sudo/su
      - added home override dir for plugins
      - removed useless method from ask pass
      - forced become pass to always be string also uses to_bytes
      - fixed fakerunner for tests
      - corrected reference in synchronize action plugin
      - added pfexec (needs testing)
      - removed unused sudo/su in runner init
      - removed deprecated info
      - updated pe tests to allow to run under sudo and not need root
      - normalized become options into a funciton to avoid duplication and inconsistencies
      - pushed suppored list to connection classs property
      - updated all connection plugins to latest 'become' pe
      
      - includes fixes from feedback (including typos)
      - added draft docs
      - stub of become_exe, leaving for future v2 fixes
      Brian Coca committed
  2. 26 Feb, 2015 1 commit
  3. 18 Feb, 2015 1 commit
  4. 17 Feb, 2015 1 commit
  5. 12 Feb, 2015 1 commit
  6. 29 Jan, 2015 1 commit
    • Make AnsibleError a plain ol' exception · 372a2974
      Python's Exception constructor already takes a `message` as a parameter,
      which you can then get at by doing str(e) (e.message was deprecated).
      
      The reason I bothered to make this change was because I was debugging
      with pdb and I noticed that AnsibleErrors don't give useful information
      in pdb (probably because they don't have a __repr__ method that prints
      the `msg` attribute).
      
          (Pdb) c
          > /Users/marca/dev/git-repos/ansible/lib/ansible/runner/__init__.py(599)_executor()
          -> msg = str(ae)
          (Pdb) ae
          AnsibleError()
      Marc Abramowitz committed
  7. 04 Dec, 2014 2 commits
  8. 25 Nov, 2014 1 commit
    • minor fixes to template function · 7d2937b1
      - make sure it calls itself correctly, now passes same params as it recieves
      - vars is reserved, changed for templatevars to avoid confustion
      - forcing mustaches again since the removal broke 'listification' as per #9622
      - fixes incorrectly successful tests using undefined var, now it is defined
      - now returns empty list if items is None to avoid errors
      Brian Coca committed
  9. 17 Nov, 2014 1 commit
  10. 12 Nov, 2014 1 commit
  11. 07 Nov, 2014 1 commit
  12. 09 Oct, 2014 1 commit
  13. 08 Oct, 2014 1 commit
  14. 30 Sep, 2014 2 commits
  15. 27 Sep, 2014 1 commit
  16. 11 Sep, 2014 2 commits
  17. 10 Sep, 2014 1 commit
  18. 05 Sep, 2014 1 commit
  19. 22 Aug, 2014 3 commits
  20. 21 Aug, 2014 5 commits
  21. 12 Aug, 2014 1 commit
  22. 11 Aug, 2014 2 commits
  23. 08 Aug, 2014 1 commit
  24. 04 Aug, 2014 2 commits
  25. 29 Jul, 2014 1 commit
  26. 28 Jul, 2014 1 commit
  27. 25 Jul, 2014 3 commits