1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
Commit graph

6076 commits

Author SHA1 Message Date
Michael DeHaan
f8c7a3c654 Merge pull request #3406 from podollb/devel
fixing small mis-spelling
2013-07-11 05:29:11 -07:00
Michael DeHaan
0fd7864482 Merge pull request #3432 from jlund/hg-spelling
Fix some minor spelling mistakes in the hg module documentation
2013-07-11 05:26:57 -07:00
Michael DeHaan
90dfc115d6 Merge pull request #3463 from stoned/filterskipped
Add Jinja2 filter 'skipped' to test for a registered variable from a ski...
2013-07-11 05:26:25 -07:00
Michael DeHaan
279247dfac Merge pull request #3464 from stoned/filterquote
Add Jinja2 filter 'quote' to quote string for shell usage
2013-07-11 05:25:43 -07:00
Michael DeHaan
d6d9e804d3 Merge pull request #3480 from j2sol/fail_doc
Update fail docs for new syntax
2013-07-11 05:22:47 -07:00
Michael DeHaan
5f36079ffd Merge pull request #3486 from pieska/expandvars
expand vars like $HOME used in config values too
2013-07-11 05:22:18 -07:00
Michael DeHaan
ee73276310 Merge pull request #3492 from jlund/advanced-playbooks
Fix some minor typos in the Advanced Playbooks documentation
2013-07-11 05:21:13 -07:00
Michael DeHaan
e44847e3d6 Merge pull request #3494 from jlund/authorized-key
Add a new with_file example to the authorized_key documentation
2013-07-11 05:20:24 -07:00
Johan Wirén
1c247c9eb4 Updated GenericBsdIfconfigNetwork to collect gateway 2013-07-11 00:05:53 +02:00
Johan Wirén
10e9194744 Fix for populating default_ipv6 on BSD systems 2013-07-10 22:54:33 +02:00
Joshua Lund
cc275ca2be Added a new with_file example to the authorized_key documentation 2013-07-10 14:09:03 -06:00
Patrik Lundin
1b08da26fd openbsd_pkg: some whitespace cleanup. 2013-07-10 21:23:10 +02:00
Joshua Lund
7c78fef1f5 Fixed some minor typos in the Advanced Playbooks documentation 2013-07-10 13:09:12 -06:00
Patrik Lundin
af52cd6ec1 openbsd_pkg: sync package_latest().
This diff syncs package_latest() with the changes to package_present().
I have not managed to figure out how to handle the cornercases where
stderr is set but the command has not failed, so leave a FIXME blob for
other adventurers.
2013-07-10 21:06:35 +02:00
Patrik Lundin
0e4e6e8a84 openbsd_pkg: Handle another pkg_add gotcha
* Add '-m' to pkg_add incovation to get access to the "packagename-1.0: ok"
  message.
* Watch for that message if we are about to fail because of stderr in
  package_present().
2013-07-10 18:19:01 +02:00
Darragh O'Reilly
6346798e7e Keystone_user module: fix authentication needs tenant_name too
The keystone client needs to be passed tenant_name when authenticating the
user/password way. Also it needs auth_url instead of endpoint.
This fix adds login_tenant_name as a module parameter which is consistent
with the other OpenStack modules.
2013-07-10 07:21:07 +01:00
Patrik Lundin
a67ea75dec openbsd_pkg: handle pkg_add quirks better.
This fixes a problem when trying to install a package with a specific version
number from a local directory and the local directory is checked after a remote
repository:

Error from http://ftp.eu.openbsd.org/pub/OpenBSD/[...]/packagename-1.0.tgz
ftp: Error retrieving file: 404 Not Found
packagename-1.0: ok
2013-07-09 20:56:22 +02:00
Andreas Piesk
e5ff35bbdb expand vars like $HOME used in config values too 2013-07-09 20:33:33 +02:00
Frank Shearar
9ba4a42ff8 Minor typo 2013-07-09 17:33:30 +01:00
Frank Shearar
ec78daa456 Let someone specify a path to a Rabbit that's not installed in the usual place. 2013-07-09 17:33:14 +01:00
Felix Stuermer
b5df29901f Use the force=yes option for apt upgrade actions 2013-07-09 10:57:19 +02:00
Patrick Callahan
8f14ffe56b Bug fixes and enhancements.
Bugs:
(1) no longer allow empty jobs
(2) strip the header added by crontab package used in openSuSE and SuSE
(3) try not to leak temp files when things go wrong
(4) issue returning job names under certain conditions

Enhancements:
(1) Allow all special times not just reboot.
(2) Fail earlier by performing more input validation
(3) Add feature to allow removing cron file under /etc/cron.d

