1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
Commit graph

3798 commits

Author SHA1 Message Date
Michael DeHaan
36527ca9d5 Merge pull request #838 from sfromm/issue825
Update file module to not recurse when setting ownership
2012-08-10 17:02:23 -07:00
Michael DeHaan
a7415e5409 Merge pull request #836 from sfromm/rawfixes
Fixes for raw module usage and failure to open_session()
2012-08-10 17:01:47 -07:00
Michael DeHaan
535e3f138f Merge pull request #845 from zecrazytux/bugfix/pip2
Bugfix/pip2
2012-08-10 17:00:53 -07:00
Sébastien Bocahu
487d07a845 Fix variable scope 2012-08-10 21:58:58 +02:00
Sebastien Bocahu
a3ff6b1958 Fix unneeded bashism
Signed-off-by: Sebastien Bocahu <sebastien@ispfr.net>
2012-08-10 15:57:51 +02:00
Stephen Fromm
94696fb88e Update file module to not recurse when setting ownership
This updates set_owner_if_different() and set_group_if_different()
to not implicitly recurse when setting ownership (whether user or
group).  It drops the os.system() call and replaces it with os.chown().
Resolves issue #825.

The recursion should be explicit.  A recurse=yes|no option should be
added to the file module.
2012-08-09 22:59:39 -07:00
Stephen Fromm
569d377183 Wrap paramiko open_session() call in try/except
Ran across non-unix host where the call to paramiko's open_session() in
exec_command() would throw a EOFError exception.  This change wraps the
block in a try/except.
2012-08-09 21:47:09 -07:00
Stephen Fromm
f9bdfde614 Fixes for runner and raw module
runner should not try to create or remove tmp paths when using the raw
module.
2012-08-09 21:45:00 -07:00
Dave Peticolas
08272dc25d Remove unused imports. 2012-08-09 21:35:22 -07:00
Michael DeHaan
ce9401beda fix typo 2012-08-09 22:13:24 -04:00
Michael DeHaan
b721176bdd rebuild 2012-08-09 22:12:10 -04:00
Michael DeHaan
2befb446a3 Merge branch 'RefreshBestPractices' of https://github.com/tbielawa/ansible.github.com 2012-08-09 22:11:42 -04:00
Michael DeHaan
f4245ee5f0 add versionadded info to new modules 2012-08-09 22:10:57 -04:00
Michael DeHaan
331cfa6b36 rebuild 2012-08-09 22:10:57 -04:00
Michael DeHaan
ea3bf960aa rebuild 2012-08-09 22:10:57 -04:00
Tim Bielawa
688086c54a Add consistent versionadded/deprecated tags. 2012-08-09 22:10:57 -04:00
Tim Bielawa
391acfb20c Freshen up the examples page. 2012-08-09 22:10:57 -04:00
Michael DeHaan
af762446a1 Merge pull request #172 from tbielawa/RefreshNotes
Refresh the use of 'note' to make it consistent.
2012-08-09 19:05:43 -07:00
Michael DeHaan
54a9f17b25 formatting/rebuild 2012-08-09 22:04:34 -04:00
Michael DeHaan
fc7591eeaa Merge pull request #175 from mattupstate/apt_repository
Add apt_repository documentation
2012-08-09 19:02:48 -07:00
Michael DeHaan
b1c6990129 rebuild 2012-08-09 22:01:58 -04:00
Michael DeHaan
3e296ae3aa Merge pull request #174 from anotherjesse/master
correct hacking/test-module arguments
2012-08-09 19:01:42 -07:00
Michael DeHaan
04cc44bf17 Merge pull request #176 from mattupstate/pip
Add pip module documentation
2012-08-09 19:01:18 -07:00
Michael DeHaan
4581c19fa0 rebuild 2012-08-09 22:00:45 -04:00
Michael DeHaan
b3f0678f2d fix tags and reuse of link name (annoying habit of sphinx to require uniqueness in HREFs) 2012-08-09 22:00:19 -04:00
Michael DeHaan
a29d532711 Merge pull request #178 from anotherjesse/link_resources
link ansible resources
2012-08-09 18:58:45 -07:00
Michael DeHaan
50e95372d3 Merge pull request #177 from mattupstate/easy_install
Add basic easy_install module documentation
2012-08-09 18:57:04 -07:00
Michael DeHaan
05ded8d363 Merge pull request #179 from mattupstate/supervisorctl
Add supervisorctl documentation
2012-08-09 18:56:34 -07:00
Michael DeHaan
9e934acfca Relative symlinks don't really work (module bug) and would be confusing anyway, better to be explicit. 2012-08-09 21:46:03 -04:00
Michael DeHaan
ce015fcaf8 add output of password step for easy testing 2012-08-09 21:42:47 -04:00
Michael DeHaan
05d6e74cce Merge branch 'vars_prompt_encrypt' of https://github.com/cocoy/ansible into devel 2012-08-09 21:41:12 -04:00
Michael DeHaan
ef18f9d953 Fix a scoping issue that was fixing some non-repoquery-installed cases 2012-08-09 21:35:21 -04:00
Michael DeHaan
63641da225 Merge branch 'yum-wo-repoquery' of https://github.com/dhozac/ansible into devel
Conflicts:
	library/yum
