Commit Graph

3653 Commits (634d59c97fc723db1513b2d81b639cbc49db5e1e)
 

Author SHA1 Message Date
Michael DeHaan 634d59c97f Merge pull request #1913 from jlitola/apt_key
Fixed apt_key's add_key stalling indefinitely, and test code leaking into production
12 years ago
Michael DeHaan c55a822c1e Merge pull request #1906 from szinck/devel
Add basic pkgin package management
12 years ago
Michael DeHaan e0b5c35033 Merge pull request #1891 from silviud/ec2_facts_module
ec2 facts module - registers to ansible_facts key
12 years ago
Michael DeHaan f97622d4f6 Merge pull request #1921 from lorin/git-abspath
Git module: fix for relative paths
12 years ago
Lorin Hochstein c337b64e35 Git module: fix for relative paths
If a relative path is passed as an argument, this change first
converts it to an absolute path.

This fixes a bug where the git module would attempt to chdir into an
invalid directory because of multiple chdir calls against a relative
path.
12 years ago
Shaun Zinck b2aed1a4ba pkgin: add stdout to error message when shell commands fail 12 years ago
Shaun Zinck e9ca960558 pkgin: use module.run_command to run stuff
This also fixes an issue where some console output for packages I was
installing was creating invalid JSON because it contained single-quotes.
12 years ago
Daniel Hokka Zakrisson 4d71b31f7e Ensure destination and source are available before mangling them
Fixes #1918.
12 years ago
Daniel Hokka Zakrisson 6f9099c51d Merge pull request #1898 from silviud/fix_inventory_list_groups
Inventory class - lambda fails on attribute access - g.name is a string not the group obje...
12 years ago
Daniel Hokka Zakrisson 53fd85e2c4 Merge pull request #1903 from leucos/mergeable-hash-vars
Adds user-selectable hash merging support in vars
12 years ago
Daniel Hokka Zakrisson 6e0cb14ba5 Merge pull request #1911 from tgerla/devel
Port ec2 module to Boto
12 years ago
Michael DeHaan a5e6c18f36 Merge pull request #1917 from lwade/patch-2
Update docsite/rst/who_uses_ansible.rst
12 years ago
Lester Wade 33cc9719ba Update docsite/rst/who_uses_ansible.rst
Added Eucalyptus.
12 years ago
Juha Litola 2796603c92 Removed apt_key tests, as they didn't test the real functionality.
Tests used heavily mocked version of the apt_key code, which meant that
it didn't properly test real life scenario.
12 years ago
Daniel Hokka Zakrisson 9f6f15f770 Fix unparseable documentation strings
Fixes #1902.
12 years ago
Daniel Hokka Zakrisson 864b75e54b Override Jinja2 Template class to make {% include %} work again
Fixes #1908.
12 years ago
Juha Litola 05f5b5b279 Fixed add_key stalling indefinitely, and test code leaking into production setting 12 years ago
Shaun Zinck e34eaa423d pkgin: change install/remove to not use return code of pkgin
pkgin always returns 0 so can't be used to tell if the install or remove
worked.  Instead this just queries the installed packages after
performing an operation.
12 years ago
Silviu Dicu 2a893ab0bb ec2 facts module - updated as per comments 12 years ago
Stephen Fromm 58618474db Merge pull request #1907 from sfromm/issue1888
Update apt_repository to query if repo is already configured
12 years ago
Stephen Fromm 688524dd23 Merge pull request #1910 from fesplugas/patch-1
Update examples/playbooks/ansible_pull.yml
12 years ago
Francesc Esplugas c6629219d9 Update examples/playbooks/ansible_pull.yml
Typo
12 years ago
Stephen Fromm e0741e7810 Update apt_repository to query if repo is already configured
This adds two dependencies to the apt_repository module:  apt and
apt_pkg.  These come from the package python-apt.  This is used to parse
the host's sources.list and examine whether the repo is already
configured.  This then eliminates the unnecessary
'add-apt-repository --remove' from running.
12 years ago
Shaun Zinck 4a9201ad65 add pkgin to list of package managers in setup 12 years ago
Shaun Zinck 2eedec777f added first version of pkgin, just does install, remove (for SmartOS) 12 years ago
Michel Blanc 8eb7d740b0 Fixes hash merging
No need for deep copy (vars are essentially immutable once loaded, there
should not be any modifications)
12 years ago
Daniel Hokka Zakrisson 5f5b7cc56b Merge pull request #1905 from bct/service-doc-formatting
Minor doc fix: service module 'state' parameter comments should be processed by RST
12 years ago
Brendan Taylor f18446e7a5 service module 'state' parameter comments should be processed by RST 12 years ago
Michel Blanc e28e538c6e Adds user-selectable hash merging support in vars
Hash variables are currently overriden if they are redefined. This
doesn't let the user refine hash entries or overriding selected keys,
which can, for some, be a desirable feature.
This patch let the user force hash merging by setting the
hash_behaviour value to "merge" (without the quotes) in ansible.cfg

