2012-04-26 03:23:50 +02:00
|
|
|
Ansible Changes By Release
|
|
|
|
==========================
|
|
|
|
|
2012-07-04 20:03:59 +02:00
|
|
|
0.6 "Cabo" ------------ pending
|
|
|
|
|
2012-07-24 21:38:52 +02:00
|
|
|
* inventory file can use a line of the form base[beg:end]tail to define a
|
|
|
|
set of hosts, where [beg:end] defines a numerical range. 'beg' can be a
|
|
|
|
a string padded with zero(s) to the left. If so provided, it acts as
|
|
|
|
a formatting hint during hostname expansion. The hint must be confirmed
|
|
|
|
by having an 'end' that has the same length as 'beg'
|
2012-07-12 07:09:10 +02:00
|
|
|
* groups variable available as a hash to return the hosts in each group name
|
2012-07-07 14:47:13 +02:00
|
|
|
* fetch module now does not fail a system when requesting file paths (ex: logs) that don't exist
|
2012-07-07 14:49:15 +02:00
|
|
|
* apt module now takes an optional install-recommends=yes|no (default yes)
|
|
|
|
* fixes to the return codes of the copy module
|
2012-07-07 15:11:24 +02:00
|
|
|
* copy module takes a remote md5sum to avoid large file transfer
|
2012-07-07 15:30:39 +02:00
|
|
|
* when sudoing to root, still use /etc/ansible/setup as the metadata path, as if root
|
2012-07-12 02:50:43 +02:00
|
|
|
* support to tag tasks and includes and use --tags in playbook CLI
|
|
|
|
* various user and group module fixes (error handling, etc)
|
|
|
|
* apt module now takes an optional force parameter
|
|
|
|
* slightly better psychic service status handling for the service module
|
2012-07-12 07:09:10 +02:00
|
|
|
* cowsay support on Ubuntu
|
|
|
|
* playbooks can now include other playbooks (example/playbooks/nested_playbooks.yml)
|
|
|
|
* paramiko is now only imported if needed when running from source checkout
|
|
|
|
* fetch module fixes for SSH connection type
|
|
|
|
* modules now consistently all take yes/no for boolean parameters (some accepted true/false)
|
2012-07-12 07:33:13 +02:00
|
|
|
* in YAML inventory, hosts can list their groups in inverted order now also (see tests/yaml_hosts)
|
2012-07-14 17:59:12 +02:00
|
|
|
* setup module no longer saves to disk, template module now only used in playbooks
|
2012-07-14 18:24:19 +02:00
|
|
|
* setup module no longer needs to run twice per playbook
|
2012-07-14 19:46:34 +02:00
|
|
|
* vars_files now usable with with_items, provided file paths don't contain host specific facts
|
|
|
|
* error reporting if with_items value is unbound
|
2012-07-15 01:31:18 +02:00
|
|
|
* with_items no longer creates lots of tasks, creates one task that makes multiple calls
|
|
|
|
* can use host_specific facts inside with_items (see above)
|
2012-07-15 01:49:42 +02:00
|
|
|
* at the top level of a playbook, set 'gather_facts: False' to skip fact gathering
|
2012-07-15 15:25:59 +02:00
|
|
|
* first_available_file and with_items used together will now raise an error
|
2012-07-17 02:15:10 +02:00
|
|
|
* ec2 inventory script
|
|
|
|
* mount module
|
2012-07-17 02:19:52 +02:00
|
|
|
* apt module now passes DEBIAN_FRONTEND=noninteractive
|
2012-07-18 01:09:36 +02:00
|
|
|
* to catch typos, like 'var' for 'vars', playbooks and tasks now yell on invalid parameters
|
2012-07-20 15:43:45 +02:00
|
|
|
* automatically load (directory_of_inventory_file)/group_vars/groupname and /host_vars/hostname in vars_files
|
2012-07-20 16:13:26 +02:00
|
|
|
* setup module fixes if no ipv6 support
|
2012-07-24 01:34:18 +02:00
|
|
|
* internals: template in common module boilerplate, also causes less SSH operations when used
|
2012-07-20 16:13:26 +02:00
|
|
|
* git module fixes
|
|
|
|
* various ssh connection fixes for old Ubuntu clients
|
|
|
|
* setup module overhaul, more modular
|
2012-07-24 01:34:18 +02:00
|
|
|
* minor caching logic added to inventory to reduce hammering of inventory scripts.
|
|
|
|
* ./hacking/test-module now supports options like ansible takes and has a debugger mode
|
2012-07-25 01:57:21 +02:00
|
|
|
* playbook is now colorized, set ANSIBLE_NOCOLOR=1 if you do not like this, does not colorize if not a TTY
|
2012-07-25 02:10:05 +02:00
|
|
|
* support ranges of hosts in the host file
|
2012-07-26 03:05:01 +02:00
|
|
|
* hostvars now preserved between plays (regression in 0.5 from 0.4), useful for sharing vars in multinode configs
|
2012-07-28 01:03:12 +02:00
|
|
|
* MySQL and PostgreSQL modules for user and db management
|
|
|
|
* vars_prompt now supports private password entry (see examples/playbooks/prompts.yml)
|
2012-07-28 14:50:19 +02:00
|
|
|
* sudoing to a user other than root now works more seamlessly (uses /tmp, avoids umask issues)
|
2012-07-07 14:49:15 +02:00
|
|
|
|
2012-07-04 20:03:59 +02:00
|
|
|
0.5 "Amsterdam" ------- July 04, 2012
|
2012-06-20 03:20:17 +02:00
|
|
|
|
|
|
|
* Service module gets more accurate service states when running with upstart
|
|
|
|
* Jinja2 usage in playbooks (not templates), reinstated, supports %include directive
|
|
|
|
* support for --connection ssh (supports Kerberos, bastion hosts, etc), requires ControlMaster
|
|
|
|
* misc tracebacks replaced with error messages
|
|
|
|
* various API/internals refactoring
|
|
|
|
* vars can be built from other variables
|
|
|
|
* support for exclusion of hosts/groups with "!groupname"
|
|
|
|
* various changes to support md5 tool differences for FreeBSD nodes & OS X clients
|
|
|
|
* "unparseable" command output shows in command output for easier debugging
|
|
|
|
* mktemp is no longer required on remotes (not available on BSD)
|
|
|
|
* support for older versions of python-apt in the apt module
|
|
|
|
* a new "assemble" module, for constructing files from pieces of files (inspired by Puppet "fragments" idiom)
|
|
|
|
* ability to override most default values with ANSIBLE_FOO environment variables
|
|
|
|
* --module-path parameter can support multiple directories seperated with the OS path seperator
|
|
|
|
* with_items can take a variable of type list
|
|
|
|
* ansible_python_interpreter variable available for systems with more than one Python
|
|
|
|
* BIOS and VMware "fact" upgrades
|
|
|
|
* cowsay is used by ansible-playbook if installed to improve output legibility (try installing it)
|
|
|
|
* authorized_key module
|
|
|
|
* SELinux facts now sourced from the python selinux library
|
2012-06-30 00:44:09 +02:00
|
|
|
* removed module debug option -D
|
|
|
|
* added --verbose, which shows output from successful playbook operations
|
2012-06-30 00:48:37 +02:00
|
|
|
* print the output of the raw command inside /usr/bin/ansible as with command/shell
|
2012-06-30 00:56:49 +02:00
|
|
|
* basic setup module support for Solaris
|
|
|
|
* ./library relative to the playbook is always in path so modules can be included in tarballs with playbooks
|
2012-06-20 03:20:17 +02:00
|
|
|
|
2012-05-24 01:38:59 +02:00
|
|
|
0.4 "Unchained" ------- May 23, 2012
|
2012-04-26 03:23:50 +02:00
|
|
|
|
2012-05-24 01:38:59 +02:00
|
|
|
Internals/Core
|
|
|
|
* internal inventory API now more object oriented, parsers decoupled
|
|
|
|
* async handling improvements
|
|
|
|
* misc fixes for running ansible on OS X (overlord only)
|
2012-04-26 03:30:04 +02:00
|
|
|
* sudo improvements, now works much more smoothly
|
2012-05-24 01:38:59 +02:00
|
|
|
* sudo to a particular user with -U/--sudo-user, or using 'sudo_user: foo' in a playbook
|
|
|
|
* --private-key CLI option to work with pem files
|
|
|
|
|
|
|
|
Inventory
|
|
|
|
* can use -i host1,host2,host3:port to specify hosts not in inventory (replaces --override-hosts)
|
|
|
|
* ansible INI style format can do groups of groups [groupname:children] and group vars [groupname:vars]
|
|
|
|
* groups and users module takes an optional system=yes|no on creation (default no)
|
2012-04-26 03:30:04 +02:00
|
|
|
* list of hosts in playbooks can be expressed as a YAML list in addition to ; delimited
|
2012-05-24 01:38:59 +02:00
|
|
|
|
|
|
|
Playbooks
|
|
|
|
* variables can be replaced like ${foo.nested_hash_key.nested_subkey[array_index]}
|
|
|
|
* unicode now ok in templates (assumes utf8)
|
|
|
|
* able to pass host specifier or group name in to "hosts:" with --extra-vars
|
|
|
|
* ansible-pull script and example playbook (extreme scaling, remediation)
|
|
|
|
* inventory_hostname variable available that contains the value of the host as ansible knows it
|
|
|
|
* variables in the 'all' section can be used to define other variables based on those values
|
|
|
|
* 'group_names' is now a variable made available to templates
|
2012-04-27 05:12:09 +02:00
|
|
|
* first_available_file feature, see selective_file_sources.yml in examples/playbooks for info
|
2012-04-28 17:29:02 +02:00
|
|
|
* --extra-vars="a=2 b=3" etc, now available to inject parameters into playbooks from CLI
|
2012-05-24 01:38:59 +02:00
|
|
|
|
|
|
|
Incompatible Changes
|
|
|
|
* jinja2 is only usable in templates, not playbooks, use $foo instead
|
|
|
|
* --override-hosts removed, can use -i with comma notation (-i "ahost,bhost")
|
2012-04-27 07:27:47 +02:00
|
|
|
* modules can no longer include stderr output (paramiko limitation from sudo)
|
2012-05-24 01:38:59 +02:00
|
|
|
|
|
|
|
Module Changes
|
|
|
|
* tweaks to SELinux implementation for file module
|
|
|
|
* fixes for yum module corner cases on EL5
|
|
|
|
* file module now correctly returns the mode in octal
|
2012-05-02 05:03:00 +02:00
|
|
|
* fix for symlink handling in the file module
|
|
|
|
* service takes an enable=yes|no which works with chkconfig or updates-rc.d as appropriate
|
2012-05-02 05:05:40 +02:00
|
|
|
* service module works better on Ubuntu
|
|
|
|
* git module now does resets and such to work more smoothly on updates
|
2012-05-08 05:48:18 +02:00
|
|
|
* modules all now log to syslog
|
2012-05-10 05:31:58 +02:00
|
|
|
* enabled=yes|no on a service can be used to toggle chkconfig & updates-rc.d states
|
2012-05-24 01:38:59 +02:00
|
|
|
* git module supports branch=
|
|
|
|
* service fixes to better detect status using return codes of the service script
|
|
|
|
* custom facts provided by the setup module mean no dependency on Ruby, facter, or ohai
|
|
|
|
* service now has a state=reloaded
|
|
|
|
* raw module for bootstrapping and talking to routers w/o Python, etc
|
|
|
|
|
|
|
|
Misc Bugfixes
|
|
|
|
* fixes for variable parsing in only_if lines
|
|
|
|
* misc fixes to key=value parsing
|
2012-05-10 05:31:58 +02:00
|
|
|
* variables with mixed case now legal
|
2012-05-24 01:38:59 +02:00
|
|
|
* fix to internals of hacking/test-module development script
|
|
|
|
|
2012-04-26 03:23:50 +02:00
|
|
|
|
|
|
|
0.3 "Baluchitherium" -- April 23, 2012
|
|
|
|
|
|
|
|
* Packaging for Debian, Gentoo, and Arch
|
|
|
|
* Improvements to the apt and yum modules
|
|
|
|
* A virt module
|
|
|
|
* SELinux support for the file module
|
|
|
|
* Ability to use facts from other systems in templates (aka exported
|
|
|
|
resources like support)
|
|
|
|
* Built in Ansible facts so you don't need ohai, facter, or Ruby
|
|
|
|
* tempdir selections that work with noexec mounted /tmp
|
|
|
|
* templates happen locally, not remotely, so no dependency on
|
|
|
|
python-jinja2 for remote computers
|
|
|
|
* advanced inventory format in YAML allows more control over variables
|
|
|
|
per host and per group
|
|
|
|
* variables in playbooks can be structured/nested versus just a flat namespace
|
|
|
|
* manpage upgrades (docs)
|
|
|
|
* various bugfixes
|
|
|
|
* can specify a default --user for playbooks rather than specifying it
|
|
|
|
in the playbook file
|
|
|
|
* able to specify ansible port in ansible host file (see docs)
|
|
|
|
* refactored Inventory API to make it easier to write scripts using Ansible
|
|
|
|
* looping capability for playbooks (with_items)
|
|
|
|
* support for using sudo with a password
|
|
|
|
* module arguments can be unicode
|
|
|
|
* A local connection type, --connection=local, for use with cron or
|
|
|
|
in kickstarts
|
|
|
|
* better module debugging with -D
|
|
|
|
* fetch module for pulling in files from remote hosts
|
|
|
|
* command task supports creates=foo for idempotent semantics, won't
|
|
|
|
run if file foo already exists
|
|
|
|
|
|
|
|
0.0.2 and 0.0.1
|
|
|
|
|
|
|
|
* Initial stages of project
|
|
|
|
|