James Cammarata
d1f713938e
Modified env fact gathering to use the native python method
...
Also updated CHANGELOG for this feature
11 years ago
James Cammarata
19343288df
Merge branch 'env_facts' of https://github.com/bcoca/ansible into bcoca-env_facts
11 years ago
Michael DeHaan
0dc232a177
Merge pull request #4159 from stygstra/quantum_subnet-nameservers
...
Add option for DNS nameservers to quantum_subnet module
11 years ago
Maciej Delmanowski
551b93c547
Made re.search string shorter
11 years ago
Maciej Delmanowski
40b0471e95
Add Linux Container identification
11 years ago
Andrey Shorin
ea488f5e05
Make --check mode work with fireball and accelerate connections
11 years ago
James Cammarata
4a467f71cd
Change touched -> touch for new file state, and cleaning up docs
11 years ago
James Cammarata
4d417401c0
Merge branch 'feature/file-state-touched' of https://github.com/resmo/ansible into resmo-feature/file-state-touched
11 years ago
Johan Wirén
e9554e5da2
Fixed setup module to no longer break on OpenBSD release versions.
11 years ago
René Moser
3a0fd84115
file: added file attributes in state=touched
11 years ago
René Moser
573ea5bdce
file: skip in check_mode if state=touched
11 years ago
egghead
3f4dc876fc
supervisorctl module: adding support for custom supervisord installations
...
Supervisord can be installed at the user level or system level.
Installating as a user is particularly useful for systems without root access.
Adds the ability to provide a custom supervisorctl executable path, supporting custom installations
11 years ago
René Moser
06fae59e8b
file: implemented state=touched. Closes GH-4097
11 years ago
James Cammarata
4efdf0d49f
More housekeeping
...
* Modified version_added strings in recent modules
* Added firewalld inclusion to the CHANGELOG
11 years ago
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