Commit Graph

6041 Commits (7961a81b3f9583c4986a0dafa43b11ddbf8a3478)
 

Author SHA1 Message Date
Michael DeHaan b2d881a899 Fixup changelog dates 12 years ago
Michael DeHaan 8a82b5c817 Slight revisement to configuration file comment. 12 years ago
Michael DeHaan 6063f64526 Update changelog 12 years ago
Michael DeHaan 3712ca7cde Update releases 12 years ago
Michael DeHaan 5354ab043d Update changelogs 12 years ago
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.
12 years ago
Michael DeHaan 14818af446 Merge pull request #3450 from tonk/sudo
Repair issue #3447
12 years ago
Michael DeHaan aa9385411d Merge pull request #3443 from ajsalminen/arg_unicode_fix
Use .encode() instead of str() to support unicode arguments.
12 years ago
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
12 years ago
James Martin 93d5d76468 Fixed #3433. Using get_bin_path, removed uneeded imports, "module" is inlined, misc other style improvements. 12 years ago
Ton Kersten 37ee361be1 Repair issue #3447 12 years ago
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' }}
12 years ago
Michael DeHaan 4dfbbc4499 Revert "ini_file: add support for lists of options/values"
Breaks "," values in INI files

This reverts commit af051d6f77.
12 years ago
Evan Wies 98bbf9708a digital_ocean: whitespace changes 12 years ago
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.
12 years ago
Cristobal Rosa cf48141a33 Fixed monit module. Ignore uppercase letters 12 years ago
Michael DeHaan 4a9f72dcce Merge in release notes from 1.2.1 12 years ago
Michael DeHaan 8163518c0e Update packaging changelogs.
Conflicts:

	packaging/rpm/ansible.spec
12 years ago
Michael DeHaan b9206d9df9 Update the releases list.
Conflicts:

	RELEASES.txt
12 years ago
Michael DeHaan d002c2d907 Document 'smart' option and connection type default changes. 12 years ago
Michael DeHaan 3d73fb9cd7 Merge pull request #3444 from skvidal/yumopt
- optimize for the extremely common case of people specifying pkg names ...
12 years ago
Michael DeHaan 107ced7ec5 Mention envrionment variable configuration. 12 years ago
Michael DeHaan 1ead97098d Talk more about transports in documentation. 12 years ago
Michael DeHaan 2cb7c30834 Improve interlaced output prevention when asking for host key approval. 12 years ago
Seth Vidal d710201ecc - optimize for the extremely common case of people specifying pkg names which are, ultimately, already installed
on a system here time went from  16s for a series of pkgs to 3s to just
  check that they were installed.
12 years ago
Michael DeHaan c55adc9ac9 Default to 'smart' transport, which will use OpenSSH if it can support ControlPersist. 12 years ago
Antti Salminen d7c6cf10c2 Use .encode() instead of str() to support unicode arguments.
str() throws an UnicodeEncodeError for code points that cannot be
represented in 7-bit ASCII. This makes it impossible to use any
non-ASCII characters in module arguments. Using encode('utf-8')
gives the desired result.
12 years ago
Michael DeHaan 1683d44d2e Lock around SSH connectivity to new hosts in host checking mode such that prompts for host approval
messages do not get interlaced.
12 years ago
Michael DeHaan cb26945d54 Close the named temporary file. 12 years ago
Michael DeHaan 3b1aa092f8 Closing stdin too early. 12 years ago
Michael DeHaan ffadbc520a Enable paramiko to ask whether to add keys to known hosts. 12 years ago
Evan Wies cbeb6a63e5 supervisorctl: add command-line options as module parameters
Adds more parameters which may be passed to supervisorctl:  config,
serverurl, username, password

Also refactored the various `module.run_command(build_a_string)` calls
into a single `run_supervisorctl` function.
12 years ago
lwade ae992c6b6e Rewritten s3 module to allow for additional modes of operation. 12 years ago
Patrik Lundin 1f1aa1f0a8 Fix path to ntp.conf.j2 in example.
The "common" role adds "common/templates/" to the src path.
12 years ago
Michael DeHaan cff4ab511c Merge pull request #3434 from mspaulding06/git_submodule_update
Fix git submodule update when version specified
12 years ago
Matt Spaulding 871f781ec7 Fix git submodule update when version specified 12 years ago
Michael DeHaan d96cedcad1 Example config file should use correct config setting. 12 years ago
Michael DeHaan 9db4f7a9a6 Makes host key checking the default behavior but can be disabled in ansible.cfg or by environment variable. 12 years ago
Joshua Lund caf394c8f6 Fix some minor spelling mistakes in the hg module documentation 12 years ago
Jan-Piet Mens 9a82d8c692 files/stat: add pw_name and md5 sum to stat, and add meaningful? example
remove unnecessary import,
  md5 sum on regular files only
12 years ago
Evan de211aa8ec Getting timeout errors this morning as AMIs are taking a bit longer to create, so I changed to timeout to 15 minutes 12 years ago
Evan 637a6c562e fixed spelling errors, unused variables and unused import 12 years ago
Michael DeHaan 4407ca8031 Merge pull request #3427 from insom/issue3409
Make the CPU facts Hyperthreading aware
12 years ago
Aaron Brady efc4bc10d4 Make the CPU facts Hyperthreading aware 12 years ago
trbs 3b2173b6df sleep option for service module which adds a pauze between stopping and starting a service using state=restarted. This helps for bad scripts that exist immediatly after signaling a process to stop. 12 years ago
Michael DeHaan f8396622fa Merge pull request #3418 from stoned/filter-bool
Add Jinja2 filter |bool : return boolean interpretation of the value
12 years ago
Michael DeHaan 2f4c930d35 Merge pull request #3423 from arsatiki/devel
Fix service enable on FreeBSD
12 years ago
Antti Rasinen 93fc3391fe Fix service enable on FreeBSD
Some services have a knob (i.e. rc.conf setting) whose name
differs from that of the script. For example, lockd process
is controlled with a script called lockd, but the rc.conf
value is rpc_lockd_enable.

Fixes issue #3382.
12 years ago
Stoned Elipot 0b3483cf03 Add Jinja2 filter |bool : return boolean interpretation of the value
'yes', 'on', '1', 'true', insensitively, and 1 are true,
 everything else is false
12 years ago
Evan Wies 3f6bc3f664 digital_ocean.py enhancements
* Always refresh droplet information (versus getting it from cache) for
  --list, --host, --droplets, and --all.   All the DigitalOcean calls are
  pretty fast and without this change, inventory was often stale/incorrect.
  For example, previously if you destroyed a droplet, the inventory
  script would still find it and attempt to act on it.

* Added --force-cache option

* Added some option shortcuts -d, -r

* Added more value sanitization
12 years ago