Commit Graph

6295 Commits (472654447c085a417cc00af600b3b43e71d5aac9)
 

Author SHA1 Message Date
Tim Miller edbac1f14e Fix 'timeout' parameter of glance-image module.
The timeout parameter of glance-image was not being parsed into a
numeric type, causing the following error when specifying timeout:

    msg: Error in creating image: unsupported operand type(s) for +: 'float' and 'str'
11 years ago
Brice Burgess 91eed0c80b initial import of dnsmadeeasy module 11 years ago
Dan Slimmon 09a2f23e8f Made Linode inventory module much faster.
Listing no longer makes an API request for every node.
11 years ago
Bruce Pennypacker 0bbbefeb3f doc update 11 years ago
Alan Grosskurth 5ccc7e7277 apt_key: Add 'keyring' parameter
The apt-key command takes an optional --keyring parameter representing
the path to a specific GPG keyring to operate on. If it's not given,
the command operates on all keyring files, i.e., /etc/apt/trusted.gpg
and /etc/apt/trusted.gpg.d/*.gpg.

This change adds a 'keyring' parameter to the apt_key module and
propagates it down to the apt-key command line. The main use case this
supports is organizing keys for third-party repos into individual
keyrings in /etc/apt/trusted.gpg.d, rather than putting them all in
the default keyring.
11 years ago
Ted M. Young 28e7a25143 Wrong target for link?
Came to here from http://www.ansibleworks.com/docs/bestpractices.html, but I think the link here meant to go to https://github.com/ansible/ansible-examples and not https://github.com/ansible/ansible-examples/tree/master/language_features?
11 years ago
Jonas Eriksson 16efb45735 Fix playbook-local host_vars when running from .
Since ansible 1.2, it became possible to place a host_vars
directory in the same directory as a playbook, making it possible
to keep host_vars local to that playbook there. However, due to
python's os.path.dirname, a action such as:

 $ ansible-playbook pb.yml

..would not pick up the host_vars as os.path.dirname("pb.yml")
returns "", unlike the unix command dirname that would return
".". Substituting "pb.yml" on the command line with "./pb.yml"
would do the trick, but is not always intuitive. This patch
solves the problem until python solves issue18547 [1].

[1] http://bugs.python.org/issue18547
11 years ago
Andreas Kaiser f2e3fa9508 Fix pkgin search (yielding wrong results under certain conditions, see inline comments). 11 years ago
Vincent Hardion 09ef7751e1 Fix nested loop for more than 3 elements
- combine flatten list for each nested level instead once at the end
11 years ago
Nicholas Kuechler b8edbd0c0e Add example with multiple files. 11 years ago
Nicholas Kuechler 72238889c3 Update docs and example for injecting files. 11 years ago
Brian Coca 576962d335 now if you set fork to 0 or a number higher than the number of hosts, it
will be readjusted to the number of hosts runner is going to deal with.
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
11 years ago
Alan Descoins d505474832 Updated documentation. 11 years ago
Alan Descoins c19c2c7295 ansible-playbook can load extra vars from a file, with "@" syntax 11 years ago
Stoned Elipot a1503c4d59 stringify conditional before handing it to Jinja2 for evaluation.
This should fix simple conditionals like:

    when: ansible_selinux

While here add tests for ansible.utils.check_conditional() in
"jinja2_compare mode".
11 years ago
Ivan Lezhnjov IV d4f75bc12c Proper support for RHEL/CentOS 5 (the only thing it needs now is to call python26) 11 years ago
Curtis c1c1b128f8 changed apikey and apiid to api_key and api_id and noted that it is boundary tags not ansible tags as per mpdehaan 11 years ago
WAKAYAMA Shirou 0ce99e391f fix: if a path is symlink and trying to chmod, OSError Exception will be raised. 11 years ago
Eivind Uggedal 35b918359b Pacman module: recursive remove support 11 years ago
Stijn Tintel 9d0fc0fd67 Only revoke GRANT OPTION when user actually has it
When revoking privileges from a user, the GRANT OPTION is always
revoked, even if the user doesn't have it. If the user exists, this
doesn't give an error, but if the user doesn't exist, it does:

mysql> GRANT ALL ON test.* TO 'test'@'localhost';
Query OK, 0 rows affected (0.00 sec)

mysql> REVOKE GRANT OPTION ON test.* FROM 'test'@'localhost';
Query OK, 0 rows affected (0.00 sec)

mysql> REVOKE GRANT OPTION ON test.* FROM 'test'@'localhost';
Query OK, 0 rows affected (0.00 sec)

mysql> REVOKE ALL ON test.* FROM 'test'@'localhost';
Query OK, 0 rows affected (0.00 sec)

mysql> REVOKE GRANT OPTION ON test.* FROM 'test'@'localhost';
ERROR 1141 (42000): There is no such grant defined for user 'test' on
host 'localhost'

Additionally, in MySQL 5.6 this breaks replication because of
http://bugs.mysql.com/bug.php?id=68892.

Rather than revoking the GRANT OPTION and catching the error, check if
the user actually has it and only revoke it when he does.
11 years ago
Peter Hall d1369f3d95 Adding getstr mode to download an object into a variable 11 years ago
Michael DeHaan d1effecb2e Merge pull request #3628 from jlund/yaml-syntax
Minor cleanup of YAML Syntax documentation
11 years ago
Joshua Lund be6feee058 Minor cleanup of YAML Syntax documentation 11 years ago
Ralph Tice 1529a974e1 fixed vpc provisioning / clarified group_id usage 11 years ago
Michael DeHaan 86f05f11e7 Merge branch 'devel' of github.com:ansible/ansible into devel 11 years ago
Michael DeHaan a35370a766 Fix prev feature commit, Do not require aptitude to use apt commands in the apt module, only needed when upgrading. 11 years ago
Michael DeHaan fc9aa5f014 Continue on mount errors, don't fail the setup module. 11 years ago
Michael DeHaan f0eafff1b4 Merge pull request #3621 from sergevanginderachter/rename2flattened
also rename plugin name in error message
11 years ago
Ralph Tice 2383a8205c changed role path template to read all vars instead of just extra_vars 11 years ago
Michael DeHaan 9c9bc09ce6 Merge pull request #3622 from bcoca/fix_the_stat_fix
use global to fail as its not in self
11 years ago
Brian Coca 3f85a82ae9 use global to fail as its not in self
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
11 years ago
Serge van Ginderachter b40295910d also rename plugin name in error message 11 years ago
Michael DeHaan 2fe25f19dc Fix to group_by module as a result of previous conditional upgrades. 11 years ago
Michael DeHaan e3f213e030 Fixup error reporting. 11 years ago
Michael DeHaan c07dd07767 Add raw copy support (raw=yes), tweak tempfile error message string. 11 years ago
Michael DeHaan 2e38d92262 Merge pull request #3619 from ches/doc-fixes
Enhance meta-docs on... contributing to docs.
11 years ago
Michael DeHaan 5e02759570 Merge pull request #3617 from dermute/devel
svr4pkg doesn't work on Sol10
11 years ago
Ches Martin b35fc42d36 Enhance meta-docs on... contributing to docs.
- Update FAQ entry to refer to docsite README and reduce redundancy.

- Add additional info to docsite README: Sphinx building, link to module
  documentation reference.
11 years ago
Michael DeHaan a7a82c79c0 Merge pull request #3611 from tgerla/docsfix
very minor fix to playbooks2 to fix a formatting error
11 years ago
Tim Gerla 7e07bca6bf very minor fix to playbooks2 to fix a formatting error 11 years ago
Michael DeHaan 524c7bd791 Remove end of line semicolons. 12 years ago
Michael DeHaan 19d78d6e18 Remove reference to 'context' since it's not implemented. 12 years ago
Michael DeHaan 0cf5e5cec3 Merge branch 'devel' of git://github.com/bradleyy/ansible into together 12 years ago
Michael DeHaan c5cbb1dc62 Fix route53 module docs version/module name 12 years ago
Michael DeHaan 77a4dcca85 Sphinx/docs syntax fixes 12 years ago
Michael DeHaan 10f99938b9 Fix YAML doc errors. 12 years ago
Michael DeHaan af94fb8eea Update changelog 12 years ago
Michael DeHaan 7961a81b3f Update docs to add version_added attribute. 12 years ago
Michael DeHaan 32b3c59bad Merge pull request #3400 from diko4096/patch-1
Update gem
12 years ago
Michael DeHaan fc70fbcab0 update changelog 12 years ago