Commit Graph

34521 Commits

Author SHA1 Message Date
fc300723da Revert "fix indentation"
This reverts commit 42b55a07cd.
2012-05-07 21:46:45 -04:00
e1914a0e62 Revert "fix the get_hosts() error in get_groups returning a dict not a list of group objects"
This reverts commit f41fb90d78.
2012-05-07 21:46:36 -04:00
121d7c4ece Merge pull request #329 from skvidal/devel
inventory and indentation
2012-05-08 03:54:41 -07:00
1af461f476 Merge pull request #330 from jhoekx/yaml-inventory-list
Yaml inventory variable list
2012-05-08 03:53:46 -07:00
e09572a8e1 Inventory: undefined group -> ungrouped.
Also change test name collision.
2012-05-08 09:44:59 +02:00
d419a13ca7 Inventory: support list of vars in host. 2012-05-08 09:44:29 +02:00
9b741a1d16 Merge pull request #327 from mrproper/devel
Devel - fix issue #315
2012-05-07 18:18:00 -07:00
be32d3b00f Merge remote-tracking branch 'ansible-origin/devel' into devel
Conflicts:
	library/user
2012-05-08 10:33:18 +10:00
b460980d7d Merge pull request #324 from lcosmin/devel
Prevent facter stderr messages from confusing ansible
2012-05-07 17:07:49 -07:00
9b1add8c40 Reverting to apply correct attribution. 2012-05-07 20:07:12 -04:00
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)
2012-05-07 20:05:10 -04:00
a5a64f089d Merge pull request #326 from pas256/patch-2
Fixing append when user already in desired groups
2012-05-07 17:01:50 -07:00
710d085def Fix non-sudo execution, add --sudo-user to ansible-playbook. 2012-05-07 19:58:16 -04:00
5059588b17 remove now useless append check in user_mod 2012-05-08 09:49:37 +10:00
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
2012-05-08 09:43:51 +10:00
cd28d82639 fix indentation 2012-05-07 18:10:52 -04:00
279e5e4522 fix the get_hosts() error in get_groups returning a dict not a list of group objects 2012-05-07 18:09:57 -04:00
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. 2012-05-07 11:35:45 -07:00
fba4d9232d Prevent facter stderr messages from confusing ansible 2012-05-07 18:08:50 +03:00
dcbe48e2d4 Update development changelog. 2012-05-06 18:34:07 -04:00
eda2333b24 Update manpage to mention -U (--sudo-user). 2012-05-06 18:32:43 -04:00
05545e3735 Fixup the previous sudo_user support patch to work with playbooks. 2012-05-06 18:24:45 -04:00
5582e6a4f1 sudo -u works now. Needs testing and maybe a bit of cleanup 2012-05-06 18:24:45 -04:00
2cd8d7b5e4 first bit of getting sudo -u functionality 2012-05-06 18:24:45 -04:00
8d39ae709c sudo -u works now. Needs testing and maybe a bit of cleanup 2012-05-06 18:24:44 -04:00
93a20a33e9 first bit of getting sudo -u functionality 2012-05-06 18:24:44 -04:00
36559badd5 Merge pull request #316 from skvidal/devel
fix up service module to make it start processes that are listed to be
2012-05-06 16:43:20 -07:00
f718fc99b7 Add missing file 2012-05-06 18:02:53 -04:00
157d21b1c3 Add tests for new advanced inventory features (groups of groups, group variables) in the default INI format file. 2012-05-06 18:01:11 -04:00
2d75199d83 Fix doc error about nested groups 2012-05-06 17:16:42 -04:00
e485aec355 Rebuild 2012-05-06 17:14:21 -04:00
f0d9f9652c Document inventory format upgrades in 0.4 2012-05-06 17:13:57 -04:00
1a00e2635e Further work on making the YAML inventory parser use the new inventory objects. 2012-05-06 17:03:17 -04:00
7f5c1b8f02 Temporary note about YAML support in 0.4, in case anyone tries it, coming back very very soon! 2012-05-06 15:05:42 -04:00
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.
2012-05-06 15:00:17 -04:00
256377166a Reinstate external inventory script support this time using the new more OO-ey inventory system.
Next up: YAML format.
2012-05-06 14:47:05 -04:00
5730a29814 missing files 2012-05-05 16:37:28 -04:00
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.
2012-05-05 16:31:03 -04:00
39e791a1d3 Log last execution of ansible-pull to /var/log/ansible-pull.log
TODO: logrotate script and append to log instead.
2012-05-05 12:18:04 -04:00
99a7522b03 Update devel branch version in RPM spec. 2012-05-05 12:16:19 -04:00
81418afbbb fix up service module to make it start processes that are listed to be
running and to report errors from starting them
2012-05-04 01:20:51 -04:00
eadc78549f Rebuild 2012-05-02 00:55:54 -04:00
0dcbffe784 Merge branch 'minor_edits' of https://github.com/johncallender/ansible.github.com
Conflicts:
	rst/modules.rst
2012-05-02 00:55:19 -04:00
2f04126ea8 Merge pull request #94 from wgjohnson/master
Change the 'name' value for Playbook's variable example
2012-05-03 19:12:02 -07:00
77f33a70ba remove old dest entries 2012-05-03 18:01:11 -07:00
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'.
2012-05-03 17:47:44 -07:00
8f165e1d3c Revert "ignore eclipse's .project file"
This reverts commit 21550f6586.
2012-05-03 17:04:47 -07:00
21550f6586 ignore eclipse's .project file 2012-05-03 16:55:17 -07:00
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.
2012-05-03 16:54:41 -07:00
5954a7d8cc Merge pull request #88 from sfromm/selinux
Update file documentation for se* options
2012-05-03 15:47:41 -07:00