ToDo:
(1) Validate times (minute, hour, ...)
(2) Strip white space from fields such as name and job such that name=foo equals name=' foo'.
(3) More testing
2013-07-09 03:21:40 +00:00
Jesse Keating
1689001036 Update fail docs for new syntax
Use when instead of only_if
Use new variable style
2013-07-08 14:22:05 -07:00
Michael DeHaan
714cb02f5b Merge pull request #3477 from bcoca/fix_service_checkmode
fixed check mode for service module
2013-07-08 12:44:44 -07:00
Brian Coca
0664e36aa2 fixed check mode
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-07-08 15:41:39 -04:00
Evan Duffield
7932ccef46 added note about AMI security 2013-07-08 10:24:22 -07:00
Evan Duffield
e33f5ae56e Merge branch 'devel' of https://github.com/evan82/ansible into devel 2013-07-08 09:26:04 -07:00
Evan Duffield
45bdda24db added region to spec 2013-07-08 09:24:18 -07:00
Michael DeHaan
1bf4a4fa97 Merge pull request #3469 from johnny-die-tulpe/devel
Fixed indention of vv() output
2013-07-08 05:58:11 -07:00
Casper Langemeijer
922a71fced Only append non_unique parameter if a uid is provided as well 2013-07-08 11:46:38 +02:00
Lasse Borchard
8c8b4d56fc Fixed indention of vv() output 2013-07-08 11:18:33 +02:00
Stoned Elipot
247322bb16 Add Jinja2 filter 'quote' to quote string for shell usage 2013-07-08 00:37:23 +02:00
Stoned Elipot
906746b1f0 Add Jinja2 filter 'skipped' to test for a registered variable from a skipped task 2013-07-07 22:13:14 +02:00
Stoned Elipot
2d88c70cd5 Introduce exception AnsibleFilterError and use it in Jinja filters. Ignore this exception when trying to find the name of a task for display (callback) purpose. 2013-07-07 19:18:32 +02:00
Cristobal Rosa
51166c9cfa Remove unnecesary call 2013-07-06 22:12:30 +02:00
Michael DeHaan
b2d881a899 Fixup changelog dates 2013-07-05 22:12:33 -04:00
Michael DeHaan
8a82b5c817 Slight revisement to configuration file comment. 2013-07-05 22:11:51 -04:00
Michael DeHaan
6063f64526 Update changelog 2013-07-05 22:11:32 -04:00
Michael DeHaan
3712ca7cde Update releases 2013-07-05 22:10:34 -04:00
Michael DeHaan
5354ab043d Update changelogs 2013-07-05 22:09:04 -04:00
Michael DeHaan
cf6e1f8db9 Make it possible to tell paramiko to not record new host keys, which can be slow with a large number of hosts.
-c ssh is preferred in most cases if you have ControlPersist available, otherwise if you are comfortable you
can turn off recording while leaving host key checking on, etc.
2013-07-05 22:06:54 -04:00
Michael DeHaan
14818af446 Merge pull request #3450 from tonk/sudo
Repair issue #3447
2013-07-05 16:08:29 -07:00
Michael DeHaan
aa9385411d Merge pull request #3443 from ajsalminen/arg_unicode_fix
Use .encode() instead of str() to support unicode arguments.
2013-07-05 15:26:29 -07:00
Matt Lesko
b37ecb055c set checkout destination directory to be full path
we chdir into this path and read the playbook/inventory if a
non-absolute path is given on the command line, that will fail
2013-07-05 17:57:01 +00:00
James Martin
93d5d76468 Fixed #3433. Using get_bin_path, removed uneeded imports, "module" is inlined, misc other style improvements. 2013-07-05 13:22:44 -04:00
Ton Kersten
37ee361be1 Repair issue #3447 2013-07-05 19:10:36 +02:00
Serge van Ginderachter
129c7522d9 allow ansible_ssh_host to be templated
Use case: e.g. dual homed hosts on production en management network

The inventory_hostname is the regular host name and matches the
dns name on the production network; ansible connects to the host
through a management network; the dns name on the management network
is standardized and equals ${inventory_hostname}-mgt.mynetwork.com

Now this can be configured as the default in group_vars/all:

   ansible_ssh_host: {{ inventory_hostname + '-mgt.mynetwork.com' }}
2013-07-05 18:05:26 +02:00
Michael DeHaan
4dfbbc4499 Revert "ini_file: add support for lists of options/values"
Breaks "," values in INI files

This reverts commit af051d6f77.
2013-07-05 12:04:07 -04:00
Evan Wies
98bbf9708a digital_ocean: whitespace changes 2013-07-05 10:38:04 -04:00
Evan Wies
9b1a57f1f3 digital_ocean: make sure 'images' includes non-global images
The `dopy` library function all_images includes a 'global' filter
by default.  This was preventing private images from showing up
in --images.

The problem also made this script fail immediately for people
who had droplets previously created with private images.
2013-07-05 10:00:01 -04:00