2012-08-09 21:29:59 -04:00
Michael DeHaan
07f459f3b2 Allow user to be passed in via --extra-vars 2012-08-09 21:14:30 -04:00
Michael DeHaan
98a5565106 Fixing up parameterized task includes such that variables can be easily handed to them. 2012-08-09 21:09:12 -04:00
Michael DeHaan
8e12440db4 Merge pull request #830 from cybertoast/feature/pip_module_py2.4
Feature/pip module py2.4
2012-08-09 17:24:27 -07:00
Michael DeHaan
f311d685cb Merge pull request #828 from skvidal/devel
add backup= option to copy. makes a backup of the file on the target
2012-08-09 17:23:52 -07:00
Michael DeHaan
86cbfc0448 Merge pull request #831 from cybertoast/feature/sudo_cmd_not_defined
Feature/sudo cmd not defined
2012-08-09 17:22:08 -07:00
Michael DeHaan
bec78d5b60 Merge pull request #823 from tbielawa/IncludeLicense
We need to include the license when we ship RPMs
2012-08-09 17:21:10 -07:00
Michael DeHaan
200dd4d92b Merge pull request #819 from tbielawa/addPullToSdist
Include bin/ansible-pull as part of the sdist in distutils.
2012-08-09 17:20:54 -07:00
Sundar Raman
66a6231922 Further syntax fix work on Python2.4
The `val if something else something-else` syntax does not work prior to 2.5.
2012-08-09 18:09:18 -04:00
Sundar Raman
2f754f0284 (Re #829) Fix for sudo_cmd not defined 2012-08-09 18:02:21 -04:00
Sundar Raman
9ad91d7369 Fix syntax to work on Python2.4
The `val if something else something-else` syntax does not work prior to 2.5
2012-08-09 17:54:29 -04:00
Seth Vidal
588b129018 fix case where destination does not yet exist - no backup can be made 2012-08-09 15:33:05 -04:00
Seth Vidal
28e9b1128f add backup= option to copy. makes a backup of the file on the target
in a file named: $filename.YYYY-MM-DD@HH:MM~

backup=False is default
2012-08-09 14:24:21 -04:00
Michael DeHaan
eab71aae69 Merge pull request #826 from skvidal/devel
make yum module work with list=pkgspec
2012-08-09 10:39:53 -07:00
Seth Vidal
5c458b9761 make yum module work with list=pkgspec 2012-08-09 13:22:51 -04:00
Daniel Hokka Zakrisson
5a7d271759 Allow using the yum module without repoquery
It is still required to use list=..., but the typical install and remove
won't need it.
2012-08-09 17:22:09 +02:00
Tim Bielawa
65ec3ff63f We need to include the license when we ship RPMs 2012-08-09 11:14:34 -04:00
Rodney Quillo
d1f821361d vars_prompt encrypt from mgw 2012-08-09 22:56:40 +08:00