Commit Graph

13160 Commits (340b845c38b646de05ea4397832959b614d2953d)
 

Author SHA1 Message Date
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 2d75199d83 Fix doc error about nested groups 13 years ago
Michael DeHaan e485aec355 Rebuild 13 years ago
Michael DeHaan f0d9f9652c Document inventory format upgrades in 0.4 13 years ago
Michael DeHaan 1a00e2635e Further work on making the YAML inventory parser use the new inventory objects. 13 years ago
Michael DeHaan 7f5c1b8f02 Temporary note about YAML support in 0.4, in case anyone tries it, coming back very very soon! 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
Michael DeHaan 99a7522b03 Update devel branch version in RPM spec. 13 years ago
Seth Vidal 81418afbbb fix up service module to make it start processes that are listed to be
running and to report errors from starting them
13 years ago
Michael DeHaan eadc78549f Rebuild 13 years ago
Michael DeHaan 0dcbffe784 Merge branch 'minor_edits' of https://github.com/johncallender/ansible.github.com
Conflicts:
	rst/modules.rst
13 years ago
Michael DeHaan 2f04126ea8 Merge pull request #94 from wgjohnson/master
Change the 'name' value for Playbook's variable example
13 years ago
Wes Johnson 77f33a70ba remove old dest entries 13 years ago
Wes Johnson b06c4a1618 rewrite file's 'dest' argument
Previously, there were two entries for 'dest'. I've combined them in a
way that makes sense to me.

This will be superfluous when 'path' is made. Ideally, I'd like to see
'path' have the bulk of the definition, and 'dest' to be an alias to
'path'.
13 years ago
Wes Johnson 8f165e1d3c Revert "ignore eclipse's .project file"
This reverts commit 21550f6586.
13 years ago
Wes Johnson 21550f6586 ignore eclipse's .project file 13 years ago
Wes Johnson dfd671d60e change 'name' to a better description for variable example.
'make a directory' is a bad description, since the command "template …"
doesn't actually create a directory.
13 years ago
Michael DeHaan 5954a7d8cc Merge pull request #88 from sfromm/selinux
Update file documentation for se* options
13 years ago
Michael DeHaan 449c60153c Merge pull request #90 from pas256/patch-1
Add UID to user module documentation
13 years ago
Peter Sankauskas 01576f9447 Add UID to user module documentation 13 years ago
Stephen Fromm 2059c5f657 Update file documentation for se* options
Describes how you can use '_default' to seuser, serole, setype, and
selevel to use the default context from the policy, if available.
13 years ago
John Callender 26c141e96e Issue #84: Doc tweaks for modules, moduledev, and playbooks 13 years ago
John Callender b247da54f1 Issue #82: Minor edits to doc text and formatting 13 years ago
Michael DeHaan 1c5f5acadf Rebuild 13 years ago
Michael DeHaan 0c2dd7b057 Clarify include section 13 years ago
Michael DeHaan b300aac551 Include files are no longer to be considered Jinja2 templates, but individual THINGS
in included files can still be templated just like top level playbooks.  Resolves
some issues about statements being evaluated before facts were available
13 years ago
Michael DeHaan 16c4802476 Docs rebuild 13 years ago
Michael DeHaan 139a1324e9 Allude to ansible-pull, more docs coming later. 13 years ago
Michael DeHaan adca320490 Change defaults so people have to make conscious decisions about pull setup. 13 years ago