Commit graph

19960 commits

Author SHA1 Message Date
Toshio Kuratomi
4fe8fe303f Update submodule refs 2016-06-04 10:50:09 -07:00
Toshio Kuratomi
80c36bef9f Update submodule refs 2016-06-04 08:50:54 -07:00
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.
2016-06-03 23:22:56 +03:00
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.
2016-06-03 12:32:15 -07:00
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
2016-06-03 15:13:13 -04:00
nitzmahone
14fec788a1 bump core submodule ref 2016-06-03 10:43:19 -07:00
Matt Clay
643a7ec01d Merge pull request #16126 from mattclay/shippable-fix
Update how shippable scripts are called.
2016-06-03 10:13:01 -07:00
Matt Clay
7a533406f9 Merge pull request #13145 from Mic92/devel
lxc connection plugin
2016-06-03 10:09:04 -07:00
Matt Clay
6d74f43eff Update how shippable scripts are called. 2016-06-03 09:20:33 -07:00
Brian Coca
85f4c95843 minor optimization 2016-06-03 09:56:56 -04:00
Brian Coca
2482c687b7 optimize openbsd pkg_mgr fact discovery 2016-06-03 09:54:59 -04:00
Brian Coca
44bd1db976 updated package to use minimal fact gathering
also fixed results handling of fact gathering
2016-06-03 09:54:59 -04:00
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'.
2016-06-03 09:53:41 -04:00
jctanner
2bf2e0fdfd Force relative role paths to be absolute and correct errors about missing path(s). (#16088)
Addresses #10811
2016-06-03 09:46:51 -04:00
Matt Clay
3aae0b8a6b Merge pull request #16113 from ahlusar1989/unittests
Unittests for Raw Module
2016-06-02 17:45:51 -07:00
Saran Ahluwalia
fda927a14b added failing test for testing if executable is not empty string 2016-06-02 16:04:15 -07:00
Jason McKerr
8a3f3b96c0 Merge pull request #16105 from mckerrj/devel
2.2 Roadmap and moving Roadmap into docsite with links from root roadmap file.
2016-06-02 17:32:55 -04:00
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.
2016-06-02 16:52:37 -04:00
Jason McKerr
50591757fc Merge branch 'devel' of github.com:mckerrj/ansible into devel 2016-06-02 16:17:13 -04:00
Jason McKerr
d170d5b5c0 Update ROADMAP_2_2.rst 2016-06-02 16:17:01 -04:00
Jason McKerr
d4b9740391 Update ROADMAP_2_2.rst 2016-06-02 16:17:01 -04:00
Jason McKerr
e109f6f3b2 Update ROADMAP_2_2.rst 2016-06-02 16:17:01 -04:00
Jason McKerr
7a8227deb6 Update ROADMAP_2_2.rst 2016-06-02 16:17:01 -04:00
Adrian Likins
ef78e3019d formatting 2016-06-02 16:17:01 -04:00
Adrian Likins
1ce266ebc3 formatting 2016-06-02 16:17:01 -04:00
Adrian Likins
b24b4fae47 formatting 2016-06-02 16:17:01 -04:00
Jason McKerr
8305f0c506 Update ROADMAP_2_2.rst 2016-06-02 16:17:01 -04:00
Jason McKerr
743390d1e2 Update ROADMAP.rst 2016-06-02 16:17:01 -04:00
Jason McKerr
32aa7a8ffa Update ROADMAP.rst
more formatting. I suck at RST.
2016-06-02 16:17:01 -04:00
Jason McKerr
805955c734 Update ROADMAP_2_2.rst
formatting
2016-06-02 16:17:01 -04:00
Jason McKerr
e59abc6f2a Update ROADMAP.rst 2016-06-02 16:17:01 -04:00
Jason McKerr
b6dc7f008b Update ROADMAP_2_2.rst 2016-06-02 16:17:01 -04:00
Jason McKerr
a0e0a2f7c2 Update ROADMAP.rst
formatting stuff
2016-06-02 16:17:01 -04:00
Jason McKerr
868878c4e1 adding docs for individual roadmap docs. Adding subdir in docsite for
them. removing md file
2016-06-02 16:17:01 -04:00
Jason McKerr
1d50edd395 removing md version of roadmap 2016-06-02 16:16:01 -04:00
Jason McKerr
619b5e0e84 changing to RST format. Simplifying this as a top level document that
links to working roadmaps by verision
2016-06-02 16:15:22 -04:00
Jason McKerr
58b431e02f Merge branch 'mckerrj-devel' into devel 2016-06-02 14:24:21 -04:00
Michael Scherer
f0023610e8 Fix bin/ansible to not make a double traceback on python3 (#15972) 2016-06-02 09:49:22 -07:00
Bede Carroll
805e0ec529 Add validate_certs to vmware doc fragment (#16096) 2016-06-02 10:21:39 -04:00
Hrishikesh Barua
6354f0292b Update intro_configuration.rst (#16093)
Fix for #16092
2016-06-02 10:06:56 -04:00
Matt Clay
c9a5b1c555 Merge pull request #16000 from mattclay/shippable
Add support for full CI on shippable.com.
2016-06-01 23:24:45 -07:00
Matt Clay
b0e1efbd62 Add full support for Shippable CI. 2016-06-01 22:33:38 -07:00
Jason McKerr
6746d7928e Update ROADMAP_2_2.rst 2016-06-01 18:56:39 -04:00
Jason McKerr
c3198aa0ed Update ROADMAP_2_2.rst 2016-06-01 18:56:17 -04:00
Jason McKerr
87560a1ffc Update ROADMAP_2_2.rst 2016-06-01 18:55:16 -04:00
Jason McKerr
0a0c4f5aaa Update ROADMAP_2_2.rst 2016-06-01 18:54:53 -04:00
Jason McKerr
ecbdfeab23 Merge pull request #1 from alikins/mc-devel
formatting
2016-06-01 18:54:06 -04:00
Adrian Likins
0c629cb577 formatting 2016-06-01 18:35:24 -04:00
Adrian Likins
75d31b7a87 formatting 2016-06-01 18:32:46 -04:00
Adrian Likins
58f5624a4f formatting 2016-06-01 18:20:33 -04:00