- 20 Aug, 2013 10 commits
-
-
docsite typos
James Cammarata committed -
Stephen Fromm committed
-
This extends ansible-pull so that it can support using other source_control modules for checking out a playbook repository (issue #3372). This will check to see if the module exists before it attempts to do the checkout and will exit if the module is not found. It requires that the module used to check out the repository support the parameters 'name' and 'version'. The option -C, --checkout is now optional and defaults to the module's default behavior for selecting a branch, tag, or commit value. For git, this continues to be HEAD. Other changes include: * Remove git from help and use generic term(s) where needed. * Use SortedOptParser from ansible.utils * More abstraction of common options used between ansible and ansible-playbook.
Stephen Fromm committed -
For issue #3372, apply consistent parameter aliases to source_control modules. For hg, add name and version and add to documentation string. For subversion, add version and document version and name aliases in documentation string.
Stephen Fromm committed -
just darting a mistyped "ansible"
Jon W committed -
perhaps there may be pip distribution using "pip-install" but "pip install" is universal afaik
Jon W committed -
James Cammarata committed
-
James Cammarata committed
-
Tests `test_playbook_undefined_varsX_fail` check if ansible detects undefined variables when `error_on_undefined_vars` is enabled. These tests fail without "Improve behavior with error_on_undefined_vars enabled" patch. Tests `test_playbook_undefined_varsX_ignore` check if ansible ignores undefined variables when `error_on_undefined_vars` is disabled. Also modify PlayBook._run_task_internal() so error_on_undefined_vars is testable.
Petr Svoboda committed -
Pass fail_on_undefined flag to recursive calls to `template` function, so more undefined variables are detected. Works only for Jinja style variables. Undefined legacy variables are never detected.
Petr Svoboda committed
-
- 19 Aug, 2013 13 commits
-
-
James Cammarata committed
-
For link-local addresses, it is sometimes necessary to append the interface to use for the ipv6 address. This patch extends the ipv6 regex to allow for '%ifnameX' at the end. See https://bugzilla.redhat.com/show_bug.cgi?id=136852 for more info
James Cammarata committed -
and ipv6 addresses.
Michael Scherer committed -
Due to various inconsistencies of ssh and sftp regarding ipv6 and ipv4 handling, some special arguments must be passed, and the ipv6 must be passed in a specific format.
Michael Scherer committed -
testing with a ipv6 : ansible -u misc -i '[2002::c23e]:22,' '*' -m ping fail due to parsing of ':' as a separator of port/ip with ipv4. This commit add support for properly parsing 2002::c23 and the bracket notation [2002::ce]:2222
Michael Scherer committed -
image_id is not required to delete a vm from openstack
Michael DeHaan committed -
Fixed tiny bug with _meta handling in external inventory scripts
Michael DeHaan committed -
James Cammarata committed
-
Matt Saunders committed
-
James Cammarata committed
-
Andrew de Quincey committed
-
- 18 Aug, 2013 2 commits
-
-
setting 0644 permissions on mkstemp file handles. Fixes issue #3857
Michael DeHaan committed -
sjahl committed
-
- 17 Aug, 2013 5 commits
-
-
Since deletion do not check the type of image or anything, and since that's tedious to keep track of the image_id and just adding noise to add image_id for nothing, this commit just relax the requirement.
Michael Scherer committed -
The block that added the original list of roles was indented too far, and was only being reached if a role had dependencies. This resulted in roles without dependencies from being added to the list of roles. Credit goes to looped for reporting and diagnosing the issue.
James Cammarata committed -
Michael DeHaan committed
-
Michael DeHaan committed
-
git://github.com/jimi1283/ansible
Merge branch 'role_dependencies' of git://github.com/jimi1283/ansible into jimi1283-role_dependencies
Michael DeHaan committed
-
- 16 Aug, 2013 7 commits
-
-
Michael DeHaan committed
-
Michael DeHaan committed
-
Michael DeHaan committed
-
James Cammarata committed
-
now missing dep gives nicer error and docs disambiguate lib
Michael DeHaan committed -
This allows variables to be inserted into the role scope specifically while also being inserted into the global scope.
James Cammarata committed -
out there have same name. Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
Brian Coca committed
-
- 15 Aug, 2013 3 commits
-
-
James Cammarata committed
-
Fixes #3686 Dependencies are enabled by adding a new directory/file named meta/main.yml to the role. The format of the dependencies are: dependencies: - { role: foo, x: 1, y: 2 } - { role: bar, x: 3, y: 4 } ... Dependencies inherit variables as they are seen at the time of the dependency inclusion. For example, if foo(x=1, y=2) has a dependency on bar(x=3,z=4), then bar will have variables (x=3,y=2,z=4). Different roles can have dependencies on the same role, and this variable inheritence allows for the reuse of generic roles quite easily. For example: Role 'car' has the following dependencies: dependencies: - { role: wheel, n: 1 } - { role: wheel, n: 2 } - { role: wheel, n: 3 } - { role: wheel, n: 4 } Role 'wheel' has the following dependencies: dependencies: - { role: tire } - { role: brake } The role 'car' is then used as follows: - { role: car, type: honda } And tasks/main.yml in each role simply contains the following: - name: {{ type }} whatever {{ n }} command: echo '' TASK: [honda tire 1] TASK: [honda brake 1] TASK: [honda wheel 1] TASK: [honda tire 2] TASK: [honda brake 2] TASK: [honda wheel 2] TASK: [honda tire 3] TASK: [honda brake 3] TASK: [honda wheel 3] TASK: [honda tire 4] TASK: [honda brake 4] TASK: [honda wheel 4] TASK: [I'm a honda] <- (this is in roles/car/tasks/main.yml)
James Cammarata committed -
James Cammarata committed
-