Commit Graph

19728 Commits (b0142f79ba75c8170ef0f19224f3e26ce35732a7)
 

Author SHA1 Message Date
James Cammarata add2d1947e Fix recursive call of _load_inventory_file() in VariableManager
Fixes #16128
9 years ago
James Cammarata 1f18f5c92d Tweak the poll time to 0.005 to improve perf with large playbooks 9 years ago
James Cammarata b9e743b478 Merge branch 'devel' of https://github.com/andreyshestakov/ansible into andreyshestakov-devel 9 years ago
James Cammarata 560532da7d Make sure we add host/group vars files when parsing inventory
Also fixes a bug where add_host was not adding the vars files

Fixes #16117
9 years ago
James Cammarata 61f132a609 Adding unit tests for playbook group/host vars 9 years ago
Brian Coca 2a984bbc98 much more fine grained error messages
fixes #16039
9 years ago
Sandra Wills 261b0af15a Merge pull request #16038 from larsks/docs/become-examples
docs: add some examples to the documentation for become
9 years ago
rdezavalia a7274774ed Support etcd v2. Use this version by default (#12312)
* Support etcd v2. Use this version by default

* default to etcd v1
9 years ago
Brian Coca 9342c7cc02 added sensu_subscription module 9 years ago
vlna 53ac89e40d Typo fix: Kuraotmi -> Kuratomi 9 years ago
Peter Sprygada 0a87651fc5 fixes issues with authenticating using ssh-agent for ios devices
Exception was raised when trying to use ssh-agent for authentication to
ios devices.   This fix enables ssh-agent and enable use of password
protected ssh keys.  There is one additional fix to capture authentication
exceptions nicely.
9 years ago
Drew Russell 5e81e436a2 Fix typo in the VMware section 9 years ago
Chris Houseknecht 9c505e2fa9 Merge pull request #15965 from edevil/python_env
Update interpreter for azure inventory script
9 years ago
James Cammarata d21cd16a91 Change uses of unicode() to to_unicode() in inventory/__init__.py 9 years ago
James Cammarata 879dc3a687 Mark implicitly hosts as such and exclude them from the all group
Fixes #16059
9 years ago
Matt Clay a7d7cdae1f Merge pull request #16132 from mattclay/shippable-irc
Add IRC notifications to shippable.yml.
9 years ago
Toshio Kuratomi 5a3493be5f Port urls.py to python3 and other byte vs text fixes (#16124)
* Port urls.py to python3

Fixes (largely normalizing byte vs text strings) for python3

* Rework what we do with attributes that aren't set already.

* Comments
9 years ago
nitzmahone 434c949d03 update azure minimum doc fragment 9 years ago
Matt Clay 106dbb6441 Add IRC notifications to shippable.yml. 9 years ago
nitzmahone d1b611a730 updates for Azure SDK 2.0.0rc4 9 years ago
Matt Clay 77e82adf61 Merge pull request #16112 from mattclay/fast-integration
Split integration tests into multiple groups.
9 years ago
Matt Clay 22d785d694 Merge pull request #13433 from fghaas/lxc
Add inventory script for LXC containers
9 years ago
Matt Clay 6e1e86028f Split integration tests into multiple groups.
This will allow tests to complete much faster.
9 years ago
Toshio Kuratomi 73bb06ae84 Fix the code-smell tests for six again 9 years ago
Adrien Vergé 4d48711242 Fix YAML source and check it on Shippable (#15678)
Fix YAML source and check it on Shippable
9 years ago
Toshio Kuratomi 4fe8fe303f Update submodule refs 9 years ago
Toshio Kuratomi 80c36bef9f Update submodule refs 9 years ago
Florian Haas 0e6fc9de3a Add inventory script for LXC containers
Enables an LXC server's configuration as an inventory source for LXC
containers.

In LXC, containers can be defined with an "lxc.group" configuration
option that is normally used with lxc-autostart -g. Here, we are using
the same option to build Ansible inventory groups.

In addition to being grouped according to their lxc.group entry (or
entries, as LXC allows a single container to be in multiple groups),
we also add all containers (including those with no lxc.group entry)
to the "all" group.
9 years ago
Toshio Kuratomi 3bac945147 Fix the copy action to not send the content as a param. (#16127)
Has already been transferred as a tempfile.

This fixes the error in https://github.com/ansible/ansible/issues/16125
but there may be higher level issues that should be fixed as well (other
modules might be able to cause status fields like failed and changed to
return a censored string instead of a bool).  So leaving 16125 open for
now.
9 years ago
Brian Coca 3121e352f7 fixed group assignment in DO inventory (#16102)
* fixed group assignment in DO inventory

* changed sets to lists as we are appending dicts

* deeper fix as original data structure was flawed
9 years ago
nitzmahone 14fec788a1 bump core submodule ref 9 years ago
Matt Clay 643a7ec01d Merge pull request #16126 from mattclay/shippable-fix
Update how shippable scripts are called.
9 years ago
Matt Clay 7a533406f9 Merge pull request #13145 from Mic92/devel
lxc connection plugin
9 years ago
Matt Clay 6d74f43eff Update how shippable scripts are called. 9 years ago
Brian Coca 85f4c95843 minor optimization 9 years ago
Brian Coca 2482c687b7 optimize openbsd pkg_mgr fact discovery 9 years ago
Brian Coca 44bd1db976 updated package to use minimal fact gathering
also fixed results handling of fact gathering
9 years ago
Michael Scherer f07d6b26a7 Show a better error message when there is too much arguments (#16119)
If someone run:

  ansible all -m file state=present

The error message is "Missing target hosts" which is misleading, since
the target hosts is here, the problem is the missing '-a'.
9 years ago
jctanner 2bf2e0fdfd Force relative role paths to be absolute and correct errors about missing path(s). (#16088)
Addresses #10811
9 years ago
Matt Clay 3aae0b8a6b Merge pull request #16113 from ahlusar1989/unittests
Unittests for Raw Module
9 years ago
Saran Ahluwalia fda927a14b added failing test for testing if executable is not empty string 9 years ago
Jason McKerr 8a3f3b96c0 Merge pull request #16105 from mckerrj/devel
2.2 Roadmap and moving Roadmap into docsite with links from root roadmap file.
9 years ago
James Cammarata 273a965dcc Fix the way host and group vars are loaded
* In the VariableManager, we were not properly tracking if a file
  had already been loaded, so we continuously append data to the end
  of the list there for host and group vars, meaning large sets of data
  are duplicated multiple times
* In the inventory, we were merging the host/group vars with the vars
  local to the host needlessly, as the VariableManager already handles that.
  This leads to needless duplication of the data and makes combining the
  vars in VariableManager take even longer.
9 years ago
Jason McKerr 50591757fc Merge branch 'devel' of github.com:mckerrj/ansible into devel 9 years ago
Jason McKerr d170d5b5c0 Update ROADMAP_2_2.rst 9 years ago
Jason McKerr d4b9740391 Update ROADMAP_2_2.rst 9 years ago
Jason McKerr e109f6f3b2 Update ROADMAP_2_2.rst 9 years ago
Jason McKerr 7a8227deb6 Update ROADMAP_2_2.rst 9 years ago
Adrian Likins ef78e3019d formatting 9 years ago
Adrian Likins 1ce266ebc3 formatting 9 years ago