James Cammarata
8721ad2909
Moving firewalld module from net_infra to system
11 years ago
James Cammarata
720b68a3c6
Merge branch 'maxamillion/firewalld' of https://github.com/maxamillion/ansible into maxamillion-maxamillion/firewalld
11 years ago
James Cammarata
a26c1b64c6
Minor pep8 cleanup in ec2_eip module
11 years ago
James Cammarata
f369650922
Merge branch 'ec2_eip' of https://github.com/lorin/ansible into lorin-ec2_eip
11 years ago
James Cammarata
ecaf649adc
Changed the version_added field in rax_clb_nodes to 1.4
11 years ago
James Cammarata
93fd06d48c
Minor doc fix and a CHANGELOG update for the new rax_clb_nodes module
11 years ago
James Cammarata
e4ee97384a
Merge branch 'rax-clb-nodes' of https://github.com/neuroid/ansible into neuroid-rax-clb-nodes
11 years ago
James Cammarata
519d195f2a
Merge branch 'rax_wait_on_delete' of https://github.com/jlaska/ansible into jlaska-rax_wait_on_delete
11 years ago
Phillip
4b5b6e91fe
adding an optional delimiter argument to the assemble module
11 years ago
René Moser
0ba7acd205
host: code cleanup
11 years ago
James Laska
03252e1d30
[cloud/rax] support wait on delete
...
Add support to existing rax module to honor the wait (and wait_timeout)
parameters on delete operations. This patch removes existing logic in favor of
the built-in pyrax.utils.wait_until method.
11 years ago
Pieter Avonts
60d8f92b3c
changed deprecated channel_label attribute
11 years ago
James Cammarata
c2e02fbd6b
Minor tweak to service changed logic from the previous commit
11 years ago
James Cammarata
f62093da56
Merge branch 'service-enable-fix' of https://github.com/gottwald/ansible into gottwald-service-enable-fix
11 years ago
Petr Svoboda
8d290e3394
Fix traceback in service module when svc_cmd is None (2nd fix)
...
When service module is used on unsupported Linux system where init
script is used directly, LinuxService.svc_cmd is None so .endswith()
fails.
This extends fix from e2f20db534
also
for state=restarted.
Fixes issue #3533
11 years ago
René Moser
bcaab4236b
host: updated version_added
11 years ago
Rene Moser
7f96dd832f
added module host
...
Add or remove entries in /etc/hosts using tasks:
- host: ip=127.0.0.1 hostname=localhost aliases=foobar.com,localhost.foobar.com
- host: ip=127.0.0.1 hostname=localhost state=present
- host: ip=192.168.1.1 state=absent
- host: hostname=localhost state=absent
- host: ip=::1 hostname=localhost aliases=ip6-localhost,ip6-loopback
11 years ago
René Moser
ccf4cf1dd8
Fixed missing required package in notes.
11 years ago
Jeremy Price
f56b3fba3e
dest in s3 module does not work with ~username notation for home directories. Wrapped dest definition in os.path.expanduser() which will return the expanded path in case of successful tilde expansion and otherwise the original value
11 years ago
David Stygstra
58620ca477
Add Python 2.4 support to modprobe module
11 years ago
David Stygstra
27a08dc647
Module to manage kernel modules
11 years ago
David Stygstra
3fdbb56465
Add option for DNS nameservers to quantum_subnet module
11 years ago
Erick Yellott
af7b182958
Typo fix from `accelerated: true` to `accelerate: true`
11 years ago
Ralph Bean
a9a2a96218
Add a new unique_name param to the digital_ocean module for idempotence.
...
As it stands now, it is difficult to write idempotent tasks for digital
ocean droplets. Digital ocean assigns new nodes a random id when they
are provisioned and that id is the only key that can be used to identify
it in subsequent runs of that play.
The workflow previously involved manual intervention:
- write a play defining a new node with no specified id
- run it, collect the randomly assigned id by hand
- modify the play to add the id by hand so future runs don't create
duplicate nodes
- perform future re-runs that check if the node exists (by its id)
- if it does exist then do nothing.
- if it does not exist, then create it and return a *new random id*
- collect the new random id by hand, modify the playbook file, and
start all over.
Its a huge pain.
The modifications in this commit allow you to use the 'hostname' as a
primary key for idempotence with digital ocean. By default, digital
ocean will let you create as many hosts with the same hostname as you
like. Here, we provide an option to constrain the user to using only
unique hostnames.
The workflow will now look like:
- write a play defining a new node with a specified hostname and
"unique_name: true""
- run it, create the new node and move on.
- re-run it, notice that a node with that hostname is already created
and move on.
11 years ago
Ralph Bean
6ecf41530b
Fix an example with a yaml syntax error.
11 years ago
Ralph Bean
d782d91b80
Fix some "make pep8" errors in the digital_ocean module.
11 years ago
James Cammarata
022918e5af
Merge branch 'fix/apt_repository_update_cache' of https://github.com/resmo/ansible into resmo-fix/apt_repository_update_cache
11 years ago
René Moser
9fccf96d61
apt_repository: added option update_cache.
...
The default behavior is to update_cache if changed.
If you add more then one repo, you may not want to update cache for every repo separately.
So you can now disable update_cache with this new option e.g. update_cache=no
Updating cache can also be handled using the apt module.
11 years ago
Ralph Bean
a1ea15141e
Remove trailing whitespace in digital ocean module.
11 years ago
Ralph Bean
3eab663f2e
Remove duplicate docs in digital ocean module.
...
The EXAMPLES block here has two copies of the same docs,
one nicely formatted, the other less so.
It looks like a pass was made to clean up the docs but the old
cruftier ones were never removed.
11 years ago
René Moser
a991b62a51
apt_repository: fix update cache after state=changed. Closes GH-4136
11 years ago
James Cammarata
671eeb65b2
Merge pull request #4138 from resmo/fix/redundant-fail-json
...
apt: fixed duplicate fail_json
11 years ago
Rene Moser
9449d62fb2
apt: fixed duplicate fail_json
11 years ago
Shuhao Wu
0d2a3f1b0c
Fixed monit restarted error.
...
Errors everytime...
11 years ago
James Cammarata
f4c5f37ca6
Merge branch 'issue_3417_systemd_stuff' into devel
11 years ago
James Cammarata
02033f9ec8
Merge branch 'archlinux-fact' of https://github.com/Schnouki/ansible into Schnouki-archlinux-fact
11 years ago
James Cammarata
c6fdb85d88
Merge branch 'issue_3421_apt_pkg_iU' into devel
11 years ago
James Cammarata
cee2bddc24
Updated version_added string for the new validate_md5 option
11 years ago
James Cammarata
d9cf1dfefb
Merge branch 'fetch' of https://github.com/bpennypacker/ansible into bpennypacker-fetch
11 years ago
Michael DeHaan
f93ef96a08
Merge pull request #4115 from r-p-e/devel
...
Add some more OpenBSD facts
11 years ago
Michael DeHaan
00c0770f1b
Merge pull request #4075 from sayap/easy_install
...
Locate easy_install path after (optionally) creating virtualenv.
11 years ago
r-p-e
2f887c6dca
Add some more OpenBSD facts
...
added:
* ansible_distribution
* ansible_distribution_release
* ansible_distribution_version
11 years ago
Ingo Gottwald
f7adbf2f29
Bugfix service module: Only change service state when needed
11 years ago
Lorin Hochstein
264d83731a
AWS elastic IP: Support for allocating IPs
...
This commit adds support for allocating new elastic IPs with the
ec2_eip module.
11 years ago
Charles Blonde
00ec91bb36
Update instance_profile_name message
11 years ago
Thomas Jost
dfb10e646e
Add Archlinux "distribution" fact
11 years ago
James Cammarata
0d408ff295
Use low-level package objects in the apt module to check installed state
...
Packages which are half-installed are not adequately represented by
the .is_installed field of the apt.package.Package object. By using the
lower-level apt_pkg.Package object (which provides the .current_state
field), we can check for a partially-installed state more accurately.
Fixes #3421
11 years ago
James Cammarata
d2bf244eb8
Merge branch 'fix_changed_for_yum_group' of https://github.com/hnakamur/ansible into hnakamur-fix_changed_for_yum_group
11 years ago
James Cammarata
72eaa0570e
Allow service module to manage services not ending in .service
...
Fixes #3417
11 years ago
James Cammarata
5110b2d440
Slight refactorization of the sysctl module
...
* Added in support for freebsd-style sysctl commands
* Replaced some functionality that was provided by module_common
* Simplified some logic in a couple of places (ie, not checking
a split with len() but instead limiting the split to 1)
Fixes #3380
11 years ago
James Cammarata
3e9b63febd
Compare exploded values in the sysctl module to avoid whitespace errors
...
Fixes #3931
11 years ago
James Cammarata
b2741f451e
Fixes to the service module for Ubuntu 12.04 (LTS)
...
Fixes #3615
Fixes #3572
11 years ago
James Cammarata
9a3a3e648b
Check for systemd ownership of a service even if an init.d script exists
...
Also slight modification to the error message in the earlier commit that
modified the update-rc.d detection portion of the code
Fixes #3474
11 years ago
Hiroaki Nakamura
4d2c2a262a
Add an example for installing a group with the yum module.
11 years ago
Hiroaki Nakamura
caa68746ae
Fix to getchanged correctly for yum groupinstall.
11 years ago
James Cammarata
7c8aa669cf
Minor fix to account for template service names in systemctl
11 years ago
James Cammarata
6c3af4df81
Fix for update-rc.d based systems that also have systemd installed
...
By default, the service module had assumed that if the system had the
update-rc.d binary, the service was either managed via upstart or standard
sysV init-style scripts. This patch adds a check for systemctl ahead
of the other methods when update-rc.d is detected, and also simplifies
the logic around the detection of systemctl-managed services
11 years ago
Yap Sok Ann
498c2665de
Locate easy_install path after (optionally) creating virtualenv.
...
Without this, the first call to the easy_install module with a new virtualenv
will only create the virtualenv without installing the intended package, since
the `_is_package_installed` check will succeed as running /usr/bin/easy_install
as non-root user will return permission denied error with empty stdout.
11 years ago
James Cammarata
808d9596b2
Fixing typos in is_keyid function definition and usage
...
Fixes #4068
11 years ago
Charles Blonde
ac4e16a99b
Add support to Boto library < 2.5.0
11 years ago
James Cammarata
b3c0e3e45e
Revert "Styling: deprecation"
...
This reverts commit ecc2b6e742
.
Fixes #4069
11 years ago
James Cammarata
af139cd56a
Merge branch 'file_fixes' of https://github.com/bcoca/ansible into bcoca-file_fixes
11 years ago
Adam Miller
4220c3cc30
added try/catch around .connected call
11 years ago
Charles Blonde
02171711fa
Fix wait_for default value to follow the documentation (documentation = 180, default value = 120)
11 years ago
Charles Blonde
9a993992be
Fix wait_for conversion between String to int
11 years ago
James Laska
546788a1b6
The required package for selinux is libselinux-python
11 years ago
James Cammarata
7752a56091
Merge branch 'devel' of https://github.com/abompard/ansible into abompard-devel
11 years ago
James Cammarata
71bf9495ef
Merge branch 'fix_postgresql_db' of https://github.com/yteraoka/ansible into yteraoka-fix_postgresql_db
11 years ago
James Cammarata
b65cefe893
Cleaning up pep8 whitepsace issues in the mysql_replication module
11 years ago
James Cammarata
03e124d91f
Merge branch 'bugfix' of https://github.com/jsmartin/ansible into jsmartin-bugfix
11 years ago
James Martin
8c1ed028d3
Fixes for python 2.4 support, better collection of riak version.
11 years ago
James Cammarata
3adb91a4b4
Added version_added to the mysql_variables module doc section
11 years ago
James Cammarata
a57ced4b66
Merge branch 'mysql_variables' of https://github.com/banyek/ansible into banyek-mysql_variables
11 years ago
James Cammarata
a56c695bc8
Added version_added to the mysql_replication module doc section
11 years ago
James Cammarata
ff19cdae39
Merge branch 'mysql_replication' of https://github.com/banyek/ansible into banyek-mysql_replication
11 years ago
James Cammarata
441062f061
Cleaning up whitspace issues in the mysql_user module
11 years ago
John Hamelink
892c594319
Fixed #3767 - mysql_user command fails with dots (and underscores) in
...
database names.
11 years ago
Brian Coca
c2d1607490
Added collection of user's env
...
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
11 years ago
James Cammarata
aa0a31c0fc
Merge pull request #3966 from sergevanginderachter/uribug
...
Fix bug in uri where redirect check fails.
11 years ago
James Cammarata
82e1722fff
Merge branch 'aix_wpar_facts' of https://github.com/mplonka/ansible into mplonka-aix_wpar_facts
11 years ago
James Cammarata
84c977258f
Merge branch 'rdsfixes' of https://github.com/jamespharaoh/ansible into jamespharaoh-rdsfixes
11 years ago
James Cammarata
4a30bac78b
Corrected example for lineinfile due to ': ' on line
...
Closes #3992
11 years ago
Aurélien Bompard
5a949dcafc
Module postgresql_privs: fix default arguments
...
Defaults arguments must not be added to the connection keywords, as
the other postgresql modules already do.
Closes #4043
11 years ago
James Cammarata
20b0dc4abd
Check for an empty executable passed into the accelerate plugin
...
This was breaking at least the script module, so it would seem best
to check for it and set it to the default executable value
11 years ago
James Cammarata
f04af9118e
When putting a file in accelerated mode, make sure it's chowned correctly
11 years ago
Tom Dymond
11c2378259
Add option to specify the MySQL server port
11 years ago
Jell
a47f2674a4
Add crypt scheme to htpasswd params
11 years ago
TERAOKA Yoshinori
43464b6243
fix get_db_info
...
using pg_roles instead of pg_user
if database owner is a role (not user) then it can not select form pg_user table.
11 years ago
James Cammarata
d27372ff08
Modified ec2_elb doc per issue #3849
11 years ago
James Cammarata
4eedfa46a2
Merge branch 'devel' of https://github.com/mhite/ansible into mhite-devel
11 years ago
James Cammarata
8a016bb374
Adding the facility to the accelerate daemon syslog calls
11 years ago
James Cammarata
26a8d4ce9f
Added 'reloaded' state to list of states checked for bounced services
...
Fixes #3556
11 years ago
Serge van Ginderachter
a351c25c59
Introduce open-iscsi module to manage targets on the initiator.
11 years ago
James Cammarata
d05c61d1f0
Merge branch 'devel' into fireball2
...
Conflicts:
lib/ansible/playbook/__init__.py
lib/ansible/playbook/play.py
11 years ago
Marcus McCurdy
46ff02bc57
Makes pervious lineinfile fix more explicit
11 years ago
James Pharaoh
137a32ca36
make rds handle vpc security groups properly
11 years ago
James Pharaoh
dc5ffb688c
fix for rds region variable
11 years ago
Marcus McCurdy
64fa95ca11
Improves lineinfile's error checking
...
Line in file would raise a TypeError exception if
the 'line' key was in params, but its value was None.
11 years ago
James Cammarata
d69d5c294f
Renaming fireball2 as 'accelerate' and removing old references
11 years ago
Serge van Ginderachter
a311ee35b3
Fix bug in uri where redirect check fails.
...
When the redirect check fails, the 'status' key is not set in
resp_redir, so we need to check this.
11 years ago