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

3158 commits

Author SHA1 Message Date
Michael DeHaan
086400cde0 Add CONTRIBUTING doc since github now supports this. 2012-09-17 22:42:32 -04:00
Michael DeHaan
d77be4eecf Merge pull request #1052 from romeotheriault/add-SunOSVirtual-facts
Adding SunOSVirtual facts
2012-09-17 17:27:43 -07:00
Michael DeHaan
5da4ab2d90 Merge pull request #1051 from sfromm/wile-e-coyote
Add pkg_mgr fact to setup (take 2)
2012-09-17 16:59:12 -07:00
Michael DeHaan
d5b8553d1c Merge pull request #1056 from dhozac/task-transport
Allow transport on tasks, and use it for local_action
2012-09-17 16:53:33 -07:00
John Kleint
2a002f5c0b Support iteration over command output in with_items.
When the output of a command is stored in a register, this will create a
stdout_lines field in the result object that contains stdout split into a list
of lines.  This list can then be iterated over using with_items.
2012-09-17 16:57:33 -04:00
Daniel Hokka Zakrisson
dd11b01350 Keep delegate_to so all auxiliary logic based on that works 2012-09-17 20:28:14 +02:00
Daniel Hokka Zakrisson
9e78b10ae3 Add test data file 2012-09-17 18:31:49 +02:00
Daniel Hokka Zakrisson
5bb0f6908b Allow transport on tasks, and use it for local_action 2012-09-17 18:28:37 +02:00
Daniel Hokka Zakrisson
bf47bb4753 Allow including files through variables
$FILE{file} will be replaced with the contents of "file"
$PIPE{cat file} will be replaced with the output of "cat file"
2012-09-17 16:03:59 +02:00
Romeo Theriault
d72eaa3fc5 Adding SunOSVirtual facts 2012-09-16 23:14:06 -10:00
Stephen Fromm
65fe7b7003 Update package manager fact innards to a list of dicts 2012-09-16 21:42:55 -07:00
Stephen Fromm
94eb11a6d7 Add pkg_mgr fact to setup
This should help facilitate playbook decision making that are not
strictly distribution specific, but more package manager.
2012-09-16 21:42:54 -07:00
Michael DeHaan
7df0e5259f Merge pull request #1038 from bcoca/atomic_copy2
Atomic copy2
2012-09-14 15:53:49 -07:00
Michael DeHaan
70777f044d Merge pull request #1047 from lotia/get_url_require_thirsty_if_dest_is_dir
Make get_url module always return dest.
2012-09-14 15:38:08 -07:00
Michael DeHaan
4cffdbbc56 Merge pull request #1049 from copperlight/ansible-pull_example_logrotate
add logrotate config
2012-09-14 15:37:39 -07:00
Matthew Johnson
0f5a4e2112 add logrotate config 2012-09-14 14:01:44 -04:00
Ali Asad Lotia
c0aac03b0c url_get module returns dest
The url_get module now includes the destination in the returned JSON.
2012-09-14 08:34:41 +01:00
Ali Asad Lotia
99746d4a83 Indicate thirsty argument required if dest is dir.
The check for the destination being a directory is now done before
checking if the file exists, that way the user is informed that the
thirsty argument is required.
2012-09-14 08:02:30 +01:00
Lorin Hochstein
49db16752f Can specify ansible.cfg in current directory. 2012-09-13 14:24:50 -04:00
Michael DeHaan
16bf3e15c7 Merge pull request #1042 from dhozac/yum-install-rpm
Invoke is_installed correctly from rpm path
2012-09-13 05:12:09 -07:00
Daniel Hokka Zakrisson
56b1a8ceed Invoke is_installed correctly from rpm path 2012-09-13 12:34:52 +02:00
Brian Coca
88d1285f33 time is what i wanted, not gmtime
Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
2012-09-12 14:52:54 -04:00
Brian Coca
06b914c5b3 small fix to prevent temp file from living past its succesful usage
Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
2012-09-12 14:47:06 -04:00
Brian Coca
f5481621f8 made copy atomic by creating tmp file in dest location (ensures same partition)
uses pid and epoch to prevent collisions, good enough for most cases
Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
2012-09-12 14:42:51 -04:00
Michael DeHaan
4a2bf7f60a rebuild from various pull requests 2012-09-11 22:29:42 -04:00
Michael DeHaan
0725dd8dc8 Merge pull request #218 from marktheunissen/fix_password
Fix parameter names in documentation: passwd doesn't exist anymore
2012-09-11 19:29:07 -07:00
Michael DeHaan
aca23f9402 Merge pull request #220 from lorin/include-playbook
Document including one playbook inside another
2012-09-11 19:28:42 -07:00
Michael DeHaan
f9a65f42d1 Merge pull request #221 from lorin/postgres-priv
Fix priv argument in postgresql_user example.
2012-09-11 19:27:36 -07:00
Michael DeHaan
4c5d98c7ee Merge pull request #222 from romeotheriault/copy-module-backup-option-docs
add backup option to the copy modules docs
2012-09-11 19:27:09 -07:00
Michael DeHaan
7f3736bc2c Merge pull request #223 from nigelm/master
Pair of trivial documentation fixes
2012-09-11 19:26:40 -07:00
Michael DeHaan
1f4cb79787 Merge pull request #224 from wzzrd/master
Small fix in documentation for seliux module
2012-09-11 19:25:59 -07:00
Michael DeHaan
4503ad7c04 fix broken link 2012-09-11 22:13:59 -04:00
Michael DeHaan
e7eab93243 Update changelog 2012-09-11 18:08:57 -04:00
Michael DeHaan
04555f525e Fix a test from a previous pull request. 2012-09-11 18:04:54 -04:00
Michael DeHaan
58ad934283 Merge pull request #1024 from tima/groups-pb
Made $groups and $group_names variables accessible in with_items
2012-09-11 14:59:05 -07:00
Michael DeHaan
1829d519b5 Merge pull request #1030 from lorin/import-playbook-pathfix
Support import of playbooks in other directories
2012-09-11 14:58:27 -07:00
Michael DeHaan
d7f83471ae Merge pull request #1032 from mavimo/patch-2
Add support for ./ansible.cfg file
2012-09-11 14:56:22 -07:00
Michael DeHaan
522a3b5974 Merge pull request #1033 from jkleint/hosts-list-fix
Fix inventory.get_hosts when hosts is a list.
2012-09-11 14:55:18 -07:00
John Kleint
1f8696f5c1 Fix inventory.get_hosts when hosts is a list. 2012-09-11 13:00:40 -04:00
Nigel Metheringham
046e43ec11 Module user - typo corrected for state 2012-09-11 11:50:31 +01:00
Romeo Theriault
cf9d7cd68e added backup option to the assemble,lineinfile and template module docs 2012-09-10 17:26:18 -10:00
Maxim Burgerhout
ba1c9b04cb Correct selinux policy name: targetted -> targeted 2012-09-10 22:08:08 +02:00
Marco Vito Moscaritolo
dd023d137a Add support for differnt nova.ini file location: ./nova.ini, ~/nova.ini, /etc/ansible/nova.ini 2012-09-10 18:31:40 +02:00
Nigel Metheringham
84f2968023 Added a paragraph linking to the Jinja2 template docs 2012-09-10 16:09:30 +01:00
Marco Vito Moscaritolo
0cdd081b53 Add support for ./ansible.cfg file
Ansible support configuration in:
```
~/.ansible.cfg
/etc/ansible/ansible.cfg
```

this patch add current user (usefull where user have some different projects) with the oreder:
```
./ansible.cfg
~/.ansible.cfg
/etc/ansible/ansible.cfg
```
2012-09-10 17:57:32 +03:00
Timothy Appnel
9d5a79f586 Made groups.groupname and group_names variables accessible in playbooks.
Also modified code that feeds the groups data structure to templates so
that it resolves groups inside of groups to hostnames.
2012-09-10 10:42:26 -04:00
Nigel Metheringham
c0495c3b9b Typo fix - playbook ignoring shell status return 2012-09-10 12:31:52 +01:00
Nigel Metheringham
1da9d23f90 Typo fix for assemble module 2012-09-10 11:51:16 +01:00
Romeo Theriault
e12f3d4029 add backup option to the copy modules docs 2012-09-09 18:12:27 -10:00
Lorin Hochstein
b9e100a506 Support import of playbooks in other directories
Previously, importing a playbook in a different directory didn't
work because all of the relative paths were resolved relative to
the top-level playbook.

This patch resolves relative paths on a per-play level instead of
relative to the directory of the top-level playbook.

Also removes the dirname argument from the Play._get_vars method
since this argument wasn't used in the metho dbody.
2012-09-09 22:59:56 -04:00