Commit Graph

1059 Commits (9efea6f7a229fefbc7ff88d441a8f3fe4f194107)
 

Author SHA1 Message Date
Michael DeHaan adfe6b8589 Merge pull request #335 from sfromm/user
User module fix
13 years ago
Stephen Fromm 73ffec9710 Move import of spwd under a try block
Resolves issue #333.  If spwd is not available, the password will
be set regardless.
13 years ago
Matthew Williams e56023b8bb Template dest and src parameters 13 years ago
Michael DeHaan b5b60ab1b4 changelog update 13 years ago
Michael DeHaan d118cf3e31 Merge pull request #336 from sfromm/issue122
Issue122 - have all modules log to syslog
13 years ago
Michael DeHaan 0fe8e51cb5 Merge pull request #337 from ordrin/devel
Support for branches in git module
13 years ago
Michael DeHaan d149c1823a Merge pull request #339 from mgwilliams/feature-unicode
Allow unicode (utf8) in templates
13 years ago
Stephen Fromm aea022b002 Apply logging of arguments to modules (issue #122)
The ohai and facter modules use /usr/bin/logger to log the fact that
they have been invoked.  I added 'import os' to the ping module
so that it could have the same syslog statements as the other modules.
I separated the condensed:
    shlex.split(open(argfile, 'r').read())
into two separate statements similar to the other modules.
13 years ago
Matthew Williams 43b1727f6a removed debug code 13 years ago
Matthew Williams 39a92f9cd6 allow unicode (utf8) characters in jinja templates 13 years ago
felix 7ee6ae3663 removed unecessary branch addition from switchver 13 years ago
felix c9fafcecbe added in support for branches in git module (now takes optional "branch") 13 years ago
Michael DeHaan 0894206467 Be able to use --extra-vars to set the hosts variable 13 years ago
Michael DeHaan 8e8cde3a2c override hosts gone 13 years ago
Michael DeHaan 07508ad535 Since host variables are becoming important, it did not make sense to sustain --override-hosts, with the ability
to create hosts that didn't have inventory information, but also existed, in various groups.
13 years ago
Michael DeHaan fc300723da Revert "fix indentation"
This reverts commit 42b55a07cd.
13 years ago
Michael DeHaan e1914a0e62 Revert "fix the get_hosts() error in get_groups returning a dict not a list of group objects"
This reverts commit f41fb90d78.
13 years ago
Michael DeHaan 121d7c4ece Merge pull request #329 from skvidal/devel
inventory and indentation
13 years ago
Michael DeHaan 1af461f476 Merge pull request #330 from jhoekx/yaml-inventory-list
Yaml inventory variable list
13 years ago
Jeroen Hoekx e09572a8e1 Inventory: undefined group -> ungrouped.
Also change test name collision.
13 years ago
Jeroen Hoekx d419a13ca7 Inventory: support list of vars in host. 13 years ago
Michael DeHaan 9b741a1d16 Merge pull request #327 from mrproper/devel
Devel - fix issue #315
13 years ago
Brendan Beveridge be32d3b00f Merge remote-tracking branch 'ansible-origin/devel' into devel
Conflicts:
	library/user
13 years ago
Michael DeHaan b460980d7d Merge pull request #324 from lcosmin/devel
Prevent facter stderr messages from confusing ansible
13 years ago
Michael DeHaan 9b1add8c40 Reverting to apply correct attribution. 13 years ago
Michael DeHaan 3a027c2749 Don't let facter spew things to stderr and confuse Ansible, which now blends stdout/stderr due to paramiko
pty usage.

(This commit from lcosmin, manually applied due to github crossup on my part -- MPD)
13 years ago
Michael DeHaan a5a64f089d Merge pull request #326 from pas256/patch-2
Fixing append when user already in desired groups
13 years ago
John Kleint 710d085def Fix non-sudo execution, add --sudo-user to ansible-playbook. 13 years ago
Brendan Beveridge 5059588b17 remove now useless append check in user_mod 13 years ago
Brendan Beveridge 2635195185 Fixes issue #315
This adds some logic when usings groups possibly in combination with append

  if just specifying groups and the current groups do not match the list
     set groups
  if specifying groups with append and any group thats not in the current groups
     set groups with -a
13 years ago
Seth Vidal cd28d82639 fix indentation 13 years ago
Seth Vidal 279e5e4522 fix the get_hosts() error in get_groups returning a dict not a list of group objects 13 years ago
Peter Sankauskas d814136ec9 Code was adding '-a' even when the user was already in the desired groups causing usermod to fail since there was no '-G' option. This is duplicate code (3 lines) from the 'group' section, so could be improved, but it works. 13 years ago
Cosmin Luță fba4d9232d Prevent facter stderr messages from confusing ansible 13 years ago
Michael DeHaan dcbe48e2d4 Update development changelog. 13 years ago
Michael DeHaan eda2333b24 Update manpage to mention -U (--sudo-user). 13 years ago
Michael DeHaan 05545e3735 Fixup the previous sudo_user support patch to work with playbooks. 13 years ago
Jim Richardson 5582e6a4f1 sudo -u works now. Needs testing and maybe a bit of cleanup 13 years ago
Jim Richardson 2cd8d7b5e4 first bit of getting sudo -u functionality 13 years ago
Jim Richardson 8d39ae709c sudo -u works now. Needs testing and maybe a bit of cleanup 13 years ago
Jim Richardson 93a20a33e9 first bit of getting sudo -u functionality 13 years ago
Michael DeHaan 36559badd5 Merge pull request #316 from skvidal/devel
fix up service module to make it start processes that are listed to be
13 years ago
Michael DeHaan f718fc99b7 Add missing file 13 years ago
Michael DeHaan 157d21b1c3 Add tests for new advanced inventory features (groups of groups, group variables) in the default INI format file. 13 years ago
Michael DeHaan 1a00e2635e Further work on making the YAML inventory parser use the new inventory objects. 13 years ago
Michael DeHaan a8f0b5fd06 Fix playbooks such that they work with external inventory scripts. We really want to find out why the 'all'
group isn't available, but group vars don't make sense for external inventory anyway.
13 years ago
Michael DeHaan 256377166a Reinstate external inventory script support this time using the new more OO-ey inventory system.
Next up: YAML format.
13 years ago
Michael DeHaan 5730a29814 missing files 13 years ago
Michael DeHaan 0669ce858a Refactored inventory to make it object oriented, need to make YAML format and executable script
format compatible with this still, and add some tests for INI-style groups of groups
and variables.
13 years ago
Michael DeHaan 39e791a1d3 Log last execution of ansible-pull to /var/log/ansible-pull.log
TODO: logrotate script and append to log instead.
13 years ago