2012-04-26 01:23:50 +00:00
Ansible Changes By Release
==========================
2015-08-27 17:32:46 +00:00
## 2.0 "Over the Hills and Far Away" - ACTIVE DEVELOPMENT
2014-11-25 22:49:45 +00:00
2015-03-25 19:17:02 +00:00
Major Changes:
2015-07-06 23:53:42 +00:00
* Introducing the new block/rescue/always directives, allow for making task blocks and introducing exception like semantics
2015-07-27 22:00:14 +00:00
* New strategy plugins, allow to control the flow of execution of tasks per play, the default will be the same as before
2015-07-06 23:53:42 +00:00
* Improved error handling, now you get much more detailed parser messages. General exception handling and display has been revamped.
* Task includes now get evaluated during execution, end behaviour will be the same but it now allows for more dynamic includes and options.
2015-08-18 01:49:35 +00:00
* First feature of the more dynamic includes is that "with\_< lookup > " loops are now usable with them.
2015-07-06 23:53:42 +00:00
* callback, connection and lookup plugin APIs have changed, some will require modification to work with new version
* callbacks are now shipped in the active directory and don't need to be copied, just whitelisted in ansible.cfg
* Many API changes, this will break those currently using it directly, but the new API is much easier to use and test
2015-07-27 22:00:14 +00:00
* Settings are now more inheritable, what you set at play, block or role will be automatically inhertited by the contained.
This allows for new features to automatically be settable at all levels, previously we had to manually code this
* template code now retains types for bools and numbers instead of turning them into strings.
2015-04-21 19:27:09 +00:00
If you need the old behaviour, quote the value and it will get passed around as a string
2015-07-18 19:27:08 +00:00
* added meta: refresh_inventory to force rereading the inventory in a play
2015-08-19 03:58:12 +00:00
* vars are now settable at play, block, role and task level
2015-05-08 14:12:36 +00:00
* template code now retains types for bools, and Numbers instead of turning them into strings
If you need the old behaviour, quote the value and it will get passed around as a string. In the
case of nulls, the output used to be an empty string.
* Empty variables and variables set to null in yaml will no longer be converted to empty strings.
They will retain the value of `None` . To go back to the old behaviour, you can override
the `null_representation` setting to an empty string in your config file or by setting the
`ANSIBLE_NULL_REPRESENTATION` environment variable.
2015-08-31 21:14:41 +00:00
* backslashes used when specifying parameters in jinja2 expressions in YAML
dicts sometimes needed to be escaped twice. This has been fixed so that
escaping once works. Here's an example of how playbooks need to be modified::
# Syntax in 1.9.x
- debug:
msg: "{{ 'test1_junk 1\\\\3' | regex_replace('(.*)_junk (.*)', '\\\\1 \\\\2') }}"
# Syntax in 2.0.x
- debug:
msg: "{{ 'test1_junk 1\\3' | regex_replace('(.*)_junk (.*)', '\\1 \\2') }}"
# Output:
"msg": "test1 1\\3"
2014-11-25 22:49:45 +00:00
2015-09-02 20:15:29 +00:00
* When a string with a trailing newline was specified in the playbook via yaml
dict format, the trailing newline was stripped. When specified in key=value
format the trailing newlines were kept. In v2, both methods of specifying the
2015-09-03 22:23:33 +00:00
string will keep the trailing newlines. If you relied on the trailing
newline being stripped you can change your playbook like this::
# Syntax in 1.9.2
vars:
message: >
Testing
some things
tasks:
- debug:
msg: "{{ message }}"
# Syntax in 2.0.x
vars:
old_message: >
Testing
some things
message: "{{ old_messsage[:-1] }}"
- debug:
msg: "{{ message }}"
# Output
"msg": "Testing some things"
2015-09-02 20:15:29 +00:00
2015-05-04 16:04:18 +00:00
Deprecated Modules (new ones in parens):
* ec2_ami_search (ec2_ami_find)
2015-05-26 17:51:32 +00:00
* quantum_network (os_network)
2015-06-05 23:22:06 +00:00
* glance_image
2015-05-04 16:04:18 +00:00
* nova_compute (os_server)
2015-07-07 23:44:35 +00:00
* quantum_floating_ip (os_floating_ip)
2015-04-16 19:42:55 +00:00
2015-03-25 19:17:02 +00:00
New Modules:
2015-06-19 15:00:17 +00:00
* amazon: ec2_ami_copy
2015-06-05 18:04:26 +00:00
* amazon: ec2_ami_find
2015-08-24 15:27:35 +00:00
* amazon: ec2_elb_facts
2015-06-19 05:35:07 +00:00
* amazon: ec2_eni
2015-06-16 15:05:06 +00:00
* amazon: ec2_eni_facts
2015-08-07 04:01:35 +00:00
* amazon: ec2_remote_facts
2015-06-26 20:15:57 +00:00
* amazon: ec2_vpc_net
2015-09-02 13:58:39 +00:00
* amazon: ec2_vpc_route_table
2015-07-28 18:59:27 +00:00
* amazon: ec2_vpc_route_table_facts
2015-08-04 15:56:12 +00:00
* amazon: ec2_vpc_subnet
2015-06-05 18:04:26 +00:00
* amazon: ec2_win_password
2015-06-26 20:15:57 +00:00
* amazon: elasticache_subnet_group
2015-06-05 18:04:26 +00:00
* amazon: iam
2015-06-09 14:03:39 +00:00
* amazon: iam_policy
2015-07-06 23:53:42 +00:00
* amazon: route53_zone
2015-07-13 23:30:38 +00:00
* amazon: sts_assume_role
2015-08-23 22:35:17 +00:00
* amazon: s3_bucket
2015-07-19 03:50:11 +00:00
* amazon: s3_logging
2015-08-03 20:27:06 +00:00
* apk
2015-06-30 00:46:04 +00:00
* bundler
2015-08-26 11:49:33 +00:00
* centurylink: clc_blueprint_package
* centurylink: clc_firewall_policy
2015-08-15 19:27:29 +00:00
* centurylink: clc_loadbalancer
* centurylink: clc_modify_server
2015-07-20 14:04:14 +00:00
* centurylink: clc_publicip
2015-08-15 19:27:29 +00:00
* centurylink: clc_server
2015-05-13 13:21:55 +00:00
* circonus_annotation
2015-04-27 16:20:17 +00:00
* consul
* consul_acl
* consul_kv
* consul_session
2015-04-21 19:27:09 +00:00
* cloudtrail
2015-05-11 19:30:59 +00:00
* cloudstack: cs_account
2015-04-21 19:27:09 +00:00
* cloudstack: cs_affinitygroup
2015-08-07 04:01:35 +00:00
* cloudstack: cs_domain
2015-06-19 13:44:24 +00:00
* cloudstack: cs_facts
2015-04-21 19:27:09 +00:00
* cloudstack: cs_firewall
* cloudstack: cs_iso
2015-05-04 15:19:20 +00:00
* cloudstack: cs_instance
2015-05-08 22:30:41 +00:00
* cloudstack: cs_instancegroup
2015-08-10 21:27:25 +00:00
* cloudstack: cs_ip_address
2015-06-11 07:31:24 +00:00
* cloudstack: cs_network
2015-05-13 13:46:02 +00:00
* cloudstack: cs_portforward
2015-06-01 14:17:18 +00:00
* cloudstack: cs_project
2015-04-21 19:27:09 +00:00
* cloudstack: cs_sshkeypair
* cloudstack: cs_securitygroup
* cloudstack: cs_securitygroup_rule
2015-07-20 13:58:31 +00:00
* cloudstack: cs_staticnat
2015-06-15 14:42:55 +00:00
* cloudstack: cs_template
2015-04-21 19:27:09 +00:00
* cloudstack: cs_vmsnapshot
2015-06-06 01:51:41 +00:00
* datadog_monitor
2015-06-17 15:50:02 +00:00
* dpkg_selections
2015-07-16 20:51:26 +00:00
* elasticsearch_plugin
2015-06-11 17:11:09 +00:00
* expect
2015-06-05 18:04:26 +00:00
* find
2015-06-17 16:46:45 +00:00
* hall
2015-07-27 22:54:47 +00:00
* libvirt: virt_net
2015-07-27 18:13:18 +00:00
* libvirt: virt_pool
2015-04-21 19:27:09 +00:00
* maven_artifact
2015-06-16 22:25:57 +00:00
* openstack: os_ironic
* openstack: os_ironic_node
2015-06-06 02:23:50 +00:00
* openstack: os_client_config
2015-07-07 23:44:35 +00:00
* openstack: os_floating_ip
2015-06-05 23:22:06 +00:00
* openstack: os_image
2015-05-26 17:51:32 +00:00
* openstack: os_network
2015-07-16 23:08:13 +00:00
* openstack: os_nova_flavor
2015-06-16 22:25:57 +00:00
* openstack: os_object
* openstack: os_security_group
2015-07-07 16:39:11 +00:00
* openstack: os_security_group_rule
2015-05-04 16:04:18 +00:00
* openstack: os_server
2015-05-26 21:30:10 +00:00
* openstack: os_server_actions
2015-04-22 20:20:29 +00:00
* openstack: os_server_facts
2015-05-04 15:19:20 +00:00
* openstack: os_server_volume
* openstack: os_subnet
* openstack: os_volume
2015-06-16 23:19:55 +00:00
* osx_defaults
2015-08-27 23:28:05 +00:00
* pagerduty_alert
2015-07-28 12:23:31 +00:00
* pam_limits
2015-06-08 14:52:19 +00:00
* pear
2015-07-21 18:03:47 +00:00
* profitbricks: profitbricks
2015-08-15 19:27:29 +00:00
* profitbricks: profitbricks_datacenter
* profitbricks: profitbricks_nic
2015-08-26 11:49:33 +00:00
* profitbricks: profitbricks_snapshot
2015-08-15 19:27:29 +00:00
* profitbricks: profitbricks_volume
2015-08-26 11:49:33 +00:00
* profitbricks: profitbricks_volume_attachments
2015-05-25 14:35:28 +00:00
* proxmox
2015-06-26 20:58:14 +00:00
* proxmox_template
* puppet
* pushover
2015-05-14 00:05:47 +00:00
* pushbullet
2015-06-26 20:18:51 +00:00
* rax: rax_mon_alarm
* rax: rax_mon_check
* rax: rax_mon_entity
* rax: rax_mon_notification
2015-06-26 20:21:38 +00:00
* rax: rax_mon_notification_plan
2015-05-18 12:17:29 +00:00
* rabbitmq_binding
* rabbitmq_exchange
* rabbitmq_queue
2015-07-30 02:27:23 +00:00
* selinux_permissive
2015-06-19 15:18:55 +00:00
* sensu_check
* sensu_subscription
2015-08-15 19:27:29 +00:00
* seport
2015-08-03 20:35:15 +00:00
* slackpkg
2015-08-14 17:06:39 +00:00
* solaris_zone
2015-04-21 19:27:09 +00:00
* vertica_configuration
* vertica_facts
* vertica_role
* vertica_schema
* vertica_user
2015-07-28 22:47:16 +00:00
* vmware: vmware_datacenter
2015-08-24 17:18:06 +00:00
* vmware: vmware_cluster
2015-08-24 18:15:07 +00:00
* vmware: vmware_dns_config
2015-08-24 21:24:21 +00:00
* vmware: vmware_dvs_host
2015-08-26 23:33:49 +00:00
* vmware: vmware_dvs_portgroup
* vmware: vmware_dvswitch
* vmware: vmware_host
* vmware: vmware_vmkernel_ip_config
2015-08-26 11:49:33 +00:00
* vmware: vmware_portgroup
* vmware: vmware_vm_facts
2015-08-26 23:33:49 +00:00
* vmware: vmware_vmkernel
2015-08-24 21:24:21 +00:00
* vmware: vmware_vsan_cluster
* vmware: vmware_vswitch
2015-07-28 22:47:16 +00:00
* vmware: vca_fw
* vmware: vca_nat
* vmware: vsphere_copy
2015-06-05 15:21:08 +00:00
* webfaction_app
* webfaction_db
* webfaction_domain
* webfaction_mailbox
* webfaction_site
2015-05-26 14:05:25 +00:00
* win_environment
2015-06-26 20:00:11 +00:00
* win_scheduled_task
2015-06-26 20:58:14 +00:00
* win_iis_virtualdirectory
* win_iis_webapplication
* win_iis_webapppool
* win_iis_webbinding
* win_iis_website
2015-07-07 14:41:42 +00:00
* win_regedit
2015-07-17 05:12:54 +00:00
* win_unzip
2015-07-28 20:13:31 +00:00
* xenserver_facts
2015-06-05 15:21:08 +00:00
* zabbix_host
* zabbix_hostmacro
* zabbix_screen
2015-08-10 14:03:52 +00:00
* znode
2015-03-25 19:17:02 +00:00
2015-04-13 14:10:32 +00:00
New Inventory scripts:
2015-05-04 15:34:02 +00:00
* cloudstack
2015-04-21 19:27:09 +00:00
* fleetctl
2015-07-28 02:51:38 +00:00
* openvz
2015-09-01 15:21:06 +00:00
* nagios_ndo
2015-07-28 22:38:23 +00:00
* proxmox
2015-06-16 15:51:36 +00:00
* serf
2015-04-13 14:10:32 +00:00
2015-08-07 03:30:36 +00:00
New Lookups:
* credstash
2015-08-11 01:10:00 +00:00
* hashi_vault
2015-08-07 13:51:24 +00:00
* ini
2015-08-13 14:49:16 +00:00
* shelvefile
2015-08-07 03:30:36 +00:00
2015-08-28 05:33:40 +00:00
New filters:
* combine
2015-08-25 21:59:22 +00:00
New Connection Methods:
* Added a connection plugin for talking to docker containers on the ansible controller machine without using ssh
2015-08-13 11:51:53 +00:00
Minor changes:
2015-08-18 01:49:35 +00:00
* Many more tests, new API makes things more testable and we took advantage of it
* big_ip modules now support turning off ssl certificate validation (use only for self signed)
2015-08-30 07:44:02 +00:00
* Use "pattern1:pattern2" to combine host matching patterns. The undocumented
use of semicolons or commas to combine patterns is no longer supported.
* Use ``hosts: groupname[x:y]`` to select a subset of hosts in a group; the
``[x-y]`` range syntax is no longer supported. Note that ``[0:1]`` matches
two hosts, i.e. the range is inclusive of its endpoints.
2015-08-18 01:49:35 +00:00
* Now when you delegate a action that returns ansible_facts, these facts will now be applied to the delegated host,
unlike before which they were applied to the current host.
* Consolidated code from modules using urllib2 to normalize features, TLS and SNI support
* synchronize module's dest_port parameter now takes precedence over the ansible_ssh_port inventory setting
* play output is now dynamically sized to terminal with a minimal of 80 coluumns (old default)
* vars_prompt and pause are now skipped with a warning if the play is called non interactively (i.e. pull from cron)
* Support for OpenBSD's 'doas' privilege escalation method.
2015-08-24 12:22:18 +00:00
* most vault operations can now be done over multilple files
2015-08-28 05:33:40 +00:00
* ansible-vault encrypt/decrypt read from stdin if no other input file is given,
2015-08-29 02:52:20 +00:00
and can write to a given ``--output file`` (including stdout, '-'). This lets
you avoid ever writing sensitive plaintext to disk.
2015-08-28 05:33:40 +00:00
* ansible-vault rekey accepts the --new-vault-password-file option.
2015-09-02 16:59:39 +00:00
* configuration items defined as paths (local only) will now all support shell style interpolations
2015-09-01 15:21:06 +00:00
* many fixes and new options added to modules, too many to list here.
2015-08-13 11:51:53 +00:00
2015-07-07 21:55:17 +00:00
## 1.9.2 "Dancing In the Street" - Jun 26, 2015
* Security fixes to check that hostnames match certificates with https urls (CVE-2015-3908)
- get_url and uri modules
- url and etcd lookup plugins
* Security fixes to the zone (Solaris containers), jail (bsd containers),
and chroot connection plugins. These plugins can be used to connect to
their respective container types in leiu of the standard ssh connection.
Prior to this fix being applied these connection plugins didn't properly
handle symlinks within the containers which could lead to files intended to
be written to or read from the container being written to or read from the
host system instead. (CVE pending)
* Fixed a bug in the service module where init scripts were being incorrectly used instead of upstart/systemd.
* Fixed a bug where sudo/su settings were not inherited from ansible.cfg correctly.
* Fixed a bug in the rds module where a traceback may occur due to an unbound variable.
* Fixed a bug where certain remote file systems where the SELinux context was not being properly set.
* Re-enabled several windows modules which had been partially merged (via action plugins):
- win_copy.ps1
- win_copy.py
- win_file.ps1
- win_file.py
- win_template.py
* Fix bug using with_sequence and a count that is zero. Also allows counting backwards isntead of forwards
* Fix get_url module bug preventing use of custom ports with https urls
* Fix bug disabling repositories in the yum module.
* Fix giving yum module a url to install a package from on RHEL/CENTOS5
* Fix bug in dnf module preventing it from working when yum-utils was not already installed
2015-05-05 15:23:10 +00:00
## 1.9.1 "Dancing In the Street" - Apr 27, 2015
* Fixed a bug related to Kerberos auth when using winrm with a domain account.
* Fixing several bugs in the s3 module.
* Fixed a bug with upstart service detection in the service module.
* Fixed several bugs with the user module when used on OSX.
* Fixed unicode handling in some module situations (assert and shell/command execution).
* Fixed a bug in redhat_subscription when using the activationkey parameter.
* Fixed a traceback in the gce module on EL6 distros when multiple pycrypto installations are available.
* Added support for PostgreSQL 9.4 in rds_param_group
* Several other minor fixes.
2015-03-25 19:17:02 +00:00
## 1.9 "Dancing In the Street" - Mar 25, 2015
2015-03-25 14:36:20 +00:00
2015-03-25 19:17:02 +00:00
Major changes:
* Added kerberos support to winrm connection plugin.
2015-03-25 14:36:20 +00:00
* Tags rehaul: added 'all', 'always', 'untagged' and 'tagged' special tags and normalized
2015-03-25 13:55:39 +00:00
tag resolution. Added tag information to --list-tasks and new --list-tags option.
2015-03-25 14:41:13 +00:00
* Privilege Escalation generalization, new 'Become' system and variables now will
2015-03-25 13:55:39 +00:00
handle existing and new methods. Sudo and su have been kept for backwards compatibility.
New methods pbrun and pfexec in 'alpha' state, planned adding 'runas' for winrm connection plugin.
* Improved ssh connection error reporting, now you get back the specific message from ssh.
* Added facility to document task module return values for registered vars, both for
ansible-doc and the docsite. Documented copy, stats and acl modules, the rest must be
updated individually (we will start doing so incrementally).
2015-02-23 15:08:52 +00:00
* Optimize the plugin loader to cache available plugins much more efficiently.
For some use cases this can lead to dramatic improvements in startup time.
2015-03-25 13:55:39 +00:00
* Overhaul of the checksum system, now supports more systems and more cases more reliably and uniformly.
2015-03-06 00:36:14 +00:00
* Fix skipped tasks to not display their parameters if no_log is specified.
2015-04-13 13:45:09 +00:00
* Many fixes to unicode support, standarized functions to make it easier to add to input/output boundaries.
2015-03-25 13:55:39 +00:00
* Added travis integration to github for basic tests, this should speed up ticket triage and merging.
2015-03-26 01:58:24 +00:00
* environment: directive now can also be applied to play and is inhertited by tasks, which can still override it.
2015-03-25 14:36:20 +00:00
* expanded facts and OS/distribution support for existing facts and improved performance with pypy.
2015-06-28 13:07:32 +00:00
* new 'wantlist' option to lookups allows for selecting a list typed variable vs a comma delimited string as the return.
2015-03-25 13:55:39 +00:00
* the shared module code for file backups now uses a timestamp resolution of seconds (previouslly minutes).
2015-03-25 14:36:20 +00:00
* allow for empty inventories, this is now a warning and not an error (for those using localhost and cloud modules).
* sped up YAML parsing in ansible by up to 25% by switching to CParser loader.
2015-03-25 19:17:02 +00:00
New Modules:
* cryptab: manages linux encrypted block devices
* gce_img: for utilizing GCE image resources
* gluster_volume: manage glusterfs volumes
* haproxy: for the load balancer of same name
* known_hosts: manages the ssh known_hosts file
* lxc_container: manage lxc containers
* patch: allows for patching files on target systems
* pkg5: installing and uninstalling packages on Solaris
* pkg5_publisher: manages Solaris pkg5 repository configuration
* postgresql_ext: manage postgresql extensions
* snmp_facts: gather facts via snmp
* svc: manages daemontools based services
* uptimerobot: manage monitoring with this service
New Filters:
2015-03-27 01:00:52 +00:00
* ternary: allows for trueval/falseval assignment dependent on conditional
* cartesian: returns the Cartesian product of 2 lists
2015-03-25 19:17:02 +00:00
* to_uuid: given a string it will return an ansible domain specific UUID
* checksum: uses the ansible internal checksum to return a hash from a string
* hash: get a hash from a string (md5, sha1, etc)
* password_hash: get a hash form as string that can be used as a password in the user module (and others)
* A whole set of ip/network manipulation filters: ipaddr,ipwrap,ipv4,ipv6ipsubnet,nthhost,hwaddr,macaddr
Other Notable Changes:
* New lookup plugins:
* dig: does dns resolution and returns IPs.
* url: allows pulling data from a url.
* New callback plugins:
2015-03-25 13:55:39 +00:00
* syslog_json: allows logging play output to a syslog network server using json format
2015-03-25 19:17:02 +00:00
* Many new enhancements to the amazon web service modules:
* ec2 now applies all specified security groups when creating a new instance. Previously it was only applying one
* ec2_vol gained the ability to specify the EBS volume type
* ec2_vol can now detach volumes by specifying instance=None
* Fix ec2_group to purge specific grants rather than whole rules
* Added tenancy support for the ec2 module
* rds module has gained the ability to manage tags and set charset and public accessibility
* ec2_snapshot module gained the capability to remove snapshots
* Add alias support for route53
* Add private_zones support to route53
* ec2_asg: Add wait_for_instances parameter that waits until an instance is ready before ending the ansible task
* Many new docker improvements:
* restart_policy parameters to configure when the container automatically restarts
* If the docker client or server doesn't support an option, the task will now fail instead of silently ignoring the option
* Add insecure_registry parameter for connecting to registries via http
2015-03-27 01:00:52 +00:00
* New parameter to set a container's domain name
2015-03-25 19:17:02 +00:00
* Undeprecated docker_image module until there's replacement functionality
* Allow setting the container's pid namespace
* Add a pull parameter that chooses when ansible will look for more recent images in the registry
* docker module states have been greatly enhanced. The reworked and new states are:
* present now creates but does not start containers
* restarted always restarts a container
2015-03-27 01:00:52 +00:00
* reloaded restarts a container if ansible detects that the configuration is different than what is specified
2015-03-25 19:17:02 +00:00
* reloaded accounts for exposed ports, env vars, and volumes
* Can now connect to the docker server using TLS
* Several source control modules had force parameters that defaulted to true.
These have been changed to default to false so as not to accidentally lose
work. Playbooks that depended on the former behaviour simply need to add
force=True to the task that needs it. Affected modules:
* bzr: When local modifications exist in a checkout, the bzr module used to
default to removing the modifications on any operation. Now the module
will not remove the modifications unless force=yes is specified.
Operations that depend on a clean working tree may fail unless force=yes is
added.
* git: When local modifications exist in a checkout, the git module will now
2015-04-28 13:36:42 +00:00
fail unless force is explicitly specified. Specifying force=yes will allow
2015-03-25 19:17:02 +00:00
the module to revert and overwrite local modifications to make git actions
succeed.
* hg: When local modifications exist in a checkout, the hg module used to
default to removing the modifications on any operation. Now the module
will not remove the modifications unless force=yes is specified.
* subversion: When updating a checkout with local modifications, you now need
to add force=yes so the module will revert the modifications before updating.
* New inventory scripts:
2015-03-25 14:36:20 +00:00
* vbox: virtualbox
* consul: use consul as an inventory source
2015-03-25 19:17:02 +00:00
* gce gained the ip_forward parameter to forward ip packets
* disk_auto_delete parameter to gce that will remove the boot disk after an instance is destroyed
* gce can now spawn instances with no external ip
* gce_pd gained the ability to choose a disk type
* gce_net gained target_tags parameter for creating firewall rules
* rax module has new parameters for making use of a boot volume
* Add scheduler_hints to the nova_compute module for optional parameters
* vsphere_guest now supports deploying guests from a template
* Many fixes for hardlink and softlink handling in file-related modules
* Implement user, group, mode, and selinux parameters for the unarchive module
* authorized_keys can now use url as a key source
2015-03-26 01:58:24 +00:00
* authorized_keys has a new exclusive parameter that determines if keys that weren't specified in the task
2015-03-25 19:17:02 +00:00
* The selinux module now sets the current running state to permissive if state='disabled'
* Can now set accounts to expire via the user module
* Overhaul of the service module to make code simpler and behave better for systems running several popular init systems
* yum module now has a parameter to refresh its cache of package metadata
* apt module gained a build_dep parameter to install a package's build dependencies
* Add parameters to the postgres modules to specify a unix socket to connect to the db
* The mount module now supports bind mounts
* Add a clone parameter to git module that allows you to get information about a remote repo even if it doesn't exist locally.
* Add a refspec argument to the git module that allows pulling commits that aren't part of a branch
2015-03-25 13:55:39 +00:00
* Many documentation additions and fixes.
2015-02-23 22:20:33 +00:00
## 1.8.4 "You Really Got Me" - Feb 19, 2015
* Fixed regressions in ec2 and mount modules, introduced in 1.8.3
## 1.8.3 "You Really Got Me" - Feb 17, 2015
2015-04-13 13:45:09 +00:00
* Fixing a security bug related to the default permissions set on a temporary file created when using "ansible-vault view < filename > ".
2015-02-23 22:20:33 +00:00
* Many bug fixes, for both core code and core modules.
## 1.8.2 "You Really Got Me" - Dec 04, 2014
* Various bug fixes for packaging issues related to modules.
* Various bug fixes for lookup plugins.
* Various bug fixes for some modules (continued cleanup of postgresql issues, etc.).
* Add a clone parameter to git module that allows you to get information about a remote repo even if it doesn't exist locally.
2014-11-27 04:29:05 +00:00
## 1.8.1 "You Really Got Me" - Nov 26, 2014
* Various bug fixes in postgresql and mysql modules.
* Fixed a bug related to lookup plugins used within roles not finding files based on the relative paths to the roles files/ directory.
* Fixed a bug related to vars specified in plays being templated too early, resulting in incorrect variable interpolation.
* Fixed a bug related to git submodules in bare repos.
2014-11-25 22:49:45 +00:00
## 1.8 "You Really Got Me" - Nov 25, 2014
2014-08-06 21:48:06 +00:00
2014-09-11 16:26:54 +00:00
Major changes:
2014-08-09 00:52:56 +00:00
2014-08-11 17:53:50 +00:00
* fact caching support, pluggable, initially supports Redis (DOCS pending)
* 'serial' size in a rolling update can be specified as a percentage
* added new Jinja2 filters, 'min' and 'max' that take lists
* new 'ansible_version' variable available contains a dictionary of version info
* For ec2 dynamic inventory, ec2.ini can has various new configuration options
2014-08-11 19:59:49 +00:00
* 'ansible vault view filename.yml' opens filename.yml decrypted in a pager.
2014-08-12 17:35:38 +00:00
* no_log parameter now surpressess data from callbacks/output as well as syslog
2014-08-21 21:17:21 +00:00
* ansible-galaxy install -f requirements.yml allows advanced options and installs from non-galaxy SCM sources and tarballs.
2014-08-22 20:12:32 +00:00
* command_warnings feature will warn about when usage of the shell/command module can be simplified to use core modules - this can be enabled in ansible.cfg
2014-08-27 22:26:29 +00:00
* new omit value can be used to leave off a parameter when not set, like so module_name: a=1 b={{ c | default(omit) }}, would not pass value for b (not even an empty value) if c was not set.
2014-09-11 16:26:54 +00:00
* developers: 'baby JSON' in module responses, originally intended for writing modules in bash, is removed as a feature to simplify logic, script module remains available for running bash scripts.
2014-09-25 20:42:45 +00:00
* async jobs started in "fire & forget" mode can now be checked on at a later time.
2014-11-25 21:17:05 +00:00
* added ability to subcategorize modules for docs.ansible.com
* added ability for shipped modules to have aliases with symlinks
* added ability to deprecate older modules by starting with "_" and including "deprecated: message why" in module docs
2014-08-09 00:52:56 +00:00
New Modules:
2014-08-11 17:53:50 +00:00
* cloud: rax_cdb - manages Rackspace Cloud Database instances
* cloud: rax_cdb_database - manages Rackspace Cloud Databases
* cloud: rax_cdb_user - manages Rackspace Cloud Database users
* monitoring: zabbix_maintaince - handles outage windows with Zabbix
* monitoring: bigpanda - support for bigpanda
2014-08-29 01:32:21 +00:00
* net_infrastructure: a10_server - manages server objects on A10 devices
* net_infrastructure: a10_service_group - manages service group objects on A10 devices
* net_infrastructure: a10_virtual_server - manages virtual server objects on A10 devices
2014-08-11 17:53:50 +00:00
* system: getent - read getent databases
Some other notable changes:
2014-09-16 20:26:10 +00:00
* added the ability to set "instance filters" in the ec2.ini to limit results from the inventory plugin.
2014-11-25 21:17:05 +00:00
* upgrades for various variable precedence items and parsing related items
2014-09-16 20:26:10 +00:00
* added a new "follow" parameter to the file and copy modules, which allows actions to be taken on the target of a symlink rather than the symlink itself.
2014-09-11 16:26:54 +00:00
* if a module should ever traceback, it will return a standard error, catchable by ignore_errors, versus an 'unreachable'
2014-08-26 18:54:27 +00:00
* ec2_lc: added support for multiple new parameters like kernel_id, ramdisk_id and ebs_optimized.
* ec2_elb_lb: added support for the connection_draining_timeout and cross_az_load_balancing options.
2014-08-26 04:47:41 +00:00
* support for symbolic representations (ie. u+rw) for file permission modes (file/copy/template modules etc.).
2014-08-11 17:53:50 +00:00
* docker: Added support for specifying the net type of the container.
* docker: support for specifying read-only volumes.
* docker: support for specifying the API version to use for the remote connection.
* openstack modules: various improvements
* irc: ssl support for the notification module
* npm: fix flags passed to package installation
* windows: improved error handling
* setup: additional facts on System Z
* apt_repository: certificate validation can be disabled if requested
* pagerduty module: misc improvements
* ec2_lc: public_ip boolean configurable in launch configurations
* ec2_asg: fixes related to proper termination of an autoscaling group
* win_setup: total memory fact correction
* ec2_vol: ability to list existing volumes
2014-08-12 09:55:12 +00:00
* ec2: can set optimized flag
2014-08-11 17:53:50 +00:00
* various parser improvements
* produce a friendly error message if the SSH key is too permissive
2014-08-26 04:47:41 +00:00
* ec2_ami_search: support for SSD and IOPS provisioned EBS images
2014-09-30 19:05:03 +00:00
* can set ansible_sudo_exe as an inventory variable which allows specifying
a different sudo (or equivalent) command
2014-11-07 05:28:04 +00:00
* git module: Submodule handling has changed. Previously if you used the
``recursive`` parameter to handle submodules, ansible would track the
submodule upstream's head revision. This has been changed to checkout the
version of the submodule specified in the superproject's git repository.
This is inline with what git submodule update does. If you want the old
behaviour use the new module parameter track_submodules=yes
* Checksumming of transferred files has been made more portable and now uses
the sha1 algorithm instead of md5 to be compatible with FIPS-140.
2014-11-10 17:10:19 +00:00
- As a small side effect, the fetch module no longer returns a useful value
in remote_md5. If you need a replacement, switch to using remote_checksum
which returns the sha1sum of the remote file.
2014-11-25 21:17:05 +00:00
* ansible-doc CLI tool contains various improvements for working with different terminals
2014-08-11 17:53:50 +00:00
And various other bug fixes and improvements ...
2014-08-09 00:52:56 +00:00
2014-08-06 21:48:06 +00:00
2014-09-24 20:53:36 +00:00
## 1.7.2 "Summer Nights" - Sep 24, 2014
- Fixes a bug in accelerate mode which caused a traceback when trying to use that connection method.
- Fixes a bug in vault where the password file option was not being used correctly internally.
- Improved multi-line parsing when using YAML literal blocks (using > or |).
- Fixed a bug with the file module and the creation of relative symlinks.
2015-01-03 11:42:44 +00:00
- Fixed a bug where checkmode was not being honoured during the templating of files.
2014-09-24 20:53:36 +00:00
- Other various bug fixes.
## 1.7.1 "Summer Nights" - Aug 14, 2014
- Security fix to disallow specifying 'args:' as a string, which could allow the insertion of extra module parameters through variables.
- Performance enhancements related to previous security fixes, which could cause slowness when modules returned very large JSON results. This specifically impacted the unarchive module frequently, which returns the details of all unarchived files in the result.
- Docker module bug fixes:
* Fixed support for specifying rw/ro bind modes for volumes
* Fixed support for allowing the tag in the image parameter
- Various other bug fixes
2014-08-06 18:17:28 +00:00
## 1.7 "Summer Nights" - Aug 06, 2014
2014-05-05 21:45:04 +00:00
2014-06-20 02:22:48 +00:00
Major new features:
* Windows support (alpha) using native PowerShell remoting
2014-07-14 19:38:03 +00:00
* Tasks can now specify `run_once: true` , meaning they will be executed exactly once. This can be combined with delegate_to to trigger actions you want done just the one time versus for every host in inventory.
2014-06-20 02:22:48 +00:00
2014-06-15 16:08:39 +00:00
New inventory scripts:
* SoftLayer
* Windows Azure
2014-06-04 16:05:01 +00:00
New Modules:
2014-06-07 03:00:02 +00:00
* cloud: azure
2014-06-04 16:05:01 +00:00
* cloud: rax_meta
2014-06-12 13:00:33 +00:00
* cloud: rax_scaling_group
* cloud: rax_scaling_policy
2014-06-20 02:22:48 +00:00
* windows: version of setup module
* windows: version of slurp module
* windows: win_feature
* windows: win_get_url
* windows: win_msi
* windows: win_ping
* windows: win_user
2014-06-22 16:26:49 +00:00
* windows: win_service
* windows: win_group
2014-05-05 21:45:04 +00:00
2014-07-14 16:11:08 +00:00
Other notable changes:
2014-08-06 18:17:28 +00:00
* Security fixes
2015-01-03 11:42:44 +00:00
- Prevent the use of lookups when using legacy "{{ }}" syntax around variables and with_* loops.
2014-08-06 18:17:28 +00:00
- Remove relative paths in TAR-archived file names used by ansible-galaxy.
2014-07-14 16:11:08 +00:00
* Inventory speed improvements for very large inventories.
* Vault password files can now be executable, to support scripts that fetch the vault password.
2014-08-06 18:20:50 +00:00
## 1.6.10 "And the Cradle Will Rock" - Jul 25, 2014
- Fixes an issue with the copy module when copying a directory that fails when changing file attributes and the target file already exists
- Improved unicode handling when splitting args
## 1.6.9 "And the Cradle Will Rock" - Jul 24, 2014
- Further improvements to module parameter parsing to address additional regressions caused by security fixes
2014-07-22 22:26:15 +00:00
## 1.6.8 "And the Cradle Will Rock" - Jul 22, 2014
- Corrects a regression in the way shell and command parameters were being parsed
## 1.6.7 "And the Cradle Will Rock" - Jul 21, 2014
- Security fixes:
* Strip lookup calls out of inventory variables and clean unsafe data
returned from lookup plugins (CVE-2014-4966)
* Make sure vars don't insert extra parameters into module args and prevent
duplicate params from superseding previous params (CVE-2014-4967)
2014-07-01 21:00:03 +00:00
## 1.6.6 "And the Cradle Will Rock" - Jul 01, 2014
- Security updates to further protect against the incorrect execution of untrusted data
2014-06-26 02:59:48 +00:00
## 1.6.4, 1.6.5 "And the Cradle Will Rock" - Jun 25, 2014
- Security updates related to evaluation of untrusted remote inputs
2014-06-09 19:36:48 +00:00
## 1.6.3 "And the Cradle Will Rock" - Jun 09, 2014
- Corrects a regression where handlers were run across all hosts, not just those that triggered the handler.
- Fixed a bug in which modules did not support properly moving a file atomically when su was in use.
- Fixed two bugs related to symlinks with directories when using the file module.
- Fixed a bug related to MySQL master replication syntax.
- Corrects a regression in the order of variable merging done by the internal runner code.
- Various other minor bug fixes.
## 1.6.2 "And the Cradle Will Rock" - May 23, 2014
- If an improper locale is specified, core modules will now automatically revert to using the 'C' locale.
- Modules using the fetch_url utility will now obey proxy environment variables.
- The SSL validation step in fetch_url will likewise obey proxy settings, however only proxies using the http protocol are supported.
- Fixed multiple bugs in docker module related to version changes upstream.
2014-06-09 19:36:48 +00:00
- Fixed a bug in the ec2_group module where egress rules were lost when a VPC was specified.
- Fixed two bugs in the synchronize module:
* a trailing slash might be lost when calculating relative paths, resulting in an incorrect destination.
* the sync might use the inventory directory incorrectly instead of the playbook or role directory.
- Files will now only be chown'd on an atomic move if the src/dest uid/gid do not match.
## 1.6.1 "And the Cradle Will Rock" - May 7, 2014
- Fixed a bug in group_by, where systems were being grouped incorrectly.
- Fixed a bug where file descriptors may leak to a child process when using accelerate.
- Fixed a bug in apt_repository triggered when python-apt not being installed/available.
- Fixed a bug in the apache2_module module, where modules were not being disabled correctly.
2014-05-05 21:45:04 +00:00
## 1.6 "And the Cradle Will Rock" - May 5, 2014
2014-02-28 23:41:35 +00:00
Major features/changes:
* The deprecated legacy variable templating system has been finally removed. Use {{ foo }} always not $foo or ${foo}.
2014-03-07 02:42:01 +00:00
* Any data file can also be JSON. Use sparingly -- with great power comes great responsibility. Starting file with "{" or "[" denotes JSON.
2014-03-19 22:02:49 +00:00
* Added 'gathering' param for ansible.cfg to change the default gather_facts policy.
2014-03-23 19:44:38 +00:00
* Accelerate improvements:
- multiple users can connect with different keys, when `accelerate_multi_key = yes` is specified in the ansible.cfg.
- daemon lifetime is now based on the time from the last activity, not the time from the daemon's launch.
2014-04-24 05:02:18 +00:00
* ansible-playbook now accepts --force-handlers to run handlers even if tasks result in failures.
* Added VMWare support with the vsphere_guest module.
2014-04-05 19:49:52 +00:00
2014-03-03 18:41:12 +00:00
New Modules:
2014-02-28 23:41:35 +00:00
2014-03-25 15:39:12 +00:00
* files: replace
2014-03-16 20:14:11 +00:00
* packaging: cpanm (Perl)
2014-03-12 01:12:07 +00:00
* packaging: portage
2014-03-16 20:14:11 +00:00
* packaging: composer (PHP)
2014-03-16 20:16:55 +00:00
* packaging: homebrew_tap (OS X)
2014-03-16 20:18:27 +00:00
* packaging: homebrew_cask (OS X)
2014-03-28 17:18:49 +00:00
* packaging: apt_rpm
2014-03-28 21:01:15 +00:00
* packaging: layman
2014-03-28 19:03:04 +00:00
* monitoring: logentries
2014-03-28 21:04:31 +00:00
* monitoring: rollbar_deployment
2014-03-28 21:20:06 +00:00
* monitoring: librato_annotation
2014-03-16 20:14:11 +00:00
* notification: nexmo (SMS)
2014-03-16 20:45:38 +00:00
* notification: twilio (SMS)
2014-03-18 17:30:13 +00:00
* notification: slack (Slack.com)
2014-03-19 21:23:30 +00:00
* notification: typetalk (Typetalk.in)
2014-03-28 17:37:43 +00:00
* notification: sns (Amazon)
2014-03-03 18:51:44 +00:00
* system: debconf
2014-03-12 01:12:07 +00:00
* system: ufw
* system: locale_gen
2014-03-16 20:54:45 +00:00
* system: alternatives
2014-03-19 21:37:50 +00:00
* system: capabilities
2014-03-16 20:47:29 +00:00
* net_infrastructure: bigip_facts
2014-03-28 17:13:04 +00:00
* net_infrastructure: dnssimple
2014-03-28 21:41:48 +00:00
* net_infrastructure: lldp
2014-03-28 21:11:21 +00:00
* web_infrastructure: apache2_module
2014-03-12 01:12:07 +00:00
* cloud: digital_ocean_domain
* cloud: digital_ocean_sshkey
* cloud: rax_identity
2014-03-28 15:30:13 +00:00
* cloud: rax_cbs (cloud block storage)
* cloud: rax_cbs_attachments
2014-03-12 01:12:07 +00:00
* cloud: ec2_asg (configure autoscaling groups)
2014-03-19 21:26:59 +00:00
* cloud: ec2_scaling_policy
2014-03-25 22:38:34 +00:00
* cloud: ec2_metric_alarm
2014-04-24 05:02:18 +00:00
* cloud: vsphere_guest
2014-02-28 23:41:35 +00:00
Other notable changes:
2014-03-16 20:14:11 +00:00
* example callback plugin added for hipchat
2014-03-16 20:29:06 +00:00
* added example inventory plugin for vcenter/vsphere
2014-03-16 20:23:46 +00:00
* added example inventory plugin for doing really trivial inventory from SSH config files
2014-03-12 01:12:07 +00:00
* libvirt module now supports destroyed and paused as states
* s3 module can specify metadata
* security token additions to ec2 modules
2014-03-16 20:14:11 +00:00
* setup module code moved into module_utils/, facts now accessible by other modules
2014-03-31 17:02:55 +00:00
* synchronize module sets relative dirs based on inventory or role path
2014-03-12 01:12:07 +00:00
* misc bugfixes and other parameters
2014-04-02 03:16:40 +00:00
* the ec2_key module now has wait/wait_timeout parameters
2014-04-03 21:17:12 +00:00
* added version_compare filter (see docs)
* added ability for module documentation YAML to utilize shared module snippets for common args
2014-04-05 19:49:52 +00:00
* apt module now accepts "deb" parameter to install local dpkg files
* regex_replace filter plugin added
2014-04-23 21:07:33 +00:00
* added an inventory script for Docker
* added an inventory script for Abiquo
2014-04-23 18:44:36 +00:00
* the get_url module now accepts url_username and url_password as parameters, so sites which require
authentication no longer need to have them embedded in the url
2014-04-05 19:49:52 +00:00
* ... to be filled in from changelogs ...
2014-04-05 19:50:59 +00:00
*
2014-04-18 21:07:28 +00:00
## 1.5.5 "Love Walks In" - April 18, 2014
- Security fix for vault, to ensure the umask is set to a restrictive mode before creating/editing vault files.
- Backported apt_repository security fixes relating to filename/mode upon sources list file creation.
2014-04-05 19:50:59 +00:00
## 1.5.4 "Love Walks In" - April 1, 2014
- Security fix for safe_eval, which further hardens the checking of the evaluation function.
2015-04-13 13:45:09 +00:00
- Changing order of variable precedence for system facts, to ensure that inventory variables take precedence over any facts that may be set on a host.
2014-03-16 20:14:11 +00:00
2014-03-13 21:31:19 +00:00
## 1.5.3 "Love Walks In" - March 13, 2014
- Fix validate_certs and run_command errors from previous release
- Fixes to the git module related to host key checking
## 1.5.2 "Love Walks In" - March 11, 2014
- Fix module errors in airbrake and apt from previous release
2014-03-10 22:40:36 +00:00
## 1.5.1 "Love Walks In" - March 10, 2014
- Force command action to not be executed by the shell unless specifically enabled.
- Validate SSL certs accessed through urllib*.
- Implement new default cipher class AES256 in ansible-vault.
- Misc bug fixes.
2014-02-28 20:17:07 +00:00
## 1.5 "Love Walks In" - February 28, 2014
2013-11-21 21:35:49 +00:00
2014-01-04 00:13:21 +00:00
Major features/changes:
* when_foo which was previously deprecated is now removed, use "when:" instead. Code generates appropriate error suggestion.
* include + with_items which was previously deprecated is now removed, ditto. Use with_nested / with_together, etc.
* only_if, which is much older than when_foo and was deprecated, is similarly removed.
2014-01-19 18:22:28 +00:00
* ssh connection plugin is now more efficient if you add 'pipelining=True' in ansible.cfg under [ssh_connection], see example.cfg
2014-01-21 00:11:15 +00:00
* localhost/127.0.0.1 is not required to be in inventory if referenced, if not in inventory, it does not implicitly appear in the 'all' group.
2014-01-30 17:06:02 +00:00
* git module has new parameters (accept_hostkey, key_file, ssh_opts) to ease the usage of git and ssh protocols.
2014-01-30 21:23:22 +00:00
* when using accelerate mode, the daemon will now be restarted when specifying a different remote_user between plays.
2014-01-31 22:09:10 +00:00
* added no_log: option for tasks. When used, no logging information will be sent to syslog during the module execution.
2014-02-05 23:44:24 +00:00
* acl module now handles 'default' and allows for either shorthand entry or specific fields per entry section
2014-02-06 05:01:39 +00:00
* play_hosts is a new magic variable to provide a list of hosts in scope for the current play.
2014-02-07 16:06:19 +00:00
* ec2 module now accepts 'exact_count' and 'count_tag' as a way to enforce a running number of nodes by tags.
2014-02-13 20:32:04 +00:00
* all ec2 modules that work with Eucalyptus also now support a 'validate_certs' option, which can be set to 'off' for installations using self-signed certs.
2014-02-13 23:28:29 +00:00
* Start of new integration test infrastructure (WIP, more details TBD)
2015-04-13 13:45:09 +00:00
* if repoquery is unavailable, the yum module will automatically attempt to install yum-utils
2014-02-28 19:52:14 +00:00
* ansible-vault: a framework for encrypting your playbooks and variable files
2014-03-03 19:55:37 +00:00
* added support for privilege escalation via 'su' into bin/ansible and bin/ansible-playbook and associated keywords 'su', 'su_user', 'su_pass' for tasks/plays
2014-01-04 00:13:21 +00:00
New modules:
2014-01-30 16:29:59 +00:00
* cloud: ec2_elb_lb
* cloud: ec2_key
2014-02-26 14:21:22 +00:00
* cloud: ec2_snapshot
2014-01-30 16:29:59 +00:00
* cloud: rax_dns
* cloud: rax_dns_record
* cloud: rax_files
* cloud: rax_files_objects
* cloud: rax_keypair
* cloud: rax_queue
2014-02-14 00:49:46 +00:00
* cloud: docker_image
2014-02-05 21:21:18 +00:00
* messaging: rabbitmq_policy
2014-01-30 16:29:59 +00:00
* system: at
2014-02-13 23:28:29 +00:00
* utilities: assert
2014-01-04 00:13:21 +00:00
2014-04-29 14:41:05 +00:00
Other notable changes (many new module params & bugfixes may not be listed):
2014-01-04 00:13:21 +00:00
2013-12-12 23:03:00 +00:00
* no_reboot is now defaulted to "no" in the ec2_ami module to ensure filesystem consistency in the resulting AMI.
2014-01-19 18:22:28 +00:00
* sysctl module overhauled
* authorized_key module overhauled
* synchronized module now handles local transport better
* apt_key module now ignores case on keys
* zypper_repository now skips on check mode
* file module now responds to force behavior when dealing with hardlinks
* new lookup plugin 'csvfile'
* fixes to allow hash_merge behavior to work with dynamic inventory
* mysql module will use port argument on dump/import
* subversion module now ignores locale to better intercept status messages
* rax api_key argument is no longer logged
* backwards/forwards compatibility for OpenStack modules, 'quantum' modules grok neutron renaming
* hosts properly uniqueified if appearing in redundant groups
* hostname module support added for ScientificLinux
2014-01-30 17:06:02 +00:00
* ansible-pull can now show live stdout and pass verbosity levels to ansible-playbook
* ec2 instances can now be stopped or started
* additional volumes can be created when creating new ec2 instances
* user module can move a home directory
* significant enhancement and cleanup of rackspace modules
2014-02-24 19:28:06 +00:00
* ansible_ssh_private_key_file can be templated
2014-02-28 15:07:42 +00:00
* docker module updated to support docker-py 0.3.0
2014-01-19 18:22:28 +00:00
* various other bug fixes
2014-02-28 19:52:14 +00:00
* md5 logic improved during sudo operation
* support for ed25519 keys in authorized_key module
* ability to set directory permissions during a recursive copy (directory_mode parameter)
2013-12-19 01:48:33 +00:00
2014-02-12 21:45:46 +00:00
## 1.4.5 "Could This Be Magic" - February 12, 2014
- fixed issue with permissions being incorrect on fireball/accelerate keys when the umask setting was too loose.
2014-01-07 23:04:15 +00:00
## 1.4.4 "Could This Be Magic" - January 6, 2014
- fixed a minor issue with newer versions of pip dropping the "use-mirrors" parameter.
2013-12-20 19:13:48 +00:00
## 1.4.3 "Could This Be Magic" - December 20, 2013
- Fixed role_path parsing from ansible.cfg
- Fixed default role templates
2013-12-19 13:59:28 +00:00
## 1.4.2 "Could This Be Magic" - December 18, 2013
2013-12-19 01:48:33 +00:00
2013-12-19 13:59:28 +00:00
* Fixed a few bugs related to unicode
* Fixed errors in the ssh connection method with large data returns
* Miscellaneous fixes for a few modules
* Add the ansible-galaxy command
2013-12-12 23:03:00 +00:00
2013-12-03 20:10:13 +00:00
## 1.4.1 "Could This Be Magic" - November 27, 2013
2013-11-27 23:41:07 +00:00
* Misc fixes to accelerate mode and various modules.
2013-12-03 20:10:13 +00:00
## 1.4 "Could This Be Magic" - November 21, 2013
2013-09-13 21:26:14 +00:00
Highlighted new features:
2013-09-25 20:50:24 +00:00
* Added do-until feature, which can be used to retry a failed task a specified number of times with a delay in-between the retries.
2013-10-12 14:57:11 +00:00
* Added failed_when option for tasks, which can be used to specify logical statements that make it easier to determine when a task has failed, or to make it easier to ignore certain non-zero return codes for some commands.
2013-10-06 14:23:44 +00:00
* Added the "subelement" lookup plugin, which allows iteration of the keys of a dictionary or items in a list.
2014-04-29 14:41:05 +00:00
* Added the capability to use either paramiko or ssh for the initial setup connection of an accelerated playbook.
2013-10-06 14:23:44 +00:00
* Automatically provide advice on common parser errors users encounter.
2013-10-12 14:44:35 +00:00
* Deprecation warnings are now shown for legacy features: when_integer/etc, only_if, include+with_items, etc. Can be disabled in ansible.cfg
* The system will now provide helpful tips around possible YAML syntax errors increasing ease of use for new users.
* warnings are now shown for using {{ foo }} in loops and conditionals, and suggest leaving the variable expressions bare as per docs.
* The roles search path is now configurable in ansible.cfg. 'roles_path' in the config setting.
2013-10-12 14:57:11 +00:00
* Includes with parameters can now be done like roles for consistency: - { include: song.yml, year:1984, song:'jump' }
2013-10-12 14:44:35 +00:00
* The name of each role is now shown before each task if roles are being used
2013-10-15 01:01:38 +00:00
* Adds a "var=" option to the debug module for debugging variable data. "debug: var=hostvars['hostname']" and "debug: var=foo" are all valid syntax.
2013-11-02 20:17:09 +00:00
* Variables in {{ format }} can be used as references even if they are structured data
2013-11-18 22:59:40 +00:00
* Can force binding of accelerate to ipv6 ports.
2013-11-18 23:28:21 +00:00
* the apt module will auto-install python-apt if not present rather than requiring a manual installation
* the copy module is now recursive if the local 'src' parameter is a directory.
* syntax checks now scan included task and variable files as well as main files
2013-11-18 22:59:40 +00:00
2013-11-18 23:28:21 +00:00
New modules and plugins.
2013-09-13 21:26:14 +00:00
2013-11-18 23:28:21 +00:00
* cloud: ec2_eip -- manage AWS elastic IPs
* cloud: ec2_vpc -- manage ec2 virtual private clouds
* cloud: elasticcache -- Manages clusters in Amazon Elasticache
* cloud: rax_network -- sets up Rackspace networks
* cloud: rax_facts: retrieve facts about a Rackspace Cloud Server
* cloud: rax_clb_nodes -- manage Rackspace cloud load balanced nodes
* cloud: rax_clb -- manages Rackspace cloud load balancers
* cloud: docker - instantiates/removes/manages docker containers
* cloud: ovirt -- VM lifecycle controls for ovirt
2013-10-14 15:37:14 +00:00
* files: acl -- set or get acls on a file
2013-11-18 23:55:49 +00:00
* files: unarchive: pushes and extracts tarballs
2013-11-18 23:59:49 +00:00
* files: synchronize: a useful wraper around rsyncing trees of files
2013-09-21 06:06:34 +00:00
* system: firewalld -- manage the firewalld configuration
2013-09-23 20:02:02 +00:00
* system: modprobe -- manage kernel modules on systems that support modprobe/rmmod
2013-09-25 19:37:56 +00:00
* system: open_iscsi -- manage targets on an initiator using open-iscsi
2013-11-18 23:28:21 +00:00
* system: blacklist: add or remove modules from the kernel blacklist
* system: hostname - sets the systems hostname
2013-10-31 23:25:16 +00:00
* utilities: include_vars -- dynamically load variables based on conditions.
2013-11-18 23:28:21 +00:00
* packaging: zypper_repository - adds or removes Zypper repositories
* packaging: urpmi - work with urpmi packages
* packaging: swdepot - a module for working with swdepot
* notification: grove - notifies to Grove hosted IRC channels
* web_infrastructure: ejabberd_user: add and remove users to ejabberd
* web_infrastructure: jboss: deploys or undeploys apps to jboss
* source_control: github_hooks: manages GitHub service hooks
2013-11-20 19:58:40 +00:00
* net_infrastructure: bigip_monitor_http: manages F5 BIG-IP LTM http monitors
2013-11-18 23:55:49 +00:00
* net_infrastructure: bigip_monitor_tcp: manages F5 BIG-IP LTM TCP monitors
* net_infrastructure: bigip_pool_member: manages F5 BIG-IP LTM pool members
* net_infrastructure: bigip_node: manages F5 BIG-IP LTM nodes
* net_infrastructure: openvswitch_port
* net_infrastructure: openvswitch_bridge
2013-09-13 21:26:14 +00:00
2013-10-12 14:44:35 +00:00
Plugins:
* jail connection module (FreeBSD)
* lxc connection module
* added inventory script for listing FreeBSD jails
* added md5 as a Jinja2 filter: {{ path | md5 }}
* added a fileglob filter that will return files matching a glob pattern. with_items: "/foo/pattern/*.txt | fileglob"
* 'changed' filter returns whether a previous step was changed easier. when: registered_result | changed
2013-11-18 23:28:21 +00:00
* DOCS NEEDED: 'unique' and 'intersect' filters are added for dealing with lists.
* DOCS NEEDED: new lookup plugin added for etcd
* a 'func' connection type to help people migrating from func/certmaster.
2013-10-12 14:44:35 +00:00
2013-11-18 23:30:05 +00:00
Misc changes (all module additions/fixes may not listed):
2013-09-13 21:26:14 +00:00
2013-10-02 02:37:29 +00:00
* (docs pending) New features for accelerate mode: configurable timeouts and a keepalives for long running tasks.
2013-09-23 20:29:13 +00:00
* Added a `delimiter` field to the assemble module.
2013-09-23 19:17:40 +00:00
* Added `ansible_env` to the list of facts returned by the setup module.
* Added `state=touch` to the file module, which functions similarly to the command-line version of `touch` .
2013-09-19 13:12:43 +00:00
* Added a -vvvv level, which will show SSH client debugging information in the event of a failure.
2013-10-12 14:44:35 +00:00
* Includes now support the more standard syntax, similar to that of role includes and dependencies.
2013-09-16 14:53:56 +00:00
* Changed the `user:` parameter on plays to `remote_user:` to prevent confusion with the module of the same name. Still backwards compatible on play parameters.
2014-04-29 14:41:05 +00:00
* Added parameter to allow the fetch module to skip the md5 validation step ('validate_md5=false'). This is useful when fetching files that are actively being written to, such as live log files.
2013-10-07 19:06:15 +00:00
* Inventory hosts are used in the order they appear in the inventory.
* in hosts: foo[2-5] type syntax, the iterators now are zero indexed and the last index is non-inclusive, to match Python standards.
2013-11-18 23:28:21 +00:00
* There is now a way for a callback plugin to disable itself. See osx_say example code for an example.
2013-10-12 14:44:35 +00:00
* Many bugfixes to modules of all types.
* Complex arguments now can be used with async tasks
2013-11-18 23:28:21 +00:00
* SSH ControlPath is now configurable in ansible.cfg. There is a limit to the lengths of these paths, see how to shorten them in ansible.cfg.
2013-10-12 14:44:35 +00:00
* md5sum support on AIX with csum.
* Extremely large documentation refactor into subchapters
* Added 'append_privs' option to the mysql_user module
* Can now update (temporarily change) host variables using the "add_host" module for existing hosts.
* Fixes for IPv6 addresses in inventory text files
2013-10-19 16:52:25 +00:00
* name of executable can be passed to pip/gem etc, for installing under *different* interpreters
* copy of ./hacking/env-setup added for fish users, ./hacking/env-setup.fish
2013-11-18 22:59:40 +00:00
* file module more tolerant of non-absolute paths in softlinks.
* miscellaneous fixes/upgrades to async polling logic.
* conditions on roles now pass to dependent roles
2013-11-18 23:28:21 +00:00
* ansible_sudo_pass can be set in a host variable if desired
* misc fixes for the pip an easy_install modules
* support for running handlers that have parameterized names based on role parameters
* added support for compressing MySQL dumps and extracting during import
* Boto version compatibility fixes for the EC2 inventory script
* in the EC2 inventory script, a group 'EC2' and 'RDS' contains EC2 and RDS hosts.
* umask is enforced by the cron module
* apt packages that are not-removed and not-upgraded do not count as changes
* the assemble module can now use src files from the local server and copy them over dynamically
* authorization code has been standardized between Amazon cloud modules
* the wait_for module can now also wait for files to exist or a regex string to exist in a file
* leading ranges are now allowed in ranged hostname patterns, ex: [000-250].example.com
* pager support added to ansible-doc (so it will auto-invoke less, etc)
* misc fixes to the cron module
* get_url module now understands content-disposition headers for deciding filenames
* it is possible to have subdirectories in between group_vars/ and host_vars/ and the final filename, like host_vars/rack42/asdf for the variables for host 'asdf'. The intermediate directories are ignored, and do not put a file in there twice.
2013-09-13 21:26:14 +00:00
2013-12-03 20:10:13 +00:00
## 1.3.4 "Top of the World" (reprise) - October 29, 2013
2013-10-29 21:07:52 +00:00
2013-10-30 12:25:17 +00:00
* Fixed a bug in the copy module, where a filename containing the string "raw" was handled incorrectly
* Fixed a bug in accelerate mode, where copying a zero-length file out would fail
2013-10-29 21:07:52 +00:00
2013-12-03 20:10:13 +00:00
## 1.3.3 "Top of the World" (reprise) - October 9, 2013
2013-10-09 12:43:43 +00:00
Additional fixes for accelerate mode.
2013-12-03 20:10:13 +00:00
## 1.3.2 "Top of the World" (reprise) - September 19th, 2013
2013-10-09 12:41:46 +00:00
Multiple accelerate mode fixes:
2013-10-30 12:25:17 +00:00
* Make packet reception less greedy, so multiple frames of data are not consumed by one call.
* Adding two timeout values (one for connection and one for data reception timeout).
* Added keepalive packets, so async mode is no longer required for long-running tasks.
* Modified accelerate daemon to use the verbose logging level of the ansible command that started it.
* Fixed bug where accelerate would not work in check-mode.
* Added a -vvvv level, which will show SSH client debugging information in the event of a failure.
* Fixed bug in apt_repository module where the repository cache was not being updated.
* Fixed bug where "too many open files" errors would be encountered due to pseudo TTY's not being closed properly.
2013-10-09 17:13:31 +00:00
2013-12-03 20:10:13 +00:00
## 1.3.1 "Top of the World" (reprise) - September 16th, 2013
2013-10-09 12:41:46 +00:00
Fixing a bug in accelerate mode whereby the gather_facts step would always be run via sudo regardless of the play settings.
2013-12-03 20:10:13 +00:00
## 1.3 "Top of the World" - September 13th, 2013
2013-06-10 19:34:52 +00:00
2013-08-03 18:50:58 +00:00
Highlighted new features:
2013-06-19 00:28:46 +00:00
2013-09-04 09:49:46 +00:00
* accelerated mode: An enhanced fireball mode that requires zero bootstrapping and fewer requirements plus adds capabilities like sudo commands.
* role defaults: Allows roles to define a set of variables at the lowest priority. These variables can be overridden by any other variable.
2013-08-22 01:09:23 +00:00
* new /etc/ansible/facts.d allows JSON or INI-style facts to be provided from the remote node, and supports executable fact programs in this dir. Files must end in *.fact.
* added the ability to make undefined template variables raise errors (see ansible.cfg)
* (DOCS PENDING) sudo: True/False and sudo_user: True/False can be set at include and role level
* added changed_when: (expression) which allows overriding whether a result is changed or not and can work with registered expressions
2013-08-23 02:26:03 +00:00
* --extra-vars can now take a file as input, e.g., "-e @filename " and can also be formatted as YAML
2013-08-11 04:54:05 +00:00
* external inventory scripts may now return host variables in one pass, which allows them to be much more efficient for large numbers of hosts
2013-08-22 01:09:23 +00:00
* if --forks exceeds the numbers of hosts, it will be automatically reduced. Set forks to 0 and you get "as many forks as I have hosts" out of the box.
* enabled error_on_undefined_vars by default, which will make errors in playbooks more obvious
* role dependencies -- one role can now pull in another, with parameters of its own.
2013-09-06 20:19:34 +00:00
* added the ability to have tasks execute even during a check run (always_run).
* added the ability to set the maximum failure percentage for a group of hosts.
2013-06-19 00:28:46 +00:00
New modules:
2013-06-19 00:33:32 +00:00
* notifications: datadog_event -- send data to datadog
2013-08-22 01:09:23 +00:00
* cloud: digital_ocean -- module for DigitalOcean provisioning that also includes inventory support
* cloud: rds -- Amazon Relational Database Service
* cloud: linode -- modules for Linode provisioning that also includes inventory support
2013-07-21 13:54:57 +00:00
* cloud: route53 -- manage Amazon DNS entries
2013-08-22 01:09:23 +00:00
* cloud: ec2_ami -- manages (and creates!) ec2 AMIs
2013-09-06 20:19:34 +00:00
* database: mysql_replication -- manages mysql replication settings for masters/slaves
* database: mysql_variables -- manages mysql runtime variables
* database: redis -- manages redis databases (slave mode and flushing data)
2013-08-03 18:50:58 +00:00
* net_infrastructure: arista_interface
* net_infrastructure: arista_lag
* net_infrastructure: arista_l2interface
* net_infrastructure: arista_vlan
2013-06-30 22:46:23 +00:00
* system: stat -- reports on stat(istics) of remote files, for use with 'register'
2013-08-03 18:50:58 +00:00
* web_infrastructure: htpasswd -- manipulate htpasswd files
* packaging: rpm_key -- adds or removes RPM signing keys
2013-08-23 02:26:03 +00:00
* packaging: apt_repository -- rewritten to remove dependencies
2013-08-03 18:50:58 +00:00
* monitoring: boundary_meter -- adds or removes boundary.com meters
2013-08-22 01:09:23 +00:00
* net_infrastructure: dnsmadeeasy - manipulate DNS Made Easy records
2013-08-23 02:26:03 +00:00
* files: xattr -- manages extended attributes on files
2013-06-19 00:28:46 +00:00
Misc changes:
2013-08-23 03:08:05 +00:00
* return 3 when there are hosts that were unreachable during a run
2013-08-23 02:26:03 +00:00
* the yum module now supports wildcard values for the enablerepo argument
* added an inventory script to pull host information from Zabbix
* async mode no longer allows with_* lookup plugins due to incompatibilities
2013-06-19 00:28:46 +00:00
* Added OpenRC support (Gentoo) to the service module
* ansible_ssh_user value is available to templates
* added placement_group parameter to ec2 module
2013-08-22 01:09:23 +00:00
* new sha256sum parameter added to get_url module for checksum validation
2013-06-19 00:28:46 +00:00
* search for mount binaries in system path and sbin vs assuming path
* allowed inventory file to be read from a pipe
* added Solaris distribution facts
* fixed bug along error path in quantum_network module
2013-08-22 01:09:23 +00:00
* user password update mode is controllable in user module now (at creation vs. every time)
2013-06-19 00:28:46 +00:00
* added check mode support to the OpenBSD package module
* Fix for MySQL 5.6 compatibility
* HP UX virtualization facts
* fixed some executable bits in git
* made rhn_register module compatible with EL5
2013-08-22 01:09:23 +00:00
* fix for setup module epoch time on Solaris
* sudo_user is now expanded later, allowing it to be set at inventory scope
* mongodb_user module changed to also support MongoDB 2.2
* new state=hard option added to the file module for hardlinks vs softlinks
2013-06-20 01:58:38 +00:00
* fixes to apt module purging option behavior
* fixes for device facts with multiple PCI domains
2013-08-22 01:09:23 +00:00
* added "with_inventory_hostnames" lookup plugin, which can take a pattern and loop over hostnames matching the pattern and is great for use with delegate_to and so on
2013-06-20 02:10:01 +00:00
* ec2 module supports adding to multiple security groups
2013-08-22 01:09:23 +00:00
* cloudformation module includes fixes for the error path, and the 'wait_for' parameter was removed
2013-06-30 22:46:23 +00:00
* added --only-if-changed to ansible-pull, which runs only if the repo has changes (not default)
* added 'mandatory', a Jinja2 filter that checks if a variable is defined: {{ foo|mandatory }}
* added support for multiple size formats to the lvol module
* timing reporting on wait_for module now includes the delay time
* IRC module can now send a server password
* "~" now expanded on each component of configured plugin paths
* fix for easy_install module when dealing with virtualenv
* rackspace module now explicitly indicates rackspace vs vanilla openstack
* add_host module does not report changed=True any longer
2013-08-22 01:09:23 +00:00
* explanatory error message when using fireball with sudo has been improved
2013-06-30 23:51:23 +00:00
* git module now automatically pulls down git submodules
2013-08-22 01:09:23 +00:00
* negated patterns do not require "all:!foo", you can just say "!foo" now to select all not foos
2013-06-30 23:51:23 +00:00
* fix for Debian services always reporting changed when toggling enablement bit
2013-08-22 01:09:23 +00:00
* roles files now tolerate files named 'main.yaml' and 'main' in addition to main.yml
2013-06-30 23:55:00 +00:00
* some help cleanup to command line flags on scripts
2013-08-22 01:09:23 +00:00
* force option reinstated for file module so it can create symlinks to non-existent files, etc.
2013-06-30 23:55:00 +00:00
* added termination support to ec2 module
* --ask-sudo-pass or --sudo-user does not enable all options to use sudo in ansible-playbook
2013-07-20 22:48:04 +00:00
* include/role conditionals are added ahead of task conditionals so they can short circuit properly
* added pipes.quote in various places so paths with spaces are better tolerated
* error handling while executing Jinja2 filters has been improved
* upgrades to atomic replacement logic when copying files across partitions/etc
* mysql user module can try to login before requiring explicit password
2013-08-22 01:09:23 +00:00
* various additional options added to supervisorctl module
2013-07-20 22:48:04 +00:00
* only add non unique parameter on group creation when required
2013-08-22 01:09:23 +00:00
* allow rabbitmq_plugin to specify a non-standard RabbitMQ path
* authentication fixes to keystone_user module
2013-07-20 22:48:04 +00:00
* added IAM role support to EC2 module
* fixes for OpenBSD package module to avoid shell expansion
* git module upgrades to allow --depth and --version to be used together
2013-09-04 07:10:23 +00:00
* new lookup plugin, "with_flattened"
2013-07-20 22:48:04 +00:00
* extra vars (-e) variables can be used in playbook include paths
* improved reporting for invalid sudo passwords
* improved reporting for inability to find a suitable tmp location
2013-08-22 01:09:23 +00:00
* require libselinux-python to perform file operations if SELinux is operational
2013-07-20 22:48:04 +00:00
* ZFS module fixes for byte display constants and handling paths with spaces
* setup module more tolerant of gathering facts against things it does not have permission to read
* can specify name=* state=latest to update all yum modules
* major speedups to the yum module for default cases
* ec2_facts module will now run in check mode
* sleep option on service module for sleeping between stop/restart
* fix for IPv6 facts on BSD
* added Jinja2 filters: skipped, whether a result was skipped
* added Jinja2 filters: quote, quotes a string if it needs to be quoted
* allow force=yes to affect apt upgrades
2013-07-21 12:52:00 +00:00
* fix for saving conditionals in variable names
2013-08-22 01:09:23 +00:00
* support for multiple host ranges in INI inventory, e.g., db[01:10:3]node-[01:10]
2013-07-21 14:12:28 +00:00
* fixes/improvements to cron module
2013-07-21 15:12:30 +00:00
* add user_install=no option to gem module to install gems system wide
2013-07-22 19:17:28 +00:00
* added raw=yes to allow copying without python on remote machines
2013-08-03 18:50:58 +00:00
* added with_indexed_items lookup plugin
* Linode inventory plugin now significantly faster
* added recurse=yes parameter to pacman module for package removal
* apt_key module can now target specific keyrings (keyring=filename)
2013-08-22 01:09:23 +00:00
* ec2 module change reporting improved
2013-08-03 18:50:58 +00:00
* hg module now expands user paths (~)
2013-08-22 01:09:23 +00:00
* SSH connection type known host checking now can process hashed known_host files
2013-08-03 18:50:58 +00:00
* lvg module now checks for executables in more correct locations
2013-08-22 01:09:23 +00:00
* copy module now works correctly with sudo_user
2013-08-03 18:50:58 +00:00
* region parameter added to ec2_elb module
2013-08-22 01:09:23 +00:00
* better default XMPP module message types
* fixed conditional tests against raw booleans
2013-08-03 18:50:58 +00:00
* mysql module grant removal is now smarter
2013-08-06 21:30:09 +00:00
* apt-remove is now forced to be non-interactive
* support ; comments in INI file module
* fixes to callbacks WRT async output (fire and forget tasks now trigger callbacks!)
* folder support for s3 module
2013-08-11 20:26:12 +00:00
* added new example inventory plugin for Red Hat OpenShift
2013-08-22 01:09:23 +00:00
* and other misc. bugfixes
2013-06-10 19:34:52 +00:00
2013-12-03 20:10:13 +00:00
## 1.2.3 "Hear About It Later" (reprise) -- Aug 21, 2013
2013-08-22 02:50:52 +00:00
* Local security fixes for predictable file locations for ControlPersist and retry file paths on shared machines
on operating systems without kernel symlink/hardlink protections.
2013-12-03 20:10:13 +00:00
## 1.2.2 "Hear About It Later" (reprise) -- July 4, 2013
2013-07-06 01:48:02 +00:00
* Added a configuration file option [paramiko_connection] record_host_keys which allows the code that paramiko uses
to update known_hosts to be disabled. This is done because paramiko can be very slow at doing this if you have a
large number of hosts and some folks may not want this behavior. This can be toggled independently of host key checking
and does not affect the ssh transport plugin. Use of the ssh transport plugin is preferred if you have ControlPersist
capability, and Ansible by default in 1.2.1 and later will autodetect.
2013-12-03 20:10:13 +00:00
## 1.2.1 "Hear About It Later" -- July 4, 2013
2013-07-05 02:02:10 +00:00
* Connection default is now "smart", which discovers if the system openssh can support ControlPersist, and uses
it if so, if not falls back to paramiko.
* Host key checking is on by default. Disable it if you like by adding host_key_checking=False in the [default]
section of /etc/ansible/ansible.cfg or ~/ansible.cfg or by exporting ANSIBLE_HOST_KEY_CHECKING=False
* Paramiko now records host keys it was in contact with host key checking is on. It is somewhat sluggish when doing this,
so switch to the 'ssh' transport if this concerns you.
2013-12-03 20:10:13 +00:00
## 1.2 "Right Now" -- June 10, 2013
2013-04-03 00:47:57 +00:00
2013-04-05 17:59:10 +00:00
Core Features:
2013-04-05 17:14:58 +00:00
* capability to set 'all_errors_fatal: True' in a playbook to force any error to stop execution versus
a whole group or serial block needing to fail
usable, without breaking the ability to override in ansible
2013-05-11 19:15:51 +00:00
* ability to use variables from {{ }} syntax in mainline playbooks, new 'when' conditional, as detailed
in documentation. Can disable old style replacements in ansible.cfg if so desired, but are still active
by default.
2013-06-19 23:56:59 +00:00
* can set ansible_ssh_private_key_file as an inventory variable (similar to ansible_ssh_host, etc)
2013-04-06 23:02:41 +00:00
* 'when' statement can be affixed to task includes to auto-affix the conditional to each task therein
* cosmetic: "*****" banners in ansible-playbook output are now constant width
2013-04-08 16:39:00 +00:00
* --limit can now be given a filename (--limit @filename ) to constrain a run to a host list on disk
* failed playbook runs will create a retry file in /var/tmp/ansible usable with --limit
2013-04-20 22:21:03 +00:00
* roles allow easy arrangement of reusable tasks/handlers/files/templates
2013-04-21 19:33:51 +00:00
* pre_tasks and post_tasks allow for separating tasks into blocks where handlers will fire around them automatically
2013-04-20 22:21:03 +00:00
* "meta: flush_handler" task capability added for when you really need to force handlers to run
* new --start-at-task option to ansible playbook allows starting at a specific task name in a long playbook
2013-04-27 14:25:24 +00:00
* added a log file for ansible/ansible-playbook, set 'log_path' in the configuration file or ANSIBLE_LOG_PATH in environment
2013-05-25 03:19:59 +00:00
* debug mode always outputs debug in playbooks, without needing to specify -v
* external inventory script added for Spacewalk / Red Hat Satellite servers
2013-05-31 20:08:29 +00:00
* It is now possible to feed JSON structures to --extra-vars. Pass in a JSON dictionary/hash to feed in complex data.
2013-06-01 15:47:19 +00:00
* group_vars/ and host_vars/ directories can now be kept alongside the playbook as well as inventory (or both!)
2013-06-01 21:38:12 +00:00
* more filters: ability to say {{ foo|success }} and {{ foo|failed }} and when: foo|success and when: foo|failed
* more filters: {{ path|basename }} and {{ path|dirname }}
2013-06-01 22:34:27 +00:00
* lookup plugins now use the basedir of the file they have included from, avoiding needs of ../../../ in places and
2013-07-20 22:48:04 +00:00
increasing the ease at which things can be reorganized.
2013-04-05 17:59:10 +00:00
2013-04-28 14:16:21 +00:00
Modules added:
2013-04-05 17:59:10 +00:00
2013-05-29 23:01:01 +00:00
* cloud: rax: module for creating instances in the rackspace cloud (uses pyrax)
* packages: npm: node.js package management
* packages: pkgng: next-gen package manager for FreeBSD
2013-06-08 18:18:58 +00:00
* packages: redhat_subscription: manage Red Hat subscription usage
* packages: rhn_register: basic RHN registration
2013-06-08 18:06:36 +00:00
* packages: zypper (SuSE)
2014-04-29 14:41:05 +00:00
* database: postgresql_priv: manages postgresql privileges
2013-05-29 23:01:01 +00:00
* networking: bigip_pool: load balancing with F5s
* networking: ec2_elb: add and remove machines from ec2 elastic load balancers
* notification: hipchat: send notification events to hipchat
* notification: flowdock: send messages to flowdock during playbook runs
* notification: campfire: send messages to campfire during playbook runs
* notification: mqtt: send messages to the Mosquitto message bus
* notification: irc: send messages to IRC channels
* notification: filesystem - a wrapper around mkfs
* notification: jabber: send jabber chat messages
* notification: osx_say: make OS X say things out loud
2013-05-25 03:19:59 +00:00
* openstack: keystone_user
* openstack: glance_image
* openstack: nova_compute
* openstack: nova_keypair
* openstack: quantum_floating_ip
* openstack: quantum_floating_ip_associate
* openstack: quantum_network
* openstack: quantum_router
* openstack: quantum_router_gateway
2013-05-25 03:34:48 +00:00
* openstack: quantum_router_interface
2013-05-25 03:19:59 +00:00
* openstack: quantum_subnet
2013-05-29 23:01:01 +00:00
* monitoring: newrelic_deployment: notifies newrelic of new deployments
* monitoring: airbrake_deployment - notify airbrake of new deployments
* monitoring: pingdom
* monitoring: pagerduty
* monitoring: monit
* utility: set_fact: sets a variable, which can be the result of a template evaluation
2013-04-23 04:43:55 +00:00
Modules removed
* vagrant -- can't be compatible with both versions at once, just run things though the vagrant provisioner in vagrant core
2013-04-05 17:59:10 +00:00
Bugfixes and Misc Changes:
* service module happier if only enabled=yes|no specified and no state
* mysql_db: use --password= instead of -p in dump/import so it doesn't go interactive if no pass set
* when using -c ssh and the ansible user is the current user, don't pass a -o to allow SSH config to be
2013-04-05 19:30:36 +00:00
* overwrite parameter added to the s3 module
* private_ip parameter added to the ec2 module
2013-04-06 23:03:12 +00:00
* $FILE and $PIPE now tolerate unicode
2013-04-20 22:21:03 +00:00
* various plugin loading operations have been made more efficient
2014-04-29 14:41:05 +00:00
* hostname now uses platform.node versus socket.gethostname to be more consistent with Unix 'hostname'
2013-04-20 22:21:03 +00:00
* fix for SELinux operations on Unicode path names
* inventory directory locations now ignore files with .ini extensions, making hybrid inventory easier
* copy module in check-mode now reports back correct changed status when used with force=no
* added avail. zone to ec2 module
* fixes to the hash variable merging logic if so enabled in the main settings file (default is to replace, not merge hashes)
* group_vars and host_vars files can now end in a .yaml or .yml extension, (previously required no extension, still favored)
* ec2vol module improvements
* if the user module is told to generate the ssh key, the key generated is now returned in the results
* misc fixes to the Riak module
* make template module slightly more efficient
* base64encode / decode filters are now available to templates
2015-04-13 13:45:09 +00:00
* libvirt module can now work with multiple different libvirt connection URIs
2013-04-20 22:21:03 +00:00
* fix for postgresql password escaping
* unicode fix for shlex.split in some cases
2013-04-23 04:43:55 +00:00
* apt module upgrade logic improved
* URI module now can follow redirects
* yum module can now install off http URLs
* sudo password now defaults to ssh password if you ask for both and just hit enter on the second prompt
* validate feature on copy and template module, for example, running visudo prior to copying the file over
* network facts upgraded to return advanced configs (bonding, etc)
* region support added to ec2 module
2013-04-27 14:45:51 +00:00
* riak module gets a wait for ring option
* improved check mode support in the file module
* exception handling added to handle scenario when attempt to log to systemd journal fails
2013-04-28 14:16:21 +00:00
* fix for upstart handling when toggling the enablement and running bits at the same time
* when registering a task with a conditional attached, and the task is skipped by the conditional,
the variable is still registered for the host, with the attribute skipped: True.
2013-05-05 17:52:38 +00:00
* delegate_to tasks can look up ansible_ssh_private_key_file variable from inventory correctly now
* s3 module takes a 'dest' parameter to change the destination for uploads
* apt module gets a cache_valid_time option to avoid redundant cache updates
* ec2 module better understands security groups
* fix for postgresql codec usage
* setup module now tolerant of OpenVZ interfaces
2013-05-11 19:15:51 +00:00
* check mode reporting improved for files and directories
* doc system now reports on module requirements
* group_by module can now also make use of globally scoped variables
* localhost and 127.0.0.1 are now fuzzy matched in inventory (are now more or less interchangeable)
* AIX improvements/fixes for users, groups, facts
* lineinfile now does atomic file replacements
2014-04-29 14:41:05 +00:00
* fix to not pass PasswordAuthentication=no in the config file unnecessarily for SSH connection type
* for authorized_key on Debian Squeeze
2013-05-25 03:19:59 +00:00
* fixes for apt_repository module reporting changed incorrectly on certain repository types
* allow the virtualenv argument to the pip module to be a pathname
* service pattern argument now correctly read for BSD services
* fetch location can now be controlled more directly via the 'flat' parameter.
* added basename and dirname as Jinja2 filters available to all templates
2015-01-03 11:42:44 +00:00
* pip works better when sudoing from unprivileged users
2013-05-25 03:19:59 +00:00
* fix for user creation with groups specification reporting 'changed' incorrectly in some cases
* fix for some unicode encoding errors in outputing some data in verbose mode
2013-05-29 23:05:14 +00:00
* improved FreeBSD, NetBSD and Solaris facts
2013-05-29 23:01:01 +00:00
* debug module always outputs data without having to specify -v
2013-06-01 22:34:27 +00:00
* fix for sysctl module creating new keys (must specify checks=none)
2013-06-03 15:53:58 +00:00
* NetBSD and OpenBSD support for the user and groups modules
2013-06-06 22:04:38 +00:00
* Add encrypted password support to password lookup
2013-04-03 00:47:57 +00:00
2013-12-03 20:10:13 +00:00
## 1.1 "Mean Street" -- 4/2/2013
2013-02-02 02:38:21 +00:00
2013-02-23 18:57:54 +00:00
Core Features
2013-02-08 04:07:19 +00:00
* added --check option for "dry run" mode
2013-02-27 02:03:25 +00:00
* added --diff option to show how templates or copied files change, or might change
2013-02-23 18:57:54 +00:00
* --list-tasks for the playbook will list the tasks without running them
* able to set the environment by setting "environment:" as a dictionary on any task (go proxy support!)
* added ansible_ssh_user and ansible_ssh_pass for per-host/group username and password
* jinja2 extensions can now be loaded from the config file
* support for complex arguments to modules (within reason)
* can specify ansible_connection=X to define the connection type in inventory variables
* a new chroot connection type
2013-04-06 23:02:41 +00:00
* module common code now has basic type checking (and casting) capability
2013-02-27 02:03:25 +00:00
* module common now supports a 'no_log' attribute to mark a field as not to be syslogged
2013-03-02 05:01:43 +00:00
* inventory can now point to a directory containing multiple scripts/hosts files, if using this, put group_vars/host_vars directories inside this directory
2013-03-18 04:50:00 +00:00
* added configurable crypt scheme for 'vars_prompt'
* password generating lookup plugin -- $PASSWORD(path/to/save/data/in)
2013-03-17 15:39:57 +00:00
* added --step option to ansible-playbook, works just like Linux interactive startup!
2013-02-23 18:57:54 +00:00
Modules Added:
2013-03-26 02:40:47 +00:00
* bzr (bazaar version control)
* cloudformation
* django-manage
* gem (ruby gems)
2013-03-17 15:39:57 +00:00
* homebrew
2013-03-26 02:40:47 +00:00
* lvg (logical volume groups)
2013-03-02 05:01:43 +00:00
* lvol (LVM logical volumes)
2013-03-26 02:40:47 +00:00
* macports
* mongodb_user
2013-03-18 04:50:00 +00:00
* netscaler
2013-03-26 02:40:47 +00:00
* okg
* openbsd_pkg
* rabbit_mq_plugin
* rabbit_mq_user
* rabbit_mq_vhost
* rabbit_mq_parameter
* rhn_channel
* s3 -- allows putting file contents in buckets for sharing over s3
* uri module -- can get/put/post/etc
* vagrant -- launching VMs with vagrant, this is different from existing vagrant plugin
* zfs
2013-02-23 18:57:54 +00:00
Bugfixes and Misc Changes:
2013-02-08 04:07:19 +00:00
* stderr shown when commands fail to parse
* uses yaml.safe_dump in filter plugins
2013-02-23 18:57:54 +00:00
* authentication Q& A no longer happens before --syntax-check, but after
2013-02-08 04:07:19 +00:00
* ability to get hostvars data for nodes not in the setup cache yet
* SSH timeout now correctly passed to native SSH connection plugin
* raise an error when multiple when_ statements are provided
* --list-hosts applies host limit selections better
* (internals) template engine specifications to use template_ds everywhere
2013-03-02 05:01:43 +00:00
* better error message when your host file can not be found
2013-02-23 18:57:54 +00:00
* end of line comments now work in the inventory file
* directory destinations now work better with remote md5 code
* lookup plugin macros like $FILE and $ENV now work without returning arrays in variable definitions/playbooks
* uses yaml.safe_load everywhere
* able to add EXAMPLES to documentation via EXAMPLES docstring, rather than just in main documentation YAML
2013-03-02 05:01:43 +00:00
* can set ANSIBLE_COW_SELECTION to pick other cowsay types (including random)
* to_nice_yaml and to_nice_json available as Jinja2 filters that indent and sort
* cowsay able to run out of macports (very important!)
* improved logging for fireball mode
* nicer error message when talking to an older system that needs a JSON module installed
2013-07-28 13:14:53 +00:00
* 'magic' variable 'inventory_dir' now gives path to inventory file
2013-03-26 02:40:47 +00:00
* 'magic' variable 'vars' works like 'hostvars' but gives global scope variables, useful for debugging in templates mostly
* conditionals can be used on plugins like add_host
2013-03-26 02:56:32 +00:00
* developers: all callbacks now have access to a ".runner" and ".playbook", ".play", and ".task" object (use getattr, they may not always be set!)
2013-02-23 18:57:54 +00:00
Facts:
2013-02-09 19:50:47 +00:00
* block device facts for the setup module
2013-02-16 18:48:31 +00:00
* facts for AIX
* fact detection for OS type on Amazon Linux
2013-02-23 18:57:54 +00:00
* device fact gathering stability improvements
* ansible_os_family fact added
2013-03-02 05:01:43 +00:00
* user_id (remote user name)
* a whole series of current time information under the 'datetime' hash
2013-03-18 04:50:00 +00:00
* more OS X facts
* support for detecting Alpine Linux
2013-03-17 15:39:57 +00:00
* added facts for OpenBSD
2013-02-23 18:57:54 +00:00
Module Changes/Fixes:
2013-02-27 02:03:25 +00:00
* ansible module common code (and ONLY that) which is mixed in with modules, is now BSD licensed. App remains GPLv3.
* service code works better on platforms that mix upstart, systemd, and system-v
* service enablement idempotence fixes for systemd and upstart
2013-02-23 18:57:54 +00:00
* service status 4 is also 'not running'
* supervisorctl restart fix
* increased error handling for ec2 module
* can recursively set permissions on directories
* ec2: change to the way AMI tags are handled
* cron module can now also manipulate cron.d files
* virtualenv module can now inherit system site packages (or not)
2013-02-16 18:48:31 +00:00
* lineinfile module now has an insertbefore option
* NetBSD service module support
* fixes to sysctl module where item has multiple values
* AIX support for the user and group modules
2013-02-23 18:57:54 +00:00
* able to specify a different hg repo to pull from than the original set
2013-02-17 16:22:50 +00:00
* add_host module can set ports and other inventory variables
* add_host module can add modules to multiple groups (groups=a,b,c), groups now alias for groupname
2013-02-23 18:46:18 +00:00
* subnet ID can be set on EC2 module
* MySQL module password handling improvements
* added new virtualenv flags to pip and easy_install modules
* various improvements to lineinfile module, now accepts common arguments from file
* force= now replaces thirsty where used before, thirsty remains an alias
2013-02-23 18:57:54 +00:00
* setup module can take a 'filter=< wildcard > ' parameter to just return a few facts (not used by playbooks)
2013-02-23 18:46:18 +00:00
* cron module works even if no crontab is present (for cron.d)
* security group ID settable on EC2 module
* misc fixes to sysctl module
* fix to apt module so packages not in cache are still removable
* charset fix to mail module
* postresql db module now does not try to create the 'PUBLIC' user
2013-02-27 02:03:25 +00:00
* SVN module now works correctly with self signed certs
2013-03-02 05:01:43 +00:00
* apt module now has an upgrade parameter (values=yes, no, or 'dist')
2013-03-18 04:50:00 +00:00
* nagios module gets new silence/unsilence commands
* ability to disable proxy usage in get_url (use_proxy=no)
* more OS X facts
* added a 'fail_on_missing' (default no) option to fetch
* added timeout to the uri module (default 30 seconds, adjustable)
2013-04-21 19:33:51 +00:00
* ec2 now has a 'wait' parameter to wait for the instance to be active, eliminates need for separate wait_for call.
2013-03-18 04:50:00 +00:00
* allow regex backreferences in lineinfile
2013-03-17 15:39:57 +00:00
* id attribute on ec2 module can be used to set idempotent-do-not-recreate launches
* icinga support for nagios module
* fix default logins when no my.conf for MySQL module
* option to create users with non-unique UIDs (user module)
* macports module can enable/disable packages
2013-03-26 02:40:47 +00:00
* quotes in my.cnf are stripped by the MySQL modules
* Solaris Service management added
* service module will attempt to auto-add unmanaged chkconfig services when needed
* service module supports systemd service unit files
2013-02-23 18:57:54 +00:00
Plugins:
* added 'with_random_choice' filter plugin
* fixed ~ expansion for fileglob
2013-03-17 15:39:57 +00:00
* with_nested allows for nested loops (see examples in examples/playbooks)
2013-02-02 02:38:21 +00:00
2013-12-03 20:10:13 +00:00
## 1.0 "Eruption" -- Feb 1 2013
2013-01-20 16:30:24 +00:00
2013-01-26 18:30:38 +00:00
New modules:
2013-01-20 16:30:24 +00:00
* new sysctl module
* new pacman module (Arch linux)
2013-01-26 18:30:38 +00:00
* new apt_key module
* hg module now in core
* new ec2_facts module
* added pkgin module for Joyent SmartOS
New config settings:
2013-01-28 16:41:43 +00:00
* sudo_exe parameter can be set in config to use sudo alternatives
* sudo_flags parameter can alter the flags used with sudo
2013-01-26 18:30:38 +00:00
New playbook/language features:
2013-01-28 16:41:43 +00:00
* added when_failed and when_changed
2013-01-26 18:30:38 +00:00
* task includes can now be of infinite depth
2013-01-20 16:30:24 +00:00
* when_set and when_unset can take more than one var (when_set: $a and $b and $c)
2013-01-26 18:30:38 +00:00
* added the with_sequence lookup plugin
2015-04-13 13:45:09 +00:00
* can override "connection:" on an individual task
2013-01-26 18:30:38 +00:00
* parameterized playbook includes can now define complex variables (not just all on one line)
* making inventory variables available for use in vars_files paths
* messages when skipping plays are now more clear
2013-02-02 02:27:00 +00:00
* --extra-vars now has maximum precedence (as intended)
2013-01-26 18:30:38 +00:00
Module fixes and new flags:
* ability to use raw module without python on remote system
2013-01-20 16:30:24 +00:00
* fix for service status checking on Ubuntu
* service module now responds to additional exit code for SERVICE_UNAVAILABLE
* fix for raw module with '-c local'
2013-01-26 18:30:38 +00:00
* various fixes to git module
2013-01-20 16:30:24 +00:00
* ec2 module now reports the public DNS name
* can pass executable= to the raw module to specify alternative shells
* fix for postgres module when user contains a "-"
* added additional template variables -- $template_fullpath and $template_run_date
* raise errors on invalid arguments used with a task include statement
* shell/command module takes a executable= parameter to specify a different shell than /bin/sh
* added return code and error output to the raw module
* added support for @reboot to the cron module
* misc fixes to the pip module
* nagios module can schedule downtime for all services on the host
* various subversion module improvements
* various mail module improvements
* SELinux fix for files created by authorized_key module
* "template override" ??
2013-01-26 18:07:06 +00:00
* get_url module can now send user/password authorization
* ec2 module can now deploy multiple simultaneous instances
* fix for apt_key modules stalling in some situations
2013-01-26 18:30:38 +00:00
* fix to enable Jinja2 {% include %} to work again in template
2013-01-26 18:07:06 +00:00
* ec2 module is now powered by Boto
* setup module can now detect if package manager is using pacman
2013-02-02 02:27:00 +00:00
* fix for yum module with enablerepo in use on EL 6
2013-01-26 18:07:06 +00:00
2013-01-26 18:30:38 +00:00
Core fixes and new behaviors:
2012-12-01 03:27:06 +00:00
2013-01-26 18:30:38 +00:00
* various fixes for variable resolution in playbooks
* fixes for handling of "~" in some paths
* various fixes to DWIM'ing of relative paths
* /bin/ansible now takes a --list-hosts just like ansible-playbook did
* various patterns can now take a regex vs a glob if they start with "~" (need docs on which!) - also /usr/bin/ansible
* allow intersecting host patterns by using "& " ("webservers:!debian:& datacenter1")
* handle tilde shell character for --private-key
* hash merging policy is now selectable in the config file, can choose to override or merge
2013-01-26 18:32:55 +00:00
* environment variables now available for setting all plugin paths (ANSIBLE_CALLBACK_PLUGINS, etc)
2013-02-02 02:27:00 +00:00
* added packaging file for macports (not upstreamed yet)
* hacking/test-module script now uses /usr/bin/env properly
* fixed error formatting for certain classes of playbook syntax errors
* fix for processing returns with large volumes of output
2013-01-26 18:30:38 +00:00
Inventory files/scripts:
* hostname patterns in the inventory file can now use alphabetic ranges
* whitespace is now allowed around group variables in the inventory file
* inventory scripts can now define groups of groups and group vars (need example for docs?)
2012-12-01 03:27:06 +00:00
2013-12-03 20:10:13 +00:00
## 0.9 "Dreams" -- Nov 30 2012
2012-10-20 01:01:57 +00:00
2012-11-11 16:55:28 +00:00
Highlighted core changes:
2012-10-21 03:07:49 +00:00
* various performance tweaks, ansible executes dramatically less SSH ops per unit of work
2012-10-26 03:05:31 +00:00
* close paramiko SFTP connections less often on copy/template operations (speed increase)
* change the way we use multiprocessing (speed/RAM usage improvements)
2012-11-11 16:55:28 +00:00
* able to set default for asking password & sudo password in config file
* ansible now installs nicely if running inside a virtualenv
* flag to allow SSH connection to move files by scp vs sftp (in config file)
* additional RPM subpackages for easily installing fireball mode deps (server and node)
* group_vars/host_vars now available to ansible, not just playbooks
2012-11-19 19:22:34 +00:00
* native ssh connection type (-c ssh) now supports passwords as well as keys
2012-12-01 03:27:06 +00:00
* ansible-doc program to show details
2012-11-11 16:55:28 +00:00
Other core changes:
* fix for template calls when last character is '$'
2012-11-19 19:22:34 +00:00
* if ansible_python_interpreter is set on a delegated host, it now works as intended
2013-03-06 18:41:19 +00:00
* --limit can now take "," as separator as well as ";" or ":"
2012-11-11 16:55:28 +00:00
* msg is now displaced with newlines when a task fails
2012-11-19 19:22:34 +00:00
* if any with_ plugin has no results in a list (empty list for with_items, etc), the task is now skipped
2012-11-11 16:55:28 +00:00
* various output formatting fixes/improvements
* fix for Xen dom0/domU detection in default facts
* 'ansible_domain' fact now available (ex value: example.com)
2012-11-19 19:22:34 +00:00
* configured remote temp file location is now always used even for root
2012-11-19 19:18:55 +00:00
* 'register'-ed variables are not recorded for skipped hosts (for example, using only_if/when)
* duplicate host records for the same host can no longer result when a host is listed in multiple groups
* ansible-pull now passes --limit to prevent running on multiple hosts when used with generic playbooks
* remote md5sum check fixes for Solaris 10
* ability to configure syslog facility used by remote module calls
* in templating, stray '$' characters are now handled more correctly
2012-11-11 16:55:28 +00:00
Playbook changes:
* relative paths now work for 'first_available_file'
* various templating engine fixes
2012-11-11 16:59:38 +00:00
* 'when' is an easier form of only if
2012-11-19 19:18:55 +00:00
* --list-hosts on the playbook command now supports multiple playbooks on the same command line
* playbook includes can now be parameterized
2012-11-11 16:55:28 +00:00
Module additions:
* (addhost) new module for adding a temporary host record (used for creating new guests)
* (group_by) module allows partitioning hosts based on group data
* (ec2) new module for creating ec2 hosts
* (script) added 'script' module for pushing and running self-deleting remote scripts
* (svr4pkg) solaris svr4pkg module
2012-11-19 19:22:34 +00:00
Module changes:
2012-11-11 16:55:28 +00:00
* (authorized key) module uses temp file now to prevent failure on full disk
2012-11-19 19:18:55 +00:00
* (fetch) now uses the 'slurp' internal code to work as you would expect under sudo'ed accounts
* (fetch) internal usage of md5 sums fixed for BSD
2012-11-11 16:55:28 +00:00
* (get_url) thirsty is no longer required for directory destinations
* (git) various git module improvements/tweaks
2012-11-19 19:18:55 +00:00
* (group) now subclassed for various platforms, includes SunOS support
2012-11-11 16:55:28 +00:00
* (lineinfile) create= option on lineinfile can create the file when it does not exist
2012-11-19 19:22:34 +00:00
* (mysql_db) module takes new grant options
2012-11-11 16:55:28 +00:00
* (postgresql_db) module now takes role_attr_flags
* (service) further upgrades to service module service status reporting
* (service) tweaks to get service module to play nice with BSD style service systems (rc.conf)
2012-11-19 19:18:55 +00:00
* (service) possible to pass additional arguments to services
2012-11-11 16:55:28 +00:00
* (shell) and command module now take an 'executable=' flag for specifying an alternate shell than /bin/sh
* (user) ability to create SSH keys for users when using user module to create users
* (user) atomic replacement of files preserves permissions of original file
* (user) module can create SSH keys
* (user) module now does Solaris and BSD
* (yum) module takes enablerepo= and disablerepo=
* (yum) misc yum module fixing for various corner cases
Plugin changes:
2012-11-03 23:35:54 +00:00
* EC2 inventory script now produces nicer failure message if AWS is down (or similar)
* plugin loading code now more streamlined
2012-11-11 16:43:31 +00:00
* lookup plugins for DNS text records, environment variables, and redis
2012-11-19 19:27:23 +00:00
* added a template lookup plugin $TEMPLATE('filename.j2')
2013-04-06 23:02:41 +00:00
* various tweaks to the EC2 inventory plugin
2012-11-11 16:43:31 +00:00
* jinja2 filters are now pluggable so it's easy to write your own (to_json/etc, are now impl. as such)
2012-10-20 01:01:57 +00:00
2013-12-03 20:10:13 +00:00
## 0.8 "Cathedral" -- Oct 19, 2012
2012-09-06 22:56:38 +00:00
2012-10-08 23:20:55 +00:00
Highlighted Core Changes:
2012-10-01 01:33:38 +00:00
2012-10-08 23:20:55 +00:00
* fireball mode -- ansible can bootstrap a ephemeral 0mq (zeromq) daemon that runs as a given user and expires after X period of time. It is very fast.
* playbooks with errors now return 2 on failure. 1 indicates a more fatal syntax error. Similar for /usr/bin/ansible
2012-10-01 01:33:38 +00:00
* server side action code (template, etc) are now fully pluggable
2012-10-13 00:07:05 +00:00
* ability to write lookup plugins, like the code powering "with_fileglob" (see below)
2012-10-08 23:20:55 +00:00
Other Core Changes:
2013-06-13 21:09:22 +00:00
* ansible config file can also go in 'ansible.cfg' in cwd in addition to ~/.ansible.cfg and /etc/ansible/ansible.cfg
2012-10-01 01:33:38 +00:00
* fix for inventory hosts at API level when hosts spec is a list and not a colon delimited string
* ansible-pull example now sets up logrotate for the ansible-pull cron job log
* negative host matching (!hosts) fixed for external inventory script usage
* internals: os.executable check replaced with utils function so it plays nice on AIX
* Debian packaging now includes ansible-pull manpage
* magic variable 'ansible_ssh_host' can override the hostname (great for usage with tunnels)
* date command usage in build scripts fixed for OS X
* don't use SSH agent with paramiko if a password is specified
* make output be cleaner on multi-line command/shell errors
* /usr/bin/ansible now prints things when tasks are skipped, like when creates= is used with -m command and /usr/bin/ansible
* when trying to async a module that is not a 'normal' asyncable module, ansible will now let you know
2012-10-08 23:20:55 +00:00
* ability to access inventory variables via 'hostvars' for hosts not yet included in any play, using on demand lookups
* merged ansible-plugins, ansible-resources, and ansible-docs into the main project
* you can set ANSIBLE_NOCOWS=1 if you want to disable cowsay if it is installed. Though no one should ever want to do this! Cows are great!
2013-12-10 21:40:11 +00:00
* you can set ANSIBLE_FORCE_COLOR=1 to force color mode even when running without a TTY
2012-10-08 23:20:55 +00:00
* fatal errors are now properly colored red.
* skipped messages are now cyan, to differentiate them from unchanged messages.
* extensive documentation upgrades
2012-10-19 00:21:27 +00:00
* delegate_action to localhost (aka local_action) will always use the local connection type
2012-10-01 01:33:38 +00:00
2012-10-08 23:20:55 +00:00
Highlighted playbook changes:
2012-09-11 22:08:57 +00:00
2012-10-08 23:20:55 +00:00
* is_set is available for use inside of an only_if expression: is_set('ansible_eth0'). We intend to further upgrade this with a 'when'
keyword providing better options to 'only_if' in the next release. Also is_unset('ansible_eth0')
2012-09-11 22:08:57 +00:00
* playbooks can import playbooks in other directories and then be able to import tasks relative to them
2012-09-19 01:29:00 +00:00
* FILE($path) now allows access of contents of file in a path, very good for use with SSH keys
* similarly PIPE($command) will run a local command and return the results of executing this command
2012-10-08 23:20:55 +00:00
* if all hosts in a play fail, stop the playbook, rather than letting the console log spool on by
* only_if using register variables that are booleans now works in a boolean way like you'd expect
* task includes now work with with_items (such as: include: path/to/wordpress.yml user=$item)
* when using a $list variable with $var or ${var} syntax it will automatically join with commas
* setup is not run more than once when we know it is has already been run in a play that included another play, etc
2012-10-12 21:31:13 +00:00
* can set/override sudo and sudo_user on individual tasks in a play, defaults to what is set in the play if not present
2012-10-13 00:07:05 +00:00
* ability to use with_fileglob to iterate over local file patterns
2012-10-19 00:21:27 +00:00
* templates now use Jinja2's 'trim_blocks=True' to avoid stray newlines, small changes to templates may
be required in rare cases.
2012-10-08 23:20:55 +00:00
Other playbook changes:
* to_yaml and from_yaml are available as Jinja2 filters
* $group and $group_names are now accessible in with_items
* where 'stdout' is provided a new 'stdout_lines' variable (type == list) is now generated and usable with with_items
2012-09-19 01:29:00 +00:00
* when local_action is used the transport is automatically overridden to the local type
2012-09-26 00:50:21 +00:00
* output on failed playbook commands is now nicely split for stderr/stdout and syntax errors
* if local_action is not used and delegate_to was 127.0.0.1 or localhost, use local connection regardless
* when running a playbook, and the statement has changed, prints 'changed:' now versus 'ok:' so it is obvious without colored mode
* variables now usable within vars_prompt (just not host/group vars)
2012-10-01 01:33:38 +00:00
* setup facts are now retained across plays (dictionary just gets updated as needed)
* --sudo-user now works with --extra-vars
* fix for multi_line strings with only_if
2012-10-08 23:20:55 +00:00
New Modules:
* ini_file module for manipulating INI files
* new LSB facts (release, distro, etc)
* pause module -- (pause seconds=10) (pause minutes=1) (pause prompt=foo) -- it's an action plugin
* a module for adding entries to the main crontab (though you may still wish to just drop template files into cron.d)
* debug module can be used for outputing messages without using 'shell echo'
* a fail module is now available for causing errors, you might want to use it with only_if to fail in certain conditions
Other module Changes, Upgrades, and Fixes:
2012-10-01 01:33:38 +00:00
* removes= exists on command just like creates=
* postgresql modules now take an optional port= parameter
* /proc/cmdline info is now available in Linux facts
* public host key detection for OS X
* lineinfile module now uses 'search' not exact 'match' in regexes, making it much more intuitive and not needing regex syntax most of the time
* added force=yes|no (default no) option for file module, which allows transition between files to directories and so on
* additional facts for SunOS virtualization
* copy module is now atomic when used across volumes
* url_get module now returns 'dest' with the location of the file saved
* fix for yum module when using local RPMs vs downloading
* cleaner error messages with copy if destination directory does not exist
2012-09-26 00:50:21 +00:00
* setup module now still works if PATH is not set
* service module status now correct for services with 'subsys locked' status
* misc fixes/upgrades to the wait_for module
* git module now expands any "~" in provided destination paths
2012-09-28 01:48:38 +00:00
* ignore stop error code failure for service module with state=restarted, always try to start
2012-10-01 01:33:38 +00:00
* inline documentation for modules allows documentation source to built without pull requests to the ansible-docs project, among other things
2012-10-08 23:20:55 +00:00
* variable '$ansible_managed' is now great to include at the top of your templates and includes useful information and a warning that it will be replaced
* "~" now expanded in command module when using creates/removes
2012-10-12 21:38:31 +00:00
* mysql module can do dumps and imports
2012-10-20 00:45:06 +00:00
* selinux policy is only required if setting to not disabled
* various fixes for yum module when working with packages not in any present repo
2012-09-07 00:58:23 +00:00
2013-12-03 20:10:13 +00:00
## 0.7 "Panama" -- Sept 6 2012
2012-08-19 00:30:57 +00:00
Module changes:
2012-08-06 23:55:27 +00:00
2012-08-07 01:46:47 +00:00
* login_unix_socket option for mysql user and database modules (see PR #781 for doc notes)
2012-08-09 00:27:33 +00:00
* new modules -- pip, easy_install, apt_repository, supervisorctl
* error handling for setup module when SELinux is in a weird state
* misc yum module fixes
* better changed=True/False detection in user module on older Linux distros
2012-08-09 00:43:01 +00:00
* nicer errors from modules when arguments are not key=value
2012-09-05 00:38:06 +00:00
* backup option on copy (backup=yes), as well as template, assemble, and lineinfile
2012-08-10 04:39:19 +00:00
* file module will not recurse on directory properties
* yum module now workable without having repoquery installed, but doesn't support comparisons or list= if so
2012-08-19 00:30:57 +00:00
* setup module now detects interfaces with aliases
* better handling of VM guest type detection in setup module
* new module boilerplate code to check for mutually required arguments, arguments required together, exclusive args
2014-04-29 14:41:05 +00:00
* add pattern= as a parameter to the service module (for init scripts that don't do status, or do poor status)
2012-08-19 00:30:57 +00:00
* various fixes to mysql & postresql modules
2012-08-20 22:39:37 +00:00
* added a thirsty= option (boolean, default no) to the get_url module to decide to download the file every time or not
2012-08-30 23:21:08 +00:00
* added a wait_for module to poll for ports being open
* added a nagios module for controlling outage windows and alert statuses
* added a seboolean module for getsebool/setsebool type operations
* added a selinux module for controlling overall SELinux policy
* added a subversion module
* added lineinfile for adding and removing lines from basic files
* added facts for ARM-based CPUs
* support for systemd in the service module
* git moduleforce reset behavior is now controllable
* file module can now operate on special files (block devices, etc)
2012-08-19 00:30:57 +00:00
Core changes:
* ansible --version will now give branch/SHA information if running from git
* better sudo permissions when encountering different umasks
* when using paramiko and SFTP is not accessible, do not traceback, but return a nice human readable msg
* use -vvv for extreme debug levels. -v gives more playbook output as before
* -vv shows module arguments to all module calls (and maybe some other things later)
2012-08-30 23:21:08 +00:00
* don not pass "--" to sudo to work on older EL5
2012-08-10 04:39:19 +00:00
* make remote_md5 internal function work with non-bash shells
* allow user to be passed in via --extra-vars (regression)
2012-08-10 06:45:29 +00:00
* add --limit option, which can be used to further confine the pattern given in ansible-playbooks
2012-08-11 17:49:18 +00:00
* adds ranged patterns like dbservers[0-49] for usage with patterns or --limit
2012-08-11 21:34:26 +00:00
* -u and user: defaults to current user, rather than root, override as before
2012-08-13 23:17:41 +00:00
* /etc/ansible/ansible.cfg and ~/ansible.cfg now available to set default values and other things
2012-08-19 00:30:57 +00:00
* (developers) ANSIBLE_KEEP_REMOTE_FILES=1 can be used in debugging (envrionment variable)
* (developers) connection types are now plugins
2012-08-30 23:21:08 +00:00
* (developers) callbacks can now be extended via plugins
* added FreeBSD ports packaging scripts
* check for terminal properties prior to engaging color modes
* explicitly disable password auth with -c ssh, as it is not used anyway
2012-08-19 00:30:57 +00:00
Playbooks:
* YAML syntax errors detected and show where the problem is
2012-08-30 23:21:08 +00:00
* if you ctrl+c a playbook it will not traceback (usually)
2012-08-19 00:30:57 +00:00
* vars_prompt now has encryption options (see examples/playbooks/prompts.yml)
* allow variables in parameterized task include parameters (regression)
* add ability to store the result of any command in a register (see examples/playbooks/register_logic.yml)
2012-08-17 01:34:55 +00:00
* --list-hosts to show what hosts are included in each play of a playbook
2012-08-19 00:30:57 +00:00
* fix a variable ordering issue that could affect vars_files with selective file source lists
2012-08-18 12:46:51 +00:00
* adds 'delegate_to' for a task, which can be used to signal outage windows and load balancers on behalf of hosts
2012-08-18 13:52:13 +00:00
* adds 'serial' to playbook, allowing you to specify how many hosts can be processing a playbook at one time (default 0=all)
2012-08-30 23:21:08 +00:00
* adds 'local_action: < action parameters > ' as an alias to 'delegate_to: 127.0.0.1'
2012-08-07 01:46:47 +00:00
2013-12-03 20:10:13 +00:00
## 0.6 "Cabo" -- August 6, 2012
2012-07-04 18:03:59 +00:00
2012-08-01 01:00:55 +00:00
playbooks:
2012-08-07 01:00:21 +00:00
* support to tag tasks and includes and use --tags in playbook CLI
2012-08-01 01:00:55 +00:00
* playbooks can now include other playbooks (example/playbooks/nested_playbooks.yml)
* vars_files now usable with with_items, provided file paths don't contain host specific facts
* error reporting if with_items value is unbound
* 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-12-14 10:56:53 +00:00
* at the top level of a playbook, set 'gather_facts: no' to skip fact gathering
2012-08-01 01:00:55 +00:00
* first_available_file and with_items used together will now raise an error
* to catch typos, like 'var' for 'vars', playbooks and tasks now yell on invalid parameters
* automatically load (directory_of_inventory_file)/group_vars/groupname and /host_vars/hostname in vars_files
* playbook is now colorized, set ANSIBLE_NOCOLOR=1 if you do not like this, does not colorize if not a TTY
* hostvars now preserved between plays (regression in 0.5 from 0.4), useful for sharing vars in multinode configs
2012-12-14 10:56:53 +00:00
* ignore_errors: yes on a task can be used to allow a task to fail and not stop the play
2012-08-02 02:35:07 +00:00
* with_items with the apt/yum module will install/remove/update everything in a single command
2012-08-01 01:00:55 +00:00
inventory:
2012-07-12 05:09:10 +00:00
* groups variable available as a hash to return the hosts in each group name
2012-08-01 01:00:55 +00:00
* in YAML inventory, hosts can list their groups in inverted order now also (see tests/yaml_hosts)
* YAML inventory is deprecated and will be removed in 0.7
* ec2 inventory script
2012-08-01 04:21:36 +00:00
* support ranges of hosts in the host file, like www[001-100].example.com (supports leading zeros and also not)
2012-08-01 01:00:55 +00:00
modules:
2012-07-07 12:47:13 +00:00
* fetch module now does not fail a system when requesting file paths (ex: logs) that don't exist
2012-07-07 12:49:15 +00: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 13:11:24 +00:00
* copy module takes a remote md5sum to avoid large file transfer
2012-07-12 00:50:43 +00:00
* 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 05:09:10 +00:00
* fetch module fixes for SSH connection type
2012-08-01 01:00:55 +00:00
* modules now consistently all take yes/no for boolean parameters (and DWIM on true/false/1/0/y/n/etc)
2012-07-14 15:59:12 +00:00
* setup module no longer saves to disk, template module now only used in playbooks
2012-07-14 16:24:19 +00:00
* setup module no longer needs to run twice per playbook
2012-07-17 00:19:52 +00:00
* apt module now passes DEBIAN_FRONTEND=noninteractive
2012-08-01 01:00:55 +00:00
* mount module (manages active mounts + fstab)
2012-07-20 14:13:26 +00:00
* setup module fixes if no ipv6 support
2012-07-23 23:34:18 +00:00
* internals: template in common module boilerplate, also causes less SSH operations when used
2012-07-20 14:13:26 +00:00
* git module fixes
2012-08-07 01:00:21 +00:00
* setup module overhaul, more modular
2012-07-23 23:34:18 +00:00
* minor caching logic added to inventory to reduce hammering of inventory scripts.
2012-07-27 23:03:12 +00:00
* MySQL and PostgreSQL modules for user and db management
* vars_prompt now supports private password entry (see examples/playbooks/prompts.yml)
2012-08-02 02:35:07 +00:00
* yum module modified to be more tolerant of plugins spewing random console messages (ex: RHN)
2012-08-01 01:00:55 +00:00
internals:
* when sudoing to root, still use /etc/ansible/setup as the metadata path, as if root
* paramiko is now only imported if needed when running from source checkout
* cowsay support on Ubuntu
* various ssh connection fixes for old Ubuntu clients
* ./hacking/test-module now supports options like ansible takes and has a debugger mode
2012-07-28 12:50:19 +00:00
* sudoing to a user other than root now works more seamlessly (uses /tmp, avoids umask issues)
2012-07-07 12:49:15 +00:00
2013-12-03 20:10:13 +00:00
## 0.5 "Amsterdam" ------- July 04, 2012
2012-06-20 01:20:17 +00: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
2013-03-06 18:41:19 +00:00
* --module-path parameter can support multiple directories separated with the OS path separator
2012-06-20 01:20:17 +00:00
* 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-29 22:44:09 +00:00
* removed module debug option -D
* added --verbose, which shows output from successful playbook operations
2012-06-29 22:48:37 +00:00
* print the output of the raw command inside /usr/bin/ansible as with command/shell
2012-06-29 22:56:49 +00: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 01:20:17 +00:00
2013-12-03 20:10:13 +00:00
## 0.4 "Unchained" ------- May 23, 2012
2012-04-26 01:23:50 +00:00
2012-05-23 23:38:59 +00: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 01:30:04 +00:00
* sudo improvements, now works much more smoothly
2012-05-23 23:38:59 +00: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 01:30:04 +00:00
* list of hosts in playbooks can be expressed as a YAML list in addition to ; delimited
2012-05-23 23:38:59 +00: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 03:12:09 +00:00
* first_available_file feature, see selective_file_sources.yml in examples/playbooks for info
2012-04-28 15:29:02 +00:00
* --extra-vars="a=2 b=3" etc, now available to inject parameters into playbooks from CLI
2012-05-23 23:38:59 +00: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 05:27:47 +00:00
* modules can no longer include stderr output (paramiko limitation from sudo)
2012-05-23 23:38:59 +00: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 03:03:00 +00: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 03:05:40 +00:00
* service module works better on Ubuntu
* git module now does resets and such to work more smoothly on updates
2012-05-08 03:48:18 +00:00
* modules all now log to syslog
2012-05-10 03:31:58 +00:00
* enabled=yes|no on a service can be used to toggle chkconfig & updates-rc.d states
2012-05-23 23:38:59 +00: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 03:31:58 +00:00
* variables with mixed case now legal
2012-05-23 23:38:59 +00:00
* fix to internals of hacking/test-module development script
2012-04-26 01:23:50 +00:00
2013-12-03 20:10:13 +00:00
## 0.3 "Baluchitherium" -- April 23, 2012
2012-04-26 01:23:50 +00:00
* 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
2012-08-11 22:14:31 +00:00
* command task supports creates=foo for idempotent semantics, won't run if file foo already exists
2012-04-26 01:23:50 +00:00
2013-12-03 20:10:13 +00:00
## 0.0.2 and 0.0.1
2012-04-26 01:23:50 +00:00
* Initial stages of project