However, by default, ansible behaves like it always did and if any value
besides "merge" is used ("replace" is suggested in the example ansible.cfg
file), it will also behave as always.
12 years ago
Daniel Hokka Zakrisson 51180fa344 Merge pull request #1900 from bostrick/devel
protect PluginLoader._extra_dirs from appending None
12 years ago
Bowe Strickland 2b3d6d4545 protect PluginLoader._extra_dirs from appending None
PluginLoader.add_directory() can receive None from, for example, 
Inventory.add_directory(self.basedir()) if host_list is a custom list.
None has no reasonable interpretation other than ignore it.
12 years ago
Daniel Hokka Zakrisson a117944d0f Make env-setup work on Python 3 12 years ago
Daniel Hokka Zakrisson b8d0638449 Merge pull request #1897 from qjcg/pacman-pkg-mgr
Add pacman to list of package managers in setup module
12 years ago
Silviu Dicu f7694ac433 lambda fails on attribute access - g.name is a string not the group object 12 years ago
John Gosset 54ef6015f6 add pacman to list of package managers in setup module 12 years ago
Silviu Dicu ce9e9af6a3 ec2 facts moduled - updated 12 years ago
Daniel Hokka Zakrisson 950e3052b8 Merge pull request #1890 from elventear/rabbitmq_contrib
RabbitMQ Contrib
12 years ago
Daniel Hokka Zakrisson a4b22b3a30 Merge pull request #1894 from ron1/devel
Update examples/ansible.cfg with sudo_exe
12 years ago
ron1 7d67ecfb2d Update examples/ansible.cfg with sudo_exe 12 years ago
Michael DeHaan 3e75219f28 Merge pull request #1893 from bct/directory-organization-fix
Make diagram of Directory Organization best practice match the text.
12 years ago
Brendan Taylor ab63c24358 Make diagram of Directory Organization best practice match the text.
The text and playbook content assumed a directory structure that didn't
match the diagram.
12 years ago
Tim Gerla cafb717b55 Fail gracefully if boto is not available and add me to the author line. 12 years ago
Tim Gerla 139aee58e2 use connect_ec2_endpoint instead of connect_euca, and properly pass keys to connect_ec2 12 years ago
Silviu Dicu 1ab9bfa7cc ec2 module - registers to ansible_facts key 12 years ago
Tim Gerla 456e6f5a55 library/ec2:
- use boto instead of euca2ools
- improve error handling/propagation for run failures
- rename keypair to key_name (and preserve alias for old playbooks)
- should be 100% backward compatible with the euca2ools version
12 years ago
Pepe Barbe 9dfa3ca88f Add my repo for RabbitMQ stuff 12 years ago
Daniel Hokka Zakrisson d4c0180494 Make service module daemonize for all the broken "daemons" out there 12 years ago
Daniel Hokka Zakrisson 94a1c221bc Update variable precedence section with current rules 12 years ago
Daniel Hokka Zakrisson 48f48e8a44 module must be passed to repolist too 12 years ago
Daniel Hokka Zakrisson 7fadf6c976 Merge pull request #1887 from elventear/yum_fix
module needs to be passed to local_nvra
12 years ago