2012-04-26 03:23:50 +02:00
Ansible Changes By Release
==========================
2017-09-17 18:53:12 +02:00
< a id = "2.5" > < / a >
## 2.5 "TBD" - ACTIVE DEVELOPMENT
### Major Changes
2017-09-18 07:01:10 +02:00
* Removed the previously deprecated 'accelerate' mode and all associated keywords and code.
2017-11-14 16:36:41 +01:00
* New simpler and more intuitive 'loop' keyword for task loops. The ``with_< lookup > `` loops will be deprecated in the near future and eventually removed.
2017-12-05 19:44:12 +01:00
* Added fact namespacing, from now on facts will be available under `ansible_facts` namespace (i.e. `ansible_facts.os_distribution` ) w/o the `ansible_` prefix.
2017-11-09 15:59:26 +01:00
They will continue to be added into the main namespace directly, but now with a configuration toggle to enable this,
currently on by default, in the future it will be off.
2018-01-23 01:58:43 +01:00
* Add a configuration file to filter modules that a site administrator wants to exclude from being used.
2017-09-17 18:53:12 +02:00
### Deprecations
2017-11-02 00:07:43 +01:00
* Previously deprecated 'hostfile' config settings have been 're-deprecated' as previously code did not warn about deprecated configuration settings.
2017-11-27 23:58:08 +01:00
* Using Ansible provided Jinja tests as filters is deprecated and will be removed in Ansible 2.9
2017-11-28 00:58:55 +01:00
* `stat` and `win_stat` have deprecated `get_md5` and the `md5` return value
2017-12-18 22:30:16 +01:00
and these options will become undocumented in Ansible 2.9 and removed in a
later version.
2017-12-14 16:41:46 +01:00
* The `redis_kv` lookup in favor of new `redis` lookup
2017-12-19 23:36:02 +01:00
* Passing arbitrary parameters that begin with `HEADER_` to the uri module,
used for passing http headers, is deprecated. Use the ``headers`` parameter
with a dictionary of header names to value instead. This will be removed in
Ansible-2.9
* Passing arbitrary parameters to the zfs module to set zfs properties is
deprecated. Use the ``extra_zfs_properties`` parameter with a dictionary of
property names to values instead. This will be removed in Ansible-2.9.
* Use of the AnsibleModule parameter, check_invalid_arguments, in custom modules
is deprecated. In the future, all parameters will be checked to see whether
they are listed in the arg spec and an error raised if they are not listed.
This behaviour is the current and future default so most custom modules can
simply remove check_invalid_arguments if they set it to the default of True.
check_invalid_arguments will be removed in Ansible-2.9.
2017-12-20 06:37:23 +01:00
* nxos_ip_interface module is deprecated in Ansible 2.5. Use nxos_l3_interface module instead.
2017-12-20 06:56:07 +01:00
* nxos_portchannel module is deprecated in Ansible 2.5. Use nxos_linkagg module instead.
2018-01-05 08:44:02 +01:00
* nxos_switchport module is deprecated in Ansible 2.5. Use nxos_l2_interface module instead.
2017-09-17 18:53:12 +02:00
### Minor Changes
* added a few new magic vars corresponding to configuration/command line options:
2017-09-22 05:53:45 +02:00
`ansible_diff_mode` , `ansible_inventory_sources` , `ansible_limit` , `ansible_run_tags` , `ansible_forks` and `ansible_skip_tags`
2017-09-18 07:01:10 +02:00
* Updated the bundled copy of the six library to 1.11.0
2017-10-10 03:04:09 +02:00
* Added support to `become` `NT AUTHORITY\System` , `NT AUTHORITY\LocalService` , and `NT AUTHORITY\NetworkService` on Windows hosts
2017-11-06 06:09:35 +01:00
* Fixed `become` to work with async on Windows hosts
* Improved `become` elevation process to work on standard Administrator users without disabling UAC on Windows hosts
2017-11-08 22:59:59 +01:00
* The jenkins_plugin and yum_repository plugins had their `params` option
removed due to circumventing Ansible's option processing.
2017-11-09 16:02:19 +01:00
* combine filter now accepts a list of dicts as well as dicts directly
2017-11-01 16:41:17 +01:00
* New CLI options for ansible-inventory, ansible-console and ansible to allow
specifying a playbook_dir to be used for relative search paths.
2017-11-28 00:58:55 +01:00
* `stat` and `win_stat` have changed the default value of `get_md5` to `False` which will result
in the `md5` return value not being returned. This option will be removed altogether in Ansible
2.9. use `get_checksum: True` with `checksum_algorithm: md5` to return an md5 hash of the file
under the `checksum` return value.
2017-12-09 14:45:31 +01:00
* `osx_say` module was renamed into `say` .
Provide a way to explicitly invoke the debugger (#34006)
* Provide a way to explicitly invoke the debugger with in the debug strategy
* Merge the debugger strategy into StrategyBase
* Fix some logic, pin to a single result
* Make redo also continue
* Make sure that if the debug closure doesn't need to process the result, that we still return it
* Fix failing tests for the strategy
* Clean up messages from debugger and exit code to match bin/ansible
* Move the FieldAttribute higher, to apply at different levels
* make debugger a string, expand logic
* Better host state rollbacks
* More explicit debugger prompt
* ENABLE_TASK_DEBUGGER should be boolean, and better docs
* No bare except, add pprint, alias h, vars to task_vars
* _validate_debugger can ignore non-string, that can be caught later
* Address issue if there were no previous tasks/state, and use the correct key
* Update docs for changes to the debugger
* Guard against a stat going negative through use of decrement
* Add a few notes about using the debugger on the free strategy
* Add changelog entry for task debugger
* Add a few versionadded indicators and a note about vars -> task_vars
2018-01-09 20:50:07 +01:00
* Task debugger functionality was moved into `StrategyBase` , and extended to allow explicit invocation from use of the `debugger` keyword.
The `debug` strategy is still functional, and is now just a trigger to enable this functionality
2017-10-28 07:36:13 +02:00
2017-11-09 15:59:26 +01:00
#### Deprecated Modules (to be removed in 2.9):
2017-12-05 19:44:12 +01:00
* ec2_ami_find: replaced by ec2_ami_facts
2017-11-09 15:59:26 +01:00
#### Removed Modules (previously deprecated):
* accelerate
* boundary_meter: There was no deprecation period for this but the hosted
service it relied on has gone away so the module has been removed.
https://github.com/ansible/ansible/issues/29387
2017-10-28 07:36:13 +02:00
### New Plugins
## Lookups
2017-11-09 15:59:26 +01:00
* aws_ssm: Query AWS ssm data
2017-12-19 18:21:44 +01:00
* aws_account_attribute: Query AWS account attributes such as EC2-Classic
availability
2017-11-09 15:59:26 +01:00
* config: Lookup Ansible settings
* openshift: Return info from Openshift installation
2017-12-14 16:41:46 +01:00
* redis: look up date from Redis DB, deprecates the redis_kv one.
2017-09-13 20:31:47 +02:00
2017-11-09 15:59:26 +01:00
## Callbacks
* yaml
2017-09-21 21:59:06 +02:00
2017-11-09 15:59:26 +01:00
### New Modules
2017-11-08 04:00:11 +01:00
2017-10-13 05:52:10 +02:00
#### Cloud
2017-12-20 02:05:50 +01:00
- amazon
* aws_acm_facts
2017-12-22 01:47:55 +01:00
* aws_application_scaling_policy
2017-12-20 15:57:55 +01:00
* aws_direct_connect_gateway
2017-12-20 02:05:50 +01:00
* aws_kms_facts
* aws_s3_cors
* aws_ssm_parameter_store
2018-01-17 17:03:23 +01:00
* cloudfront_distribution
2017-12-20 02:05:50 +01:00
* ec2_ami_facts
2018-01-10 14:26:57 +01:00
* ec2_asg_lifecycle_hook
2018-01-22 13:18:50 +01:00
* ec2_customer_gateway_facts
2017-12-20 02:05:50 +01:00
* ec2_placement_group
* ec2_placement_group_facts
2018-01-26 15:23:08 +01:00
* ec2_vpc_egress_igw
2017-12-20 02:05:50 +01:00
* ecs_taskdefinition_facts
* elasticache_facts
* iam_role_facts
- azure
2018-01-22 13:18:50 +01:00
* azure_rm_containerinstance
2017-12-20 02:05:50 +01:00
* azure_rm_containerregistry
2017-12-21 11:43:49 +01:00
* azure_rm_image
2018-01-22 13:18:50 +01:00
* azure_rm_mysqldatabase
2018-01-10 14:26:57 +01:00
* azure_rm_mysqlserver
2018-01-22 13:18:50 +01:00
* azure_rm_postgresqldatabase
2018-01-10 14:26:57 +01:00
* azure_rm_postgresqlserver
2017-12-20 02:05:50 +01:00
* azure_rm_sqlserver
2018-01-22 13:18:50 +01:00
* azure_rm_sqlserver_facts
2017-12-20 02:05:50 +01:00
- cloudscale
* cloudscale_floating_ip
- cloudstack
2018-01-10 14:26:57 +01:00
* cs_network_offering
2018-01-07 17:21:56 +01:00
* cs_service_offering
2018-01-22 13:18:50 +01:00
* cs_vpc_offering
2018-01-10 14:26:57 +01:00
* cs_vpn_connection
* cs_vpn_customer_gateway
2017-12-20 02:05:50 +01:00
- digital_ocean
* digital_ocean_certificate
2018-01-10 14:26:57 +01:00
* digital_ocean_floating_ip_facts
2017-12-20 02:05:50 +01:00
* digital_ocean_sshkey_facts
2018-01-22 13:18:50 +01:00
- misc
* terraform
2017-12-20 02:05:50 +01:00
- oneandone
* oneandone_server
- openstack
* os_keystone_endpoint
- ovirt
* ovirt_api_facts
* ovirt_disk_facts
- spotinst
* spotinst_aws_elastigroup
- vmware
* vmware_cfg_backup
* vmware_datastore_facts
2018-01-22 13:18:50 +01:00
* vmware_guest_file_operation
2017-12-20 02:05:50 +01:00
* vmware_guest_powerstate
2018-01-22 13:18:50 +01:00
* vmware_host_config_facts
* vmware_host_config_manager
2017-12-20 02:05:50 +01:00
* vmware_host_facts
2018-01-22 13:18:50 +01:00
* vmware_host_ntp
* vmware_host_service_facts
* vmware_host_service_manager
2018-01-10 14:26:57 +01:00
* vmware_local_role_manager
2017-12-20 17:37:47 +01:00
- vultr
2018-01-10 14:26:57 +01:00
* vr_account_facts
2018-01-22 13:18:50 +01:00
* vr_dns_domain
* vr_dns_record
2017-12-20 17:37:47 +01:00
* vr_firewall_group
* vr_firewall_rule
* vr_server
* vr_ssh_key
2018-01-22 13:18:50 +01:00
* vr_startup_script
* vr_user
2017-12-20 02:05:50 +01:00
#### Clustering
2017-12-26 11:17:23 +01:00
- k8s
* k8s_raw
2018-01-10 14:26:57 +01:00
* k8s_scale
2017-12-26 11:17:23 +01:00
- openshift
* openshift_raw
2018-01-10 14:26:57 +01:00
* openshift_scale
2017-12-26 11:17:23 +01:00
#### Database
- influxdb
* influxdb_query
2018-01-10 14:26:57 +01:00
* influxdb_user
2017-12-26 11:17:23 +01:00
* influxdb_write
2017-12-20 02:05:50 +01:00
#### Identity
- ipa
* ipa_dnszone
* ipa_subca
- keycloak
* keycloak_client
#### Monitoring
2018-01-10 14:26:57 +01:00
* grafana_dashboard
2018-01-22 13:18:50 +01:00
* grafana_datasource
2018-01-10 14:26:57 +01:00
* grafana_plugin
2017-12-20 02:05:50 +01:00
* icinga2_host
- zabbix
* zabbix_proxy
* zabbix_template
2018-01-10 14:26:57 +01:00
#### Net Tools
* ip_netns
2017-12-20 02:05:50 +01:00
#### Network
- aci
2018-01-22 13:18:50 +01:00
* aci_aaa_user_certificate
* aci_access_port_to_interface_policy_leaf_profile
* aci_aep_to_domain
* aci_domain
* aci_domain_to_encap_pool
* aci_domain_to_vlan_pool
2017-12-20 02:05:50 +01:00
* aci_encap_pool
* aci_encap_pool_range
2018-01-22 13:18:50 +01:00
* aci_firmware_source
* aci_interface_policy_leaf_policy_group
* aci_interface_policy_leaf_profile
* aci_interface_selector_to_switch_policy_leaf_profile
* aci_switch_leaf_selector
* aci_switch_policy_leaf_profile
* aci_vlan_pool
* aci_vlan_pool_encap_block
2018-01-10 14:26:57 +01:00
- avi
* avi_api_version
* avi_customipamdnsprofile
* avi_errorpagebody
* avi_errorpageprofile
* avi_gslbservice_patch_member
* avi_wafpolicy
2017-12-20 02:05:50 +01:00
- enos
* enos_command
* enos_config
* enos_facts
- eos
2018-01-10 14:26:57 +01:00
* eos_interface
* eos_l3_interface
2017-12-26 11:17:23 +01:00
* eos_linkagg
2018-01-10 14:26:57 +01:00
* eos_lldp
2017-12-20 02:05:50 +01:00
* eos_static_route
- f5
* bigip_asm_policy
* bigip_device_connectivity
2018-01-22 13:18:50 +01:00
* bigip_device_group
* bigip_device_group_member
2017-12-20 02:05:50 +01:00
* bigip_device_httpd
* bigip_device_trust
2018-01-10 14:26:57 +01:00
* bigip_gtm_server
2017-12-20 02:05:50 +01:00
* bigip_iapplx_package
* bigip_monitor_https
* bigip_monitor_snmp_dca
* bigip_monitor_udp
* bigip_partition
* bigip_policy
* bigip_policy_rule
* bigip_profile_client_ssl
* bigip_remote_syslog
2018-01-22 13:18:50 +01:00
* bigip_security_address_list
2017-12-20 02:05:50 +01:00
* bigip_security_port_list
2018-01-10 14:26:57 +01:00
* bigip_software_update
2017-12-20 02:05:50 +01:00
* bigip_ssl_key
2018-01-22 13:18:50 +01:00
* bigip_static_route
2018-01-10 14:26:57 +01:00
* bigip_traffic_group
2018-01-22 13:18:50 +01:00
* bigip_ucs_fetch
2017-12-20 02:05:50 +01:00
* bigip_vcmp_guest
* bigip_wait
2018-01-10 14:26:57 +01:00
* bigiq_regkey_license
* bigiq_regkey_pool
2017-12-20 02:05:50 +01:00
- ios
2018-01-22 13:18:50 +01:00
* ios_l2_interface
2018-01-10 14:26:57 +01:00
* ios_l3_interface
2018-01-22 13:18:50 +01:00
* ios_linkagg
2018-01-10 14:26:57 +01:00
* ios_lldp
2017-12-20 02:05:50 +01:00
* ios_vlan
- iosxr
* iosxr_netconf
- ironware
* ironware_command
* ironware_config
* ironware_facts
2018-01-22 13:18:50 +01:00
- junos
* junos_scp
2017-12-20 02:05:50 +01:00
- netscaler
* netscaler_nitro_request
- nso
* nso_action
* nso_config
2017-12-26 11:17:23 +01:00
* nso_query
* nso_show
2017-12-20 02:05:50 +01:00
* nso_verify
2017-12-26 11:17:23 +01:00
- nxos
2018-01-10 14:26:57 +01:00
* nxos_l2_interface
2017-12-26 11:17:23 +01:00
* nxos_l3_interface
* nxos_linkagg
2018-01-10 14:26:57 +01:00
* nxos_lldp
2018-01-22 13:18:50 +01:00
- onyx
* onyx_bgp
* onyx_command
* onyx_config
* onyx_facts
* onyx_interface
* onyx_l2_interface
* onyx_l3_interface
* onyx_linkagg
* onyx_lldp
* onyx_lldp_interface
* onyx_magp
* onyx_mlag_ipl
* onyx_mlag_vip
* onyx_ospf
* onyx_pfc_interface
* onyx_protocol
* onyx_vlan
2017-12-20 02:05:50 +01:00
- radware
* vdirect_commit
* vdirect_runnable
- vyos
* vyos_vlan
#### Notification
2018-01-10 14:26:57 +01:00
* logentries_msg
2017-12-20 02:05:50 +01:00
* say
* snow_record
#### Packaging
- os
* package_facts
#### Remote Management
- manageiq
2018-01-22 13:18:50 +01:00
* manageiq_alert_profiles
2017-12-20 02:05:50 +01:00
* manageiq_policies
* manageiq_tags
- oneview
* oneview_datacenter_facts
* oneview_enclosure_facts
* oneview_logical_interconnect_group
* oneview_logical_interconnect_group_facts
* oneview_san_manager_facts
- ucs
2018-01-22 13:18:50 +01:00
* ucs_ip_pool
* ucs_mac_pool
2017-12-26 11:17:23 +01:00
* ucs_san_connectivity
* ucs_vhba_template
* ucs_vsans
* ucs_wwn_pool
2017-12-20 02:05:50 +01:00
#### System
* mksysb
* nosh
2018-01-10 14:26:57 +01:00
* service_facts
2017-10-13 05:52:10 +02:00
2017-09-21 21:59:06 +02:00
#### Windows
2017-12-05 15:59:57 +01:00
* win_audit_policy_system
2017-12-05 21:53:34 +01:00
* win_audit_rule
2018-01-08 20:46:51 +01:00
* win_certificate_store
2017-12-26 11:17:23 +01:00
* win_disk_facts
2017-12-05 21:53:34 +01:00
* win_scheduled_task_stat
* win_whoami
2017-09-21 21:59:06 +02:00
2017-12-01 21:25:08 +01:00
< a id = "2.4.1" > < / a >
## 2.4.1 "Dancing Days" - 2017-10-25
### Bugfixes
* Security fix for CVE-2017-7550 the jenkins_plugin module was logging the jenkins
server password if the url_password was passed via the params field:
https://github.com/ansible/ansible/pull/30875
* Update openssl\* module documentation to show openssl-0.16 is the minimum version
* Fix openssl_certificate's csr handling
* Python-3 fixes
* Fix openssl_certificate parameter assertion on Python3
* Fix for python3 and nonascii strings in inventory plugins (https://github.com/ansible/ansible/pull/30666)
* Fix missing urllib in iam_policy
* Fix crypttab module for bytes< =>text string mismatch ( https://github.com/ansible/ansible/pull/30457 )
* Fix lxc_container module combining bytes with text ( https://github.com/ansible/ansible/pull/30572 )
* Fix map doesn't return a list on python3 in ec2_snapshot_facts module (https://github.com/ansible/ansible/pull/30606)
* Fix uri (and other url retrieving) modules when used with a proxy. (https://github.com/ansible/ansible/issues/31109)
* Fix azure_rm dynamic inventory script ConfigParser usage.
* Fix for win_file to respect check mode when deleting directories
* Fix for Ansible.ModuleUtils.Legacy.psm1 to return list params correctly
* Fix for a proper logout in the module ovirt_vms
* Fixed docs for 'password' lookup
* Corrected and added missing feature and porting docs for 2.4
* Fix for Ansible.ModuleUtils.CamelConversion to handle empty lists and lists with one entry
* Fix nxos terminal regex to parse username correctly.
* Fix colors for selective callback
* Fix for 'New password' prompt on 'ansible-vault edit' (https://github.com/ansible/ansible/issues/30491)
* Fix for 'ansible-vault encrypt' with vault_password_file in config and --ask-vault-pass cli (https://github.com/ansible/ansible/pull/30514#pullrequestreview-63395903)
* updated porting guide with notes for callbacks and config
* Added backwards compatiblity shim for callbacks that do not inherit from CallbackBase
* Corrected issue with configuration and multiple ini entries being overwriten even when not set.
* backported fix for doc generation (plugin_formatter)
* Fix ec2_lc module for an unknown parameter name (https://github.com/ansible/ansible/pull/30573)
* Change configuration of defaults to use standard jinja2 instead of custom
eval() for using variables in the default field of config (https://github.com/ansible/ansible/pull/30650)
* added missing entry in chlog deprecation
* Fixed precedence and values for become flags and executable settings
* Fix for win_domain_membership to throw more helpful error messages and check/fix when calling WMI function after changing workgroup
* Fix for win_power_plan to compare the OS version's correctly and work on Windows 10/Server 2016
* Fix module doc for typo in telnet command option
* Fix OpenBSD pkg_mgr fact (https://github.com/ansible/ansible/issues/30623)
* Fix encoding error when there are nonascii values in the path to the ssh binary
* removed YAML inventory group name validation, broke existing setups and should be global in any case, and configurable
* performance improvment for inventory, had slown down considerably from 2.3
* Fix cpu facts on sparc64 (https://github.com/ansible/ansible/pull/30261)
* Fix ansible_distribution fact for Arch linux (https://github.com/ansible/ansible/issues/30600)
* remove print statements from play_context/become
* Fix vault errors after 'ansible-vault edit' (https://github.com/ansible/ansible/issues/30575)
* updated api doc example to match api changes
* corrected issues with slack callback plugin
* it is import_playbook .. not import_plays .. docs now reflect this
* fixed typo and missed include/import conversion in import_tasks docs
* updated porting docs with note about inventory_dir
* removed extension requirement for yaml inventory plugin to restore previous behaviour
* fixed ansible-pull to now correctly deal with inventory
* corrected dig lookup docs
* fix type handling for sensu_silence so the module works
* added fix for win_iis_webapppool to correctly handle array elements
* Fix bugs caused by lack of collector ordering like service_mgr being incorrect (https://github.com/ansible/ansible/issues/30753)
* Fix os_image when the id parameter is not set in the task. ( https://github.com/ansible/ansible/pull/29147 )
* Fix for the winrm connection to use proper task vars
* removed typo from dig lookup docs
* Updated win_chocolatey example to be clearer around what should be used with become
* Fix for copy module when permissions are changed but the file contents are not ( https://github.com/ansible/ansible/issues/30556 )
* corrected YAML_FILENAME_EXTENSIONS ini setter as key/section were swapped
* Better error message when a yaml inventory is invalid
* avoid include_Xs conflating vars with options
* Fix aws_s3 module handling `encrypt` option (https://github.com/ansible/ansible/pull/31203)
* Fix for win_msg to document and show error when message is greater than 255 characters
* Fix for win_dotnet_ngen to work after recent regression
* fixed backwards compat method for config
* removed docs for prematurely added ssh specific pipelining settings
* fixed redis cache typo
* Fix AttributeError during inventory group deserialization (https://github.com/ansible/ansible/issues/30903)
* Fix 'ansible-vault encrypt --output=-' (https://github.com/ansible/ansible/issues/30550)
* restore pre 2.4 pipeline configuration options (env and ini)
* Fix win_copy regression: handling of vault-encrypted source files (https://github.com/ansible/ansible/pull/31084)
* Updated return values for win_reg_stat to correctly show what is being returned (https://github.com/ansible/ansible/pull/31252)
* reduced normal error redundancy and verbosity, display on increased and when needed
* Give an informative error instead of a traceback if include_vars dir is file instead of directory (https://github.com/ansible/ansible/pull/31157)
* Fix monit module's version check for color support (https://github.com/ansible/ansible/pull/31212)
* Make `elasticsearch_plugin` module work with both 2.x and 5.x (https://github.com/ansible/ansible/issues/21989)
* Fix for become on Windows to handle ignored errors (https://github.com/ansible/ansible/issues/30468)
* Fix removal of newlines when writing SELinux config (https://github.com/ansible/ansible/issues/30618)
* clarified extension requirement for constructed inv plugin
* really turn off inventory caching, toggle will be added in 2.5
* for inventory sources, dont follow symlinks to calculate base directory, used for group/host_vars
* Port the uptime.py example script to the new inventory API.
* inventory_file variable again returns full path, not just basename
* added info about cwd group/host vars to porting guide
* Fix name parsing out of envra in the yum module
* give user friendly error on badly formatted yaml inventory source
* Fix any_errors_fatal setting in playbooks.
* Fix setting of ssh-extra-args from the cli (https://github.com/ansible/ansible/pull/31326)
* Change SELinux fact behavior to always return a dictionary. (https://github.com/ansible/ansible/issues/18692)
* Revert a fix for using non /bin/sh shells for modules' running commands as
this was causing output from commands to change, thus breaking playbooks.
See the original bug for details and links to the eventual fix:
https://github.com/ansible/ansible/issues/24169
* Do not log data field in `docker_secrets` module (https://github.com/ansible/ansible/pull/31366)
* Fix rpm_key taking the wrong 8 chars from the keyid (https://github.com/ansible/ansible/pull/31045)
* chown errors now more informative
* Fix for win_copy to copy a source file that has invalid windows characters in the filename, the dest still must be have valid windows characters (https://github.com/ansible/ansible/issues/31336#issuecomment-334649927)
* Fix systemd module to not run daemon-reload in check mode.
* fixed some parsing and selection issues with inventory manager, fixed minor bugs in yaml and constructed plugins
* Fix the ping module documentation to reference win_ping instead of itself: https://github.com/ansible/ansible/pull/31444
* Fix for ec2_win_password to allow blank key_passphrase again (https://github.com/ansible/ansible/pull/28791)
* added toggle for vars_plugin behaviour to execute relative to playbook, set default to revert to previous way.
* Fix for win_copy to not remove destination file on change when in check mode (https://github.com/ansible/ansible/pull/31469)
* Fix include_role usage of role_name (https://github.com/ansible/ansible/pull/31463)
* Fix service and package forcing a second run of the setup module to function (https://github.com/ansible/ansible/issues/31485)
* Better error message when attempting to use include or import with /usr/bin/ansible (https://github.com/ansible/ansible/pull/31492/)
* Fix `sysctl` module to remove etries when `state=absent` (https://github.com/ansible/ansible/issues/29920)
* Fix for ec2_group to avoid trying to iterate over None (https://github.com/ansible/ansible/pull/31531)
* Fix for ec2_group for a possible KeyError bug (https://github.com/ansible/ansible/pull/31540)
* Fix for the rpm_key module when importing the first gpg key on a system (https://github.com/ansible/ansible/pull/31514)
* Fix for aws_s3 metadata to use the correct parameters when uploading a file (https://github.com/ansible/ansible/issues/31232)
* Fix for the yum module when installing from file/url crashes (https://github.com/ansible/ansible/pull/31529)
* Improved error messaging for Windows become/runas when username is bogus (https://github.com/ansible/ansible/pull/31551)
* Fix rollback feature in junos_config to now allow configuration rollback on device (https://github.com/ansible/ansible/pull/31424)
* Remove command executed log from ansible-connection (https://github.com/ansible/ansible/pull/31581)
* Fix relative paths to be relative to config file when there is no playbook available (https://github.com/ansible/ansible/issues/31533)
* Fix Inventory plugins to use the configured inventory plugin path (https://github.com/ansible/ansible/issues/31605)
* Fix include task to be dynamic (https://github.com/ansible/ansible/issues/31593)
* A couple fixes to the test process to account for new testing resources in
our ci system and an upstream cryptography update that didn't work with
pip-8.x
* Document backup_path in a few dellos modules and vyos_config (https://github.com/ansible/ansible/issues/31844)
* Fix for vmware_vm_facts with dangling inaccessible VM which don't have MAC addresses (https://github.com/ansible/ansible/pull/31629)
* Fix for win_regedit sending extra data that could confuse ansible's result parsing (https://github.com/ansible/ansible/pull/31813)
* Fix git module to correctly cleanup temporary dirs (https://github.com/ansible/ansible/pull/31541)
* Fix for modules which use atomic_move() to rename files raising an exception
if a file could not be opened. Fix will return a nice error message instead:
https://github.com/ansible/ansible/issues/31786
* Fix ansible-doc and ansible-console module-path option (https://github.com/ansible/ansible/pull/31744)
* Fix for hostname module on RHEL 7.5 (https://github.com/ansible/ansible/issues/31811)
* Fix provider password leak in logs for asa modules (https://github.com/ansible/ansible/issues/32343)
* Fix tagging for dynamodb_table if region is not explicitly passed to the module (https://github.com/ansible/ansible/pull/32557)
* Fix Python 3 decode error in `cloudflare_dns` (https://github.com/ansible/ansible/pull/32065)
### Known Bugs
* Implicit localhost is getting ansible_connection from all:vars instead of
from the implicit localhost definition (https://github.com/ansible/ansible/issues/31420)
2017-09-21 21:59:06 +02:00
2017-09-13 20:31:47 +02:00
< a id = "2.4" > < / a >
2017-09-30 11:05:17 +02:00
## 2.4 "Dancing Days" - 2017/09/18
2017-03-15 23:09:25 +01:00
2017-03-16 17:24:55 +01:00
### Major Changes
2017-05-24 18:24:11 +02:00
* Support for Python-2.4 and Python-2.5 on the managed system's side was dropped. If you need to manage a system that ships with Python-2.4 or Python-2.5, you'll need to install Python-2.6 or better on the managed system or run Ansible-2.3 until you can upgrade the system.
2017-06-07 17:00:27 +02:00
* New import/include keywords to replace the old bare `include` directives. The use of `static: {yes|no}` on such includes is now deprecated.
2017-07-10 09:03:55 +02:00
- Using `import_*` (`import_playbook`, `import_tasks` , `import_role` ) directives are static.
- Using `include_*` (`include_tasks`, `include_role` ) directives are dynamic.
2017-07-10 23:00:42 +02:00
This is done to avoid collisions and possible security issues as facts come from the remote targets and they might be compromised.
2017-07-31 20:53:19 +02:00
* New `order` play level keyword that allows the user to change the order in which Ansible processes hosts when dispatching tasks.
2017-07-10 09:03:55 +02:00
* Users can now set group merge priority for groups of the same depth (parent child relationship), using the new `ansible_group_priority` variable, when values are the same or don't exist it will fallback to the previous sorting by name'.
2017-05-23 23:16:49 +02:00
* Inventory has been revamped:
2017-07-31 20:53:19 +02:00
- Inventory classes have been split to allow for better management and deduplication
2017-07-10 09:03:55 +02:00
- Logic that each inventory source duplicated is now common and pushed up to reconciliation
- VariableManager has been updated for better interaction with inventory
- Updated CLI with helper method to initialize base objects for plays
2017-07-31 20:53:19 +02:00
- New inventory plugins for creating inventory
2017-07-10 09:03:55 +02:00
- Old inventory formats are still supported via plugins
- Inline host_list is also an inventory plugin, an example alternative `advanced_host_list` is also provided (it supports ranges)
2017-09-27 17:48:58 +02:00
- New configuration option to list enabled plugins and precedence order `[inventory]enable_plugins` in ansible.cfg
2017-07-10 09:03:55 +02:00
- vars_plugins have been reworked, they are now run from Vars manager and API has changed (need docs)
- Loading group_vars/host_vars is now a vars plugin and can be overridden
2017-12-05 19:44:12 +01:00
- It is now possible to specify multiple inventory sources in the command line (-i /etc/hosts1 -i /opt/hosts2)
2017-07-10 09:03:55 +02:00
- Inventory plugins can use the cache plugin (i.e. virtualbox) and is affected by `meta: refresh_inventory`
- Group variable precedence is now configurable via new 'precedence' option in ansible.cfg (needs docs)
- Improved warnings and error messages across the board
2017-09-13 20:35:30 +02:00
* Configuration has been changed from a hardcoded listing in the constants module to dynamically loaded from yaml definitions
2017-07-10 09:03:55 +02:00
- Also added an ansible-config CLI to allow for listing config options and dumping current config (including origin)
- TODO: build upon this to add many features detailed in ansible-config proposal https://github.com/ansible/proposals/issues/35
2017-07-19 05:44:01 +02:00
* Windows modules now support the use of multiple shared module_utils files in the form of Powershell modules (.psm1), via `#Requires -Module Ansible.ModuleUtils.Whatever.psm1`
2017-07-27 01:12:50 +02:00
* Python module argument_spec now supports custom validation logic by accepting a callable as the `type` argument.
2017-11-07 00:37:45 +01:00
* Windows become_method: runas is no longer marked `experimental`
2017-08-16 03:55:17 +02:00
* Windows become_method: runas now works across all authtypes and will auto-elevate under UAC if WinRM user has "Act as part of the operating system" privilege
2017-03-16 17:24:55 +01:00
2017-04-27 04:57:21 +02:00
### Deprecations
2017-07-10 09:03:55 +02:00
* The behaviour when specifying `--tags` (or `--skip-tags` ) multiple times on the command line
2017-04-27 04:57:21 +02:00
has changed so that the tags are merged together by default. See the
documentation for how to temporarily use the old behaviour if needed:
https://docs.ansible.com/ansible/intro_configuration.html#merge-multiple-cli-tags
2017-07-10 09:03:55 +02:00
* The `fetch` module's `validate_md5` parameter has been deprecated and will be
2017-04-27 04:57:21 +02:00
removed in 2.8. If you wish to disable post-validation of the downloaded
file, use validate_checksum instead.
2017-07-10 09:03:55 +02:00
* Those using ansible as a library should note that the `ansible.vars.unsafe_proxy`
2017-04-27 00:09:36 +02:00
module is deprecated and slated to go away in 2.8. The functionality has been
2017-07-10 09:03:55 +02:00
moved to `ansible.utils.unsafe_proxy` to avoid a circular import.
2017-08-29 02:11:10 +02:00
* The win_get_url module has the dictionary 'win_get_url' in its results deprecated,
its content is now also available directly in the resulting output, like other modules.
2017-11-02 00:07:43 +01:00
* Previously deprecated 'hostfile' config settings have been 're-deprecated' as before the code did not warn about deprecated configuration settings, but it does now.
2017-04-27 04:57:21 +02:00
2017-08-28 23:17:19 +02:00
#### Deprecated Modules (to be removed in 2.8):
2017-09-13 20:35:30 +02:00
* azure: use M(azure_rm_virtualmachine) instead
2017-08-28 23:17:19 +02:00
* cs_nic: replaced by cs_instance_nic_secondaryip, also see new module cs_instance_nic for managing nics
2017-09-13 20:35:30 +02:00
* ec2_facts: replaced by ec2_metadata_facts
2017-09-13 20:37:25 +02:00
* ec2_remote_facts: replaced by ec2_instance_facts
2017-08-28 23:17:19 +02:00
* panos_address: use M(panos_object) instead
* panos_nat_policy: use M(panos_nat_rule) instead
2017-09-13 20:35:30 +02:00
* panos_security_policy: use M(panos_security_rule) instead
* panos_service: use M(panos_object) instead
2017-08-28 23:17:19 +02:00
* s3: replaced by aws_s3
2017-08-29 01:53:28 +02:00
* win_msi: use M(win_package) instead
2017-07-18 22:11:09 +02:00
2017-11-02 00:07:43 +01:00
#### Removed Modules (previously deprecated):
2017-08-28 23:17:19 +02:00
* eos_template: use eos_config instead
* ios_template: use ios_config instead
* iosxr_template: use iosxr_config instead
* junos_template: use junos_config instead
* nxos_template: use nxos_config instead
2017-08-18 16:58:45 +02:00
* openswitch
2017-09-13 20:35:30 +02:00
* ops_template: use ops_config instead
2017-07-27 20:40:11 +02:00
2017-08-03 06:14:32 +02:00
2017-03-17 19:50:05 +01:00
### Minor Changes
2017-08-20 17:20:30 +02:00
* Now deprecated configuration options issue warnings when set.
2017-07-31 20:53:19 +02:00
* Removed unused and deprecated config option `pattern`
2017-03-23 21:35:05 +01:00
* Updated the copy of six bundled for modules to use from 1.4.1 to 1.10.0
2017-11-21 16:59:28 +01:00
* The `inventory_dir` var is not a global anymore, as we now allow multiple inventory sources, it is now host dependant.
2017-07-31 20:53:19 +02:00
This means it cannot be used wherever host vars are not permitted, for example in task/handler names.
2017-03-24 17:25:50 +01:00
* Fixed a cornercase with ini inventory vars. Previously, if an inventory var
was a quoted string with hash marks ("#") in it then the parsed string
included the quotes. Now the string will not be quoted. Previously, if the
quoting ended before the string finished and then the hash mark appeared, the
hash mark was included as part of the string. Now it is treated as
2017-07-10 09:03:55 +02:00
a trailing comment:
2017-03-24 17:25:50 +01:00
2017-05-30 14:58:10 +02:00
# Before:
var1="string#comment" ===> var1: "\"string#comment\""
var1="string" #comment ===> var1: "\"string\" #comment "
# After:
var1="string#comment" ===> var1: "string#comment"
var1="string" #comment ===> var1: "string"
2017-03-24 17:25:50 +01:00
The new behaviour mirrors how the variables would appear if there was no hash
mark in the string.
2017-05-23 16:40:31 +02:00
* As of 2.4.0, the fetch module fails if there are errors reading the remote file.
2017-07-10 09:03:55 +02:00
Use `ignore_errors` or `failed_when` in playbooks if you wish to ignore errors.
2017-05-23 16:40:31 +02:00
* Experimentally added pmrun become method.
2017-05-25 01:55:04 +02:00
* Enable the docker connection plugin to use su as a become method
2017-06-06 04:37:53 +02:00
* Add an encoding parameter for the replace module so that it can operate on non-utf-8 files
2017-07-06 18:22:41 +02:00
* By default, Ansible now uses the cryptography module to implement vault instead of the older pycrypto module.
2017-07-10 09:03:55 +02:00
* Changed task state resulting from both `rc` and `failed` fields returned, 'rc' no longer overrides 'failed'. Test plugins have also been updated accordingly.
2017-07-19 01:54:57 +02:00
* The win_unzip module no longer includes dictionary 'win_unzip' in its results,
the content is now directly in the resulting output, like pretty much every other module.
2017-07-24 16:38:41 +02:00
* Rewrite of the copy module so that it handles cornercases with symbolic links
2017-07-31 20:53:19 +02:00
and empty directories. The copy module has a new parameter, `local_follow`
2017-07-24 16:38:41 +02:00
which controls how links on the source system are treated. (The older
parameter, follow is for links on the remote system.)
* Update the handling of symbolic file permissions in file-related mode
2017-07-31 20:53:19 +02:00
parameters to deal with multiple operators. For instance, `mode='u=rw+x-X'` to
2017-07-24 16:38:41 +02:00
set the execute bit on directories, remove it from filea, and set read-write
on both is now supported
2017-07-24 07:04:11 +02:00
* Added better cookie parsing to fetch_url/open_url. Cookies are now in a dictionary named `cookies`
in the fetch_url result. Anything using `open_url` directly can pass a cookie object as a named arg
(`cookies`), and then parse/format the cookies in the result.
2017-07-24 22:36:54 +02:00
* The bundled copy of six in lib/ansible/module_utils/six is now used
unconditionally. The code to fallback on a system six interfered with static
analysis of the code so the cost of using the fallback code became too high.
Distributions which wish to unbundle may do so by replacing the bundled six
in ansible/module_utils/six/__init__.py. Six is tricky to unbundle, however,
so they may want to base their efforts off the code we were using:
* https://github.com/ansible/ansible/blob/2fff690caab6a1c6a81973f704be3fbd0bde2c2f/lib/ansible/module_utils/six/__init__.py
2017-08-01 16:26:40 +02:00
* Update ipaddr Jinja filters to replace existing non RFC compliant ones. Added additional filters for easier use
2017-12-05 19:44:12 +01:00
of handling IP addresses. (PR #26566 )
2017-08-07 20:34:43 +02:00
* datetime filter updated to use default format of datetime.datetime (ISO8601)
2017-06-15 13:15:38 +02:00
* The junit plugin now has an option to report a junit test failure on changes for idempotent testing.
2017-08-24 14:55:09 +02:00
* New 'diff' keyword allows setting diff mode on playbook objects, overriding command line option and config.
2017-08-28 23:17:19 +02:00
* New config settings for inventory to:
- control inventory plugins used
- extensions of files to ignore when using inventory directory
2017-12-05 19:44:12 +01:00
- patterns of files to ignore when using inventory directory
2017-08-28 23:17:19 +02:00
- option to toggle failed inventory source parsing between an error or a warning
2017-09-13 20:35:30 +02:00
* More fixes for Python 3 across the code base.
* win_shell and win_command modules now properly preserve quoted arguments passed on the command-line. Tasks that attempted to work around the issue by adding extra quotes/escaping may need to be reworked. See https://github.com/ansible/ansible/issues/23019 for additional detail.
2017-09-19 23:43:15 +02:00
* All configuration paths are now relative to the `ansible.cfg` file used.
* By user request, a 'configuration macro' (``CWD``) is available to force configured paths to be relative to the current working directory. Please note that this is unsafe and not recommended.
2017-09-13 20:35:30 +02:00
2017-03-17 19:50:05 +01:00
2017-06-08 00:40:09 +02:00
#### New Callbacks:
2017-08-01 14:20:55 +02:00
- full_skip
2017-06-08 00:40:09 +02:00
- profile_roles
2017-07-28 19:51:19 +02:00
- stderr
2017-06-08 00:40:09 +02:00
2017-08-18 20:05:26 +02:00
#### New Filters:
- parse_cli
- parse_cli_textfsm
2017-06-08 00:40:09 +02:00
#### New Inventory Plugins:
- advanced_host_list
2017-08-21 22:06:15 +02:00
- constructed
2017-06-08 00:40:09 +02:00
- host_list
- ini
- script
- virtualbox
2017-07-31 20:53:19 +02:00
- yaml
2017-06-08 00:40:09 +02:00
2017-04-19 21:06:18 +02:00
#### New Inventory scripts:
2017-03-28 00:25:50 +02:00
- lxd
2017-03-15 23:09:25 +01:00
#### New: Tests
2017-12-05 19:44:12 +01:00
- `any` : true if any element is true
- `all` : true if all elements are true
2017-03-15 23:09:25 +01:00
2017-05-04 14:40:04 +02:00
### Module Notes
2017-07-31 20:53:19 +02:00
- The docker_container module has gained a new option, `working_dir` which allows
2017-05-24 21:05:40 +02:00
specifying the working directory for the command being run in the image.
2017-06-27 15:00:15 +02:00
- The ec2_win_password module now requires the cryptography python module be installed to run
2017-07-18 01:15:40 +02:00
- The stat module added a field, lnk_target. When the file being stated is
a symlink, lnk_target will contain the target of the link. This differs from
lnk_source when the target is specified relative to the symlink. In this
case, lnk_target will remain relative while lnk_source will be expanded to an
absolute path.
2017-07-31 20:48:27 +02:00
- The archive module has a new parameter exclude_path which lists paths to exclude from the archive
2017-08-08 11:26:30 +02:00
- The yum module has a new parameter security which limits state=latest to security updates
2017-08-12 02:50:49 +02:00
- The template module gained a follow parameter to match with copy and file.
Like those modules, template defaults this parameter to False. Previously,
template hardcoded this to true.
2017-08-15 23:29:52 +02:00
- Added a new parameter to command module that lets users specify data to pipe
into the command's stdin.
2017-08-29 19:35:24 +02:00
- The azure_rm modules now accept a `cloud_environment` arg to access regional and private clouds.
2017-08-30 19:27:00 +02:00
- The azure_rm modules and inventory script now require at least version 2.0.0 of the Azure Python SDK.
2017-05-24 21:05:40 +02:00
2017-05-04 14:40:04 +02:00
### New Modules
2017-08-16 19:53:58 +02:00
#### Cloud
- amazon
* aws_api_gateway
2017-08-23 17:57:15 +02:00
* aws_direct_connect_connection
2017-08-23 00:26:52 +02:00
* aws_direct_connect_link_aggregation_group
2017-08-22 17:17:20 +02:00
* aws_s3
2017-08-16 19:53:58 +02:00
* aws_s3_bucket_facts
2017-08-23 21:10:38 +02:00
* aws_waf_facts
2017-08-16 19:53:58 +02:00
* data_pipeline
* dynamodb_ttl
* ec2_instance_facts
* ec2_metadata_facts
* ec2_vpc_dhcp_option_facts
* ec2_vpc_endpoint
* ec2_vpc_endpoint_facts
* ec2_vpc_peering_facts
* ecs_attribute
* elb_application_lb
* elb_application_lb_facts
* elb_target_group
* elb_target_group_facts
* iam_group
* iam_managed_policy
* lightsail
* redshift_facts
2017-08-30 00:04:40 +02:00
- azure
2017-08-30 03:02:04 +02:00
* azure_rm_acs
2017-08-30 00:04:40 +02:00
* azure_rm_availabilityset
* azure_rm_availabilityset_facts
* azure_rm_dnsrecordset
2017-08-30 03:02:04 +02:00
* azure_rm_dnsrecordset_facts
2017-08-30 00:04:40 +02:00
* azure_rm_dnszone
2017-08-30 03:02:04 +02:00
* azure_rm_dnszone_facts
2017-08-31 00:18:58 +02:00
* azure_rm_functionapp
* azure_rm_functionapp_facts
2017-08-30 00:04:40 +02:00
* azure_rm_loadbalancer
* azure_rm_loadbalancer_facts
* azure_rm_managed_disk
* azure_rm_managed_disk_facts
* azure_rm_virtualmachine_extension
* azure_rm_virtualmachine_scaleset
* azure_rm_virtualmachine_scaleset_facts
2017-08-16 19:53:58 +02:00
- atomic
* atomic_container
- cloudstack
* cs_instance_nic
* cs_instance_nic_secondaryip
* cs_network_acl
* cs_network_acl_rule
2017-08-18 18:36:08 +02:00
* cs_storage_pool
2017-08-16 19:53:58 +02:00
* cs_vpn_gateway
- digital_ocean
* digital_ocean_floating_ip
- docker
* docker_secret
* docker_volume
- google
* gce_labels
* gcp_backend_service
* gcp_forwarding_rule
* gcp_healthcheck
* gcp_target_proxy
* gcp_url_map
- misc
* helm
- ovirt
* ovirt_host_storage_facts
* ovirt_scheduling_policies_facts
* ovirt_storage_connections
- vmware
* vcenter_license
* vmware_guest_find
* vmware_guest_tools_wait
* vmware_resource_pool
#### Commands
* telnet
#### Crypto
2017-08-22 22:06:47 +02:00
* openssl_certificate
2017-08-16 19:53:58 +02:00
* openssl_csr
#### Files
* xml
#### Identity
- cyberark
* cyberark_authentication
* cyberark_user
- ipa
* ipa_dnsrecord
#### Monitoring
* sensu_client
* sensu_handler
* sensu_silence
#### Network
2017-07-30 02:33:57 +02:00
- aci
2017-08-16 19:53:58 +02:00
* aci_aep
2017-08-17 03:22:11 +02:00
* aci_ap
* aci_bd
* aci_bd_subnet
* aci_bd_to_l3out
2017-08-15 02:06:41 +02:00
* aci_contract
2017-08-17 03:22:11 +02:00
* aci_contract_subject_to_filter
2017-08-16 19:53:58 +02:00
* aci_epg
2017-08-17 03:22:11 +02:00
* aci_epg_monitoring_policy
* aci_epg_to_contract
* aci_epg_to_domain
2017-08-15 02:06:41 +02:00
* aci_filter
2017-08-15 23:12:58 +02:00
* aci_filter_entry
2017-08-17 03:22:11 +02:00
* aci_intf_policy_fc
* aci_intf_policy_l2
* aci_intf_policy_lldp
* aci_intf_policy_mcp
* aci_intf_policy_port_channel
* aci_intf_policy_port_security
* aci_l3out_route_tag_policy
2017-07-30 02:33:57 +02:00
* aci_rest
2017-08-15 02:06:41 +02:00
* aci_taboo_contract
* aci_tenant
2017-08-17 03:22:11 +02:00
* aci_tenant_action_rule_profile
* aci_tenant_span_dst_group
* aci_vrf
2017-08-16 19:53:58 +02:00
- aireos
* aireos_command
* aireos_config
- aruba
* aruba_command
* aruba_config
2017-05-04 14:40:04 +02:00
- avi
2017-08-16 19:53:58 +02:00
* avi_actiongroupconfig
* avi_alertconfig
* avi_alertemailconfig
* avi_alertscriptconfig
* avi_alertsyslogconfig
* avi_authprofile
* avi_backup
* avi_backupconfiguration
2017-05-04 14:40:04 +02:00
* avi_cloud
2017-05-29 01:26:29 +02:00
* avi_cloudconnectoruser
* avi_cloudproperties
2017-08-16 19:53:58 +02:00
* avi_cluster
2017-05-29 01:26:29 +02:00
* avi_controllerproperties
* avi_dnspolicy
2017-05-04 14:40:04 +02:00
* avi_gslb
2017-05-29 01:26:29 +02:00
* avi_gslbapplicationpersistenceprofile
* avi_gslbgeodbprofile
2017-05-04 14:40:04 +02:00
* avi_gslbhealthmonitor
* avi_gslbservice
2017-08-16 19:53:58 +02:00
* avi_hardwaresecuritymodulegroup
2017-05-29 01:26:29 +02:00
* avi_httppolicyset
2017-05-04 14:40:04 +02:00
* avi_ipaddrgroup
2017-08-16 19:53:58 +02:00
* avi_ipamdnsproviderprofile
* avi_microservicegroup
2017-05-04 14:40:04 +02:00
* avi_network
2017-05-29 01:26:29 +02:00
* avi_networksecuritypolicy
2017-08-16 19:53:58 +02:00
* avi_poolgroupdeploymentpolicy
* avi_prioritylabels
* avi_scheduler
2017-05-29 01:26:29 +02:00
* avi_seproperties
2017-08-16 19:53:58 +02:00
* avi_serverautoscalepolicy
* avi_serviceengine
2017-05-04 14:40:04 +02:00
* avi_serviceenginegroup
2017-08-16 19:53:58 +02:00
* avi_snmptrapprofile
2017-05-29 01:26:29 +02:00
* avi_stringgroup
2017-08-16 19:53:58 +02:00
* avi_trafficcloneprofile
2017-05-29 01:26:29 +02:00
* avi_useraccountprofile
2017-08-16 19:53:58 +02:00
* avi_vrfcontext
2017-05-29 01:26:29 +02:00
* avi_vsdatascriptset
* avi_vsvip
2017-08-16 19:53:58 +02:00
* avi_webhook
- bigswitch
* bcf_switch
2017-05-29 01:26:29 +02:00
- cloudengine
* ce_aaa_server
* ce_aaa_server_host
* ce_acl
* ce_acl_advance
* ce_acl_interface
2017-08-16 19:53:58 +02:00
* ce_bfd_global
* ce_bfd_session
* ce_bfd_view
2017-05-29 01:26:29 +02:00
* ce_bgp
* ce_bgp_af
* ce_bgp_neighbor
* ce_bgp_neighbor_af
* ce_config
* ce_dldp
* ce_dldp_interface
* ce_eth_trunk
* ce_evpn_bd_vni
* ce_evpn_bgp
* ce_evpn_bgp_rr
2017-08-16 19:53:58 +02:00
* ce_evpn_global
2017-05-29 01:26:29 +02:00
* ce_facts
* ce_file_copy
* ce_info_center_debug
* ce_info_center_global
* ce_info_center_log
* ce_info_center_trap
* ce_interface
* ce_interface_ospf
* ce_ip_interface
* ce_link_status
* ce_mlag_config
* ce_mlag_interface
* ce_mtu
* ce_netconf
* ce_netstream_aging
* ce_netstream_export
* ce_netstream_global
* ce_netstream_template
* ce_ntp
* ce_ntp_auth
* ce_ospf
* ce_ospf_vrf
* ce_reboot
* ce_rollback
* ce_sflow
* ce_snmp_community
* ce_snmp_contact
* ce_snmp_location
* ce_snmp_target_host
* ce_snmp_traps
* ce_snmp_user
* ce_startup
* ce_static_route
* ce_stp
* ce_switchport
* ce_vlan
* ce_vrf
* ce_vrf_af
* ce_vrf_interface
2017-08-16 19:53:58 +02:00
* ce_vrrp
2017-05-29 01:26:29 +02:00
* ce_vxlan_arp
* ce_vxlan_gateway
* ce_vxlan_global
* ce_vxlan_tunnel
* ce_vxlan_vap
2017-08-16 19:53:58 +02:00
- cloudvision
* cv_server_provision
- eos
* eos_logging
* eos_vlan
* eos_vrf
2017-05-29 01:26:29 +02:00
- f5
* bigip_command
2017-08-16 19:53:58 +02:00
* bigip_config
* bigip_configsync_actions
* bigip_gtm_pool
* bigip_iapp_service
* bigip_iapp_template
* bigip_monitor_tcp_echo
* bigip_monitor_tcp_half_open
* bigip_provision
* bigip_qkview
* bigip_snmp
* bigip_snmp_trap
* bigip_ucs
2017-05-29 01:26:29 +02:00
* bigip_user
2017-08-16 19:53:58 +02:00
* bigip_virtual_address
- fortios
* fortios_address
- interface
* net_interface
* net_linkagg
* net_lldp_interface
- ios
* ios_interface
* ios_logging
* ios_static_route
* ios_user
- iosxr
* iosxr_banner
* iosxr_interface
* iosxr_logging
* iosxr_user
- junos
* junos_banner
* junos_interface
* junos_l3_interface
* junos_linkagg
* junos_lldp
* junos_lldp_interface
* junos_logging
* junos_static_route
* junos_system
* junos_vlan
* junos_vrf
- layer2
* net_l2_interface
* net_vlan
- layer3
* net_l3_interface
* net_vrf
- netscaler
* netscaler_cs_action
* netscaler_cs_policy
* netscaler_cs_vserver
* netscaler_gslb_service
* netscaler_gslb_site
* netscaler_gslb_vserver
* netscaler_lb_monitor
* netscaler_lb_vserver
* netscaler_save_config
* netscaler_server
* netscaler_service
* netscaler_servicegroup
* netscaler_ssl_certkey
2017-07-26 21:32:03 +02:00
- nuage
2017-08-16 19:53:58 +02:00
* nuage_vspk
- nxos
* nxos_banner
* nxos_logging
2017-08-15 22:24:15 +02:00
- panos
2017-08-16 19:53:58 +02:00
* panos_nat_rule
2017-08-15 22:24:15 +02:00
* panos_object
2017-08-15 22:42:10 +02:00
* panos_security_rule
2017-08-16 19:53:58 +02:00
- protocol
* net_lldp
- routing
* net_static_route
- system
* net_banner
* net_logging
* net_system
* net_user
- vyos
* vyos_banner
* vyos_interface
* vyos_l3_interface
* vyos_linkagg
* vyos_lldp
* vyos_lldp_interface
* vyos_logging
* vyos_static_route
* vyos_user
#### Notification
* bearychat
* catapult
* office_365_connector_card
#### Remote Management
- hpe
* oneview_fc_network
- imc
* imc_rest
- manageiq
* manageiq_user
#### Source Control
* github_deploy_key
* github_issue
#### Storage
2017-08-25 17:35:35 +02:00
* nuage_vpsk
- panos
* panos_sag
2017-06-16 12:28:50 +02:00
- purestorage
* purefa_hg
2017-07-15 16:00:43 +02:00
* purefa_host
2017-06-16 12:28:50 +02:00
* purefa_pg
2017-08-16 19:53:58 +02:00
* purefa_snap
2017-07-15 16:00:43 +02:00
* purefa_volume
2017-08-16 19:53:58 +02:00
#### System
* aix_lvol
* awall
* dconf
* interfaces_file
#### Web Infrastructure
* gunicorn
2017-05-29 01:26:29 +02:00
* rundeck_acl_policy
* rundeck_project
2017-08-16 19:53:58 +02:00
#### Windows
2017-06-08 21:58:44 +02:00
* win_defrag
2017-07-21 02:42:14 +02:00
* win_domain_group
2017-08-16 19:53:58 +02:00
* win_domain_user
2017-06-08 21:58:44 +02:00
* win_dsc
2017-08-15 07:15:49 +02:00
* win_eventlog
* win_eventlog_entry
2017-05-29 01:26:29 +02:00
* win_firewall
2017-08-02 04:06:39 +02:00
* win_group_membership
2017-08-11 00:55:51 +02:00
* win_hotfix
* win_mapped_drive
2017-08-29 23:39:37 +02:00
* win_pagefile
2017-08-29 22:54:00 +02:00
* win_power_plan
2017-06-27 01:59:25 +02:00
* win_psmodule
2017-08-16 19:53:58 +02:00
* win_rabbitmq_plugin
2017-06-08 21:58:44 +02:00
* win_route
2017-07-15 16:00:43 +02:00
* win_security_policy
2017-08-30 01:19:18 +02:00
* win_toast
2017-08-11 00:55:51 +02:00
* win_user_right
2017-08-22 21:29:30 +02:00
* win_wait_for
2017-07-09 23:15:22 +02:00
* win_wakeonlan
2017-05-04 14:40:04 +02:00
2017-09-13 20:31:47 +02:00
< a id = "2.3.3" > < / a >
## 2.3.3 "Ramble On" - TBD
### Bugfixes
* Fix alternatives module handlling of non existing options
* Fix synchronize traceback with the docker connection plugin
* Do not escape backslashes in the template lookup plugin to mirror what the template module does
* Fix the expires option of the postgresq_user module
* Fix for win_acl when settings permissions on registry objects that use `ALL APPLICATION PACKAGES` and `ALL RESTRICTED APPLICATION PACKAGES`
* Python3 fixes
* asorted azure modules
* pause module
* hacking/env-setup script
* Fix traceback when checking for passwords in logged strings when logging executed commands.
* docker_login module
* Workaround python-libselinux API change in the seboolean module
* digital_ocean_tag module
* Fix the zip filter
* Fix user module combining bytes and text
* Fix for security groups in the amazon efs module
* Fix for the jail connection plugin not finding the named jail
* Fix for blockinfile's parameters insertbefore and insertafter
* ios_config: Fix traceback when the efaults parameter is not set
* iosxr_config: Fixed unicode error when UTF-8 characters are in configs
* Fix check mode in archive module
* Fix UnboundLocalError in check mode in cs_role module
* Fix to always use lowercase hostnames for host keys in known_hosts module
* Added missing return results for win_stat
* Fix rabbitmq modules to give a helpful error if requests is not installed
* Fix yum module not deleting rpms that it downloaded
* Fix yum module failing with a URL to an rpm
* Fix file module inappropriately expanding literal dollar signs in a path read
from the filesystem as an environment variable.
* Fix the ssh "smart" transport setting which automatically selects the best means of
transferring files over ssh (sftp, ssh, piped).
* Fix authentication by api_key parameter in exoscale modules.
* vmware module_utils shared code ssl/validate_certs fixes in connection logic
* allow 'bridge' facts to work for certain containers that create conflicting ones with connection plugins
* Fix for win_get_url to use TLS 1.2/1.1 if it is available on the host
* Fix for the filetree lookup with non-ascii group names
* Better message for invalid keywords/options in task due to undefined expressions
* Fixed check mode for enable on Solaris for service module
* Fix cloudtrail module to allow AWS profiles other than the default
* Fix an encoding issue with secret (password) vars_prompts
< a id = "2.3.2" > < / a >
## 2.3.2 "Ramble On" - 2017-08-04
### Bugfixes
* Fix partend i18n issues
* fixed handling of extra vars for tower_job_template (#25272)
* Python3 bugfixes
* Fix sorting of ec2 policies
* Fix digital_ocean dynamic inventory script
* Fix for the docker connection plugin
* Fix pip module when using python3's pyvenv and python3 -m venv to create virtualenvs
* Fix for the AnsiBallZ wrapper so that it gives a better error message when
there's not enough disk space to create its tempdir.
* Fix so ansilbe-galaxy install --force with unversioned roles will once again
overwrite old versions.
* Fix for RabbitMQ 3.6.7 endpoint return code changing.
* Fix for Foreman organization creation
* fixed incorrect fail_json ref in rpm_key
* Corrected requried on hash_name for dynamodb_table
* Fix for fetch action plugin not validating correctly
* Avoid vault view writing display to logs
* htpasswd: fix passlib module version comparison
* Fix for flowdock error message when external_user_name is missing
* fixed corner case for delegate_to, loops and delegate_facts
* fixed wait_for python2.4/2.5 compatibility (this is last version this is needed)
* fix for adhoc not obeying callback options
* fix for win_find where it fails to recursively scan empty nested directories
* fix non-pipelined code paths for Windows (eg, ANSIBLE_KEEP_REMOTE_FILES, non-pipelined connection plugins)
* fix for win_updates where args and check mode were ignored due to common code change
* fix for unprivileged users to Windows runas become method
* fix starttls code path for mail module
* fix missing LC_TYPE in parted module
* fix CN parsing with OpenSSL 1.1 in letsencrypt module
* fix params assignment in jabber module
* fix TXT record type handling in exo_dns_record module
* fix message queue message ttl can't be 0 in rabbitmq_queue module
* CloudStack bugfixes:
* fix template upload for users in cs_template module, change default to is_routing=None
* several fixes in cs_host module fixes hypervisor handling
* fix network param ignored due typo in cs_nic module
* fix missing type bool in module cs_zone
* fix KeyError: 'sshkeypair' in cs_instance module for CloudStack v4.5 and before
* fix for win_chocolatey where trying to upgrade all the packages as per the example docs fails
* fix for win_chocolatey where it did not fail if the version set did not exist
* fix for win_regedit always changing a reg key if the dword values set is a hex
* fix for wait_for on non-Linux systems with newer versions of psutil
* fix eos_banner code and test issues
* run tearup and teardown of EAPI service only on EAPI tests
* fix eos_config tests so only Eth1 and Eth2 are used
* Fix for potential bug when using legacy inventory vars for configuring the su password.
* Fix crash in file module when directories contain non-utf8 filenames
* Fix for dnf groupinstall with dnf-2.x
* Fix seboolean module for incompatibility in newer Python3 selinux bindings
* Optimization for inventory, no need to dedup at every stage, its redundant and slow
* Fix fact gathering for package and service action plugins
* make random_choice more error resilient (#27380)
* ensure prefix in plugin loading to avoid conflicts
* fix for a small number of modules (tempfile, possibly copy) which could fail
if the tempdir on the remote box was a symlink
+ fix non-pipelined code paths for Windows (eg, ANSIBLE_KEEP_REMOTE_FILES, non-pipelined connection plugins)
* fix for win_updates where args and check mode were ignored due to common code change
< a id = "2.3.1" > < / a >
## 2.3.1 "Ramble On" - 2017-06-01
### Bugfixes
* Security fix for CVE-2017-7481 - data for lookup plugins used as variables was not being correctly marked as "unsafe".
* Fix default value of fetch module's validate_checksum to be True
* Added fix for "meta: refresh_connection" not working with default 'smart' connection.
* Fix template so that the --diff command line option works when the destination is a directory
* Fix python3 bugs in pam_limits
* Fix unbound error when using module deprecation as a single string
* Several places in which error handling was broken due to bad conversions or just typos
* Fix to user module for appending/setting groups on OpenBSD (flags were reversed)
* assemble fix to use safer os.join.path, avoids charset issues
* fixed issue with solaris facts and i18n
* added python2.4 compatiblity fix to sysctl module
* Fix comparison of exisiting container security opts in the docker_container module
* fixed service module invocation of insserv on certain platforms
* Fix traceback in os_user in an error case.
* Fix docker container to restart a container when changing to fewer exposed ports
* Fix tracebacks in docker_network
* Fixes to detection of updated docker images
* Handle detection of docker image changes when published ports is changed
* Fix for docker_container restarting images when links list is empty.
2017-08-02 22:36:17 +02:00
< a id = "2.3" > < / a >
2017-05-04 14:40:04 +02:00
2017-05-04 00:21:23 +02:00
## 2.3 "Ramble On" - 2017-04-12
2016-10-06 19:23:31 +02:00
2017-08-02 22:36:17 +02:00
Moving to Ansible 2.3 guide http://docs.ansible.com/ansible/porting_guide_2.3.html
2017-03-15 15:03:48 +01:00
### Major Changes
2017-02-03 21:28:50 +01:00
* Documented and renamed the previously released 'single var vaulting' feature, allowing user to use vault encryption for single variables in a normal YAML vars file.
2017-03-09 21:46:32 +01:00
* Allow module_utils for custom modules to be placed in site-specific directories and shipped in roles
* On platforms that support it, use more modern system polling API instead of select in the ssh connection plugin.
This removes one limitation on how many parallel forks are feasible on these systems.
2017-04-03 22:46:51 +02:00
* Windows/WinRM supports (experimental) become method "runas" to run modules and scripts as a different user, and to transparently access network resources.
2017-03-16 23:01:21 +01:00
* The WinRM connection plugin now uses pipelining when executing modules, resulting in significantly faster execution for small tasks.
* The WinRM connection plugin can now manage Kerberos tickets automatically when `ansible_winrm_transport=kerberos` and `ansible_user` /`ansible_password` are specified.
2017-03-09 21:46:32 +01:00
* Refactored/standardized most Windows modules, adding check-mode and diff support where possible.
* Extended Windows module API with parameter-type support, helper functions. (i.e. Expand-Environment, Add-Warning, Add-DeprecatationWarning)
* restructured how async works to allow it to apply to action plugins that choose to support it.
2016-10-06 19:23:31 +02:00
2017-03-15 15:03:48 +01:00
### Minor Changes
2017-03-09 21:46:32 +01:00
* The version and release facts for OpenBSD hosts were reversed.
This has been changed so that version has the numeric portion and release has the name of the release.
2016-11-14 23:40:48 +01:00
* removed 'package' from default squash actions as not all package managers support it and it creates errors when using loops,
2017-02-16 15:59:20 +01:00
any user can add back via config options if they don't use those package managers or otherwise avoid the errors.
2016-11-15 18:57:57 +01:00
* Blocks can now have a `name` field, to aid in playbook readability.
2016-11-15 21:37:17 +01:00
* default strategy is now configurable via ansible.cfg or environment variable.
2016-11-23 22:30:46 +01:00
* Added 'ansible_playbook_python' which contains 'current python executable', it can be blank in some cases in which Ansible is not invoked via the standard CLI (sys.executable limitation).
2017-03-09 21:46:32 +01:00
* Added 'metadata' to modules to enable classification
* ansible-doc now displays path to module and existing 'metadata'
* added optional 'piped' transfer method to ssh plugin for when scp and sftp are missing, ssh plugin is also now 'smarter' when using these options
2017-02-01 16:44:37 +01:00
* default controlpersist path is now a custom hash of host-port-user to avoid the socket path length errors for long hostnames
2017-02-08 00:27:14 +01:00
* Various fixes for Python3 compatibility
2017-03-09 21:46:32 +01:00
* Fixed issues with inventory formats not handling 'all' and 'ungrouped' in an uniform way.
* 'service' tasks can now use async again, we had lost this capability when changed into an action plugin.
* made any_errors_fatal inheritable from play to task and all other objects in between.
* many small performance improvements in inventory and variable handling and in task execution.
2017-09-13 20:31:47 +02:00
* Added a retry class to the ec2_asg module since customers were running into throttling errors (AWSRetry is a solution for modules using boto3 which isn't applicable here).
2016-11-03 01:10:08 +01:00
2017-03-15 15:03:48 +01:00
### Deprecations
2016-10-06 19:23:31 +02:00
* Specifying --tags (or --skip-tags) multiple times on the command line
2017-03-15 15:03:48 +01:00
currently leads to the last one overriding all the previous ones. This behaviour is deprecated.
2017-03-09 20:18:10 +01:00
In the future, if you specify --tags multiple times the tags will be merged together.
From now on, using --tags multiple times on one command line will emit a deprecation warning.
Setting the merge_multiple_cli_tags option to True in the ansible.cfg file will enable the new behaviour.
In 2.4, the default will be to merge and you can enable the old overwriting behaviour via the config option.
In 2.5, multiple --tags options will be merged with no way to go back to the old behaviour.
* Modules (scheduled for removal in 2.5)
* ec2_vpc
* cl_bond
* cl_bridge
* cl_img_install
* cl_interface
* cl_interface_policy
* cl_license
* cl_ports
2017-03-15 15:03:48 +01:00
* nxos_mtu, use nxos_system instead
#### New: Callbacks
- dense: minimal stdout output with fallback to default when verbose
#### New: lookups
2016-10-06 19:23:31 +02:00
2017-03-15 15:03:48 +01:00
- keyring: allows getting password from the 'controller' system's keyrings
2017-07-27 22:43:29 +02:00
- chef_databag: allows querying Chef Databags via pychef library
2017-03-15 15:03:48 +01:00
#### New: cache
- pickle (uses python's own serializer)
- yaml
#### New: inventory scripts
- oVirt/RHV
#### New: filters
- combinations
- permutations
- zip
- zip_longest
### Module Notes
2017-03-09 21:46:32 +01:00
- AWS lambda: previously ignored changes that only affected one parameter. Existing deployments may have outstanding changes that this bugfix will apply.
- oVirt/RHV: Added support for 4.1 features and the following:
* data centers, clusters, hosts, storage domains and networks management.
* hosts and virtual machines affinity groups and labels.
* users, groups and permissions management.
2017-01-23 11:58:44 +01:00
* Improved virtual machines and disks management.
2017-02-14 18:12:09 +01:00
- Mount: Some fixes so bind mounts are not mounted each time the playbook runs.
2017-01-23 11:58:44 +01:00
2017-03-15 15:03:48 +01:00
### New Modules
2017-02-06 09:13:57 +01:00
- a10_server_axapi3
2017-03-01 13:37:04 +01:00
- amazon:
2017-01-05 15:44:31 +01:00
* aws_kms
2017-02-06 09:13:57 +01:00
* cloudfront_facts
* ec2_group_facts
* ec2_lc_facts
2017-02-01 15:48:29 +01:00
* ec2_vpc_igw_facts
2017-01-31 20:50:09 +01:00
* ec2_vpc_nat_gateway_facts
2017-02-01 15:48:29 +01:00
* ec2_vpc_vgw_facts
2017-02-06 09:13:57 +01:00
* ecs_ecr
2017-02-14 16:42:38 +01:00
* elasticache_parameter_group
* elasticache_snapshot
2017-02-06 09:13:57 +01:00
* iam_role
* s3_sync
- archive
- beadm
2017-01-29 16:31:37 +01:00
- bigswitch:
2017-02-06 09:13:57 +01:00
* bigmon_chain
2017-01-29 16:31:37 +01:00
* bigmon_policy
2017-04-19 15:31:09 +02:00
- cisco
* cisco_spark
2017-03-01 13:37:04 +01:00
- cloudengine:
2017-02-06 09:13:57 +01:00
* ce_command
2017-01-17 23:21:37 +01:00
- cloudscale_server
2017-03-01 13:37:04 +01:00
- cloudstack:
2017-01-05 17:30:16 +01:00
* cs_host
* cs_nic
* cs_region
* cs_role
* cs_vpc
2017-01-17 08:20:35 +01:00
- dimensiondata_network
2017-02-06 09:13:57 +01:00
- eos:
* eos_banner
* eos_system
* eos_user
2017-03-01 13:37:04 +01:00
- f5:
2016-10-19 19:38:36 +02:00
* bigip_gtm_facts
* bigip_hostname
* bigip_snat_pool
2017-02-06 09:13:57 +01:00
* bigip_sys_global
- foreman:
* foreman
* katello
2017-02-23 10:11:29 +01:00
- fortios
* fortios_config
2017-02-06 09:13:57 +01:00
- gconftool2
2017-03-01 13:37:04 +01:00
- google:
2017-02-01 16:09:18 +01:00
* gce_eip
2017-02-06 09:13:57 +01:00
* gce_snapshot
* gcpubsub
* gcpubsub_facts
2017-03-01 13:37:04 +01:00
- hpilo:
* hpilo_boot
* hpilo_facts
* hponcfg
2016-12-29 15:05:22 +01:00
- icinga2_feature
2017-01-10 14:18:52 +01:00
- illumos:
* dladm_iptun
* dladm_linkprop
* dladm_vlan
* ipadm_addr
* ipadm_addrprop
* ipadm_ifprop
2017-02-06 09:13:57 +01:00
- infinidat:
2016-12-22 14:18:19 +01:00
* infini_export
* infini_export_client
* infini_fs
* infini_host
* infini_pool
* infini_vol
2017-03-01 13:37:04 +01:00
- ipa:
2017-02-06 09:13:57 +01:00
* ipa_group
* ipa_hbacrule
* ipa_host
* ipa_hostgroup
* ipa_role
* ipa_sudocmd
* ipa_sudocmdgroup
* ipa_sudorule
* ipa_user
- ipinfoio_facts
- ios:
2017-03-16 16:35:44 +01:00
* ios_banner
2017-02-06 09:13:57 +01:00
* ios_system
* ios_vrf
- iosxr_system
2017-03-01 14:33:33 +01:00
- iso_extract
2017-03-09 20:18:10 +01:00
- java_cert
2017-02-06 09:13:57 +01:00
- jenkins_script
- ldap:
* ldap_attr
* ldap_entry
2017-01-24 16:52:51 +01:00
- logstash_plugin
2017-02-14 11:55:39 +01:00
- mattermost
2017-02-06 09:13:57 +01:00
- net_command
2017-03-01 13:37:04 +01:00
- netapp:
2017-02-11 13:11:28 +01:00
* sf_account_manager
2017-02-09 20:43:29 +01:00
* sf_snapshot_schedule_manager
2017-02-16 21:22:02 +01:00
* sf_volume_manager
2017-02-10 19:56:28 +01:00
* sf_volume_access_group_manager
2017-02-06 09:13:57 +01:00
- nginx_status_facts
2017-02-13 12:13:23 +01:00
- nsupdate
2016-12-31 20:09:24 +01:00
- omapi_host
2017-02-06 09:13:57 +01:00
- openssl:
* openssl_privatekey
* openssl_publickey
2017-03-01 13:37:04 +01:00
- openstack:
2017-02-06 09:13:57 +01:00
* os_nova_host_aggregate
* os_quota
2016-10-28 17:29:44 +02:00
- openwrt_init
2017-03-01 13:37:04 +01:00
- ordnance:
2017-02-15 11:36:43 +01:00
* ordnance_config
* ordnance_facts
2017-01-23 11:58:44 +01:00
- ovirt:
2017-01-25 15:19:02 +01:00
* ovirt_affinity_groups
2017-01-23 11:58:44 +01:00
* ovirt_affinity_labels
2017-01-25 15:19:02 +01:00
* ovirt_affinity_labels_facts
2017-01-23 11:58:44 +01:00
* ovirt_clusters
2017-01-25 15:19:02 +01:00
* ovirt_clusters_facts
2017-01-23 11:58:44 +01:00
* ovirt_datacenters
2017-01-25 15:19:02 +01:00
* ovirt_datacenters_facts
2017-01-23 11:58:44 +01:00
* ovirt_external_providers
2017-01-25 15:19:02 +01:00
* ovirt_external_providers_facts
2017-01-23 11:58:44 +01:00
* ovirt_groups
2017-01-25 15:19:02 +01:00
* ovirt_groups_facts
2017-01-23 11:58:44 +01:00
* ovirt_host_networks
* ovirt_host_pm
* ovirt_hosts
2017-01-25 15:19:02 +01:00
* ovirt_hosts_facts
2017-01-23 11:58:44 +01:00
* ovirt_mac_pools
* ovirt_networks
2017-01-25 15:19:02 +01:00
* ovirt_networks_facts
2017-01-23 11:58:44 +01:00
* ovirt_nics
2017-01-25 15:19:02 +01:00
* ovirt_nics_facts
2017-01-23 11:58:44 +01:00
* ovirt_permissions
2017-01-25 15:19:02 +01:00
* ovirt_permissions_facts
2017-01-23 11:58:44 +01:00
* ovirt_quotas
2017-01-25 15:19:02 +01:00
* ovirt_quotas_facts
2017-02-02 22:36:27 +01:00
* ovirt_snapshots
* ovirt_snapshots_facts
2017-01-23 11:58:44 +01:00
* ovirt_storage_domains
2017-01-25 15:19:02 +01:00
* ovirt_storage_domains_facts
2017-01-23 11:58:44 +01:00
* ovirt_tags
2017-01-25 15:19:02 +01:00
* ovirt_tags_facts
2017-01-23 11:58:44 +01:00
* ovirt_templates
2017-01-25 15:19:02 +01:00
* ovirt_templates_facts
2017-01-23 11:58:44 +01:00
* ovirt_users
2017-01-25 15:19:02 +01:00
* ovirt_users_facts
2017-01-23 11:58:44 +01:00
* ovirt_vmpools
2017-01-25 15:19:02 +01:00
* ovirt_vmpools_facts
2017-01-23 11:58:44 +01:00
* ovirt_vms_facts
2017-02-06 09:13:57 +01:00
- pacemaker_cluster
2017-01-03 17:10:17 +01:00
- packet:
* packet_device
* packet_sshkey
2017-02-06 09:13:57 +01:00
- pamd
2017-02-01 13:41:52 +01:00
- panos:
2017-03-03 20:52:23 +01:00
* panos_address
2017-02-02 21:00:16 +01:00
* panos_admin
* panos_admpwd
2017-02-11 16:35:47 +01:00
* panos_cert_gen_ssh
2017-02-02 21:00:16 +01:00
* panos_check
* panos_commit
* panos_dag
2017-02-01 13:41:52 +01:00
* panos_import
2017-03-03 20:52:23 +01:00
* panos_interface
* panos_lic
2017-02-02 21:00:16 +01:00
* panos_loadcfg
* panos_mgtconfig
* panos_nat_policy
* panos_pg
* panos_restart
2017-03-03 20:52:23 +01:00
* panos_security_policy
2017-02-02 21:00:16 +01:00
* panos_service
2017-02-06 09:13:57 +01:00
- postgresql_schema
- proxmox_kvm
2017-09-13 20:31:47 +02:00
- proxysql:
* proxysql_backend_servers
* proxysql_global_variables
* proxysql_manage_config
* proxysql_mysql_users
* proxysql_query_rules
* proxysql_replication_hostgroups
* proxysql_scheduler
2017-02-16 15:59:20 +01:00
- pubnub_blocks
2017-02-06 09:13:57 +01:00
- pulp_repo
- runit
- serverless
- set_stats
2017-03-02 17:42:54 +01:00
- panos:
* panos_security_policy
2017-01-05 21:30:31 +01:00
- smartos:
* imgadm
2017-01-18 21:45:16 +01:00
* vmadm
2017-02-06 09:13:57 +01:00
- sorcery
- stacki_host
2017-02-10 19:56:28 +01:00
- swupd
2017-02-06 09:13:57 +01:00
- tempfile
2017-03-01 13:37:04 +01:00
- tower:
2017-02-17 17:24:32 +01:00
* tower_credential
* tower_group
* tower_host
* tower_inventory
2017-02-20 21:18:32 +01:00
* tower_job_template
* tower_label
2017-02-17 17:24:32 +01:00
* tower_organization
* tower_project
2017-02-20 21:18:32 +01:00
* tower_role
* tower_team
2017-02-17 17:24:32 +01:00
* tower_user
2017-02-16 15:59:20 +01:00
- vmware:
* vmware_guest_facts
* vmware_guest_snapshot
2017-03-01 13:37:04 +01:00
- web_infrastructure:
2017-01-06 16:12:24 +01:00
* jenkins_script
2017-03-01 22:31:04 +01:00
- system
* parted
2016-10-24 15:50:03 +02:00
- windows:
2017-03-02 01:31:01 +01:00
* win_disk_image
2017-02-28 02:37:19 +01:00
* win_dns_client
2017-03-02 02:49:15 +01:00
* win_domain
2017-03-02 01:37:10 +01:00
* win_domain_controller
2017-02-28 02:37:19 +01:00
* win_domain_membership
2017-02-08 23:19:08 +01:00
* win_find
2017-03-01 15:16:33 +01:00
* win_msg
2017-02-06 09:13:57 +01:00
* win_path
* win_psexec
2017-02-09 23:47:00 +01:00
* win_reg_stat
2017-02-20 12:50:27 +01:00
* win_region
2016-10-24 22:21:04 +02:00
* win_say
2017-01-16 20:38:40 +01:00
* win_shortcut
2017-02-20 12:48:55 +01:00
* win_tempfile
2017-02-06 09:13:57 +01:00
- xbps
2017-01-09 08:53:42 +01:00
- zfs:
* zfs_facts
* zpool_facts
2016-10-06 19:23:31 +02:00
2017-08-02 22:36:17 +02:00
< a id = "2.2.1" > < / a >
2017-01-19 18:41:21 +01:00
## 2.2.1 "The Battle of Evermore" - 2017-01-16
2017-03-15 15:03:48 +01:00
### Major Changes
2017-01-19 18:41:21 +01:00
* Security fix for CVE-2016-9587 - An attacker with control over a client system being managed by Ansible and the ability to send facts back to the Ansible server could use this flaw to execute arbitrary code on the Ansible server as the user and group Ansible is running as.
2017-03-15 15:03:48 +01:00
### Minor Changes
2017-01-19 18:41:21 +01:00
* Fixes a bug where undefined variables in with_* loops would cause a task failure even if the when condition would cause the task to be skipped.
* Fixed a bug related to roles where in certain situations a role may be run more than once despite not allowing duplicates.
* Fixed some additional bugs related to atomic_move for modules.
* Fixes multiple bugs related to field/attribute inheritance in nested blocks and includes, as well as task iteration logic during failures.
* Fixed pip installing packages into virtualenvs using the system pip instead of the virtualenv pip.
* Fixed dnf on systems with dnf-2.0.x (some changes in the API).
* Fixed traceback with dnf install of groups.
* Fixes a bug in which include_vars was not working with failed_when.
* Fix for include_vars only loading files with .yml, .yaml, and .json extensions. This was only supposed to apply to loading a directory of vars files.
* Fixes several bugs related to properly incrementing the failed count in the host statistics.
* Fixes a bug with listening handlers which did not specify a `name` field.
* Fixes a bug with the `play_hosts` internal variable, so that it properly reflects the current list of hosts.
* Fixes a bug related to the v2_playbook_on_start callback method and legacy (v1) plugins.
* Fixes an openssh related process exit race condition, related to the fact that connections using ControlPersist do not close stderr.
* Improvements and fixes to OpenBSD fact gathering.
* Updated `make deb` to use pbuilder. Use `make local_deb` for the previous non-pbuilder build.
* Fixed Windows async to avoid blocking due to handle inheritance.
2017-08-02 22:36:17 +02:00
* Fixed bugs in the mount module on older Linux kernels and BSDs
2017-01-19 18:41:21 +01:00
* Various minor fixes for Python 3
* Inserted some checks for jinja2-2.9, which can cause some issues with Ansible currently.
2017-08-02 22:36:17 +02:00
< a id = "2.2" > < / a >
2017-01-19 18:41:21 +01:00
2017-01-19 18:15:31 +01:00
## 2.2 "The Battle of Evermore" - 2016-11-01
2016-04-26 22:29:52 +02:00
2017-03-15 15:03:48 +01:00
### Major Changes:
2016-05-13 01:38:30 +02:00
2016-06-20 16:29:52 +02:00
* Added the `listen` feature for modules. This feature allows tasks to more easily notify multiple handlers, as well as making it easier for handlers from decoupled roles to be notified.
2016-08-31 21:16:58 +02:00
* Major performance improvements.
2016-05-13 01:38:30 +02:00
* Added support for binary modules
2016-08-08 18:04:11 +02:00
* Added the ability to specify serial batches as a list (`serial: [1, 5, 10]`), which allows for so-called "canary" actions in one play.
* Fixed 'local type' plugins and actions to have a more predictable relative path. Fixes a regression of 1.9 (PR #16805 ). Existing users of 2.x will need to adjust related tasks.
2016-08-31 21:13:29 +02:00
* `meta` tasks can now use conditionals.
2017-01-10 14:18:52 +01:00
* `raw` now returns `changed: true` to be consistent with shell/command/script modules. Add `changed_when: false` to `raw` tasks to restore the pre-2.2 behavior if necessary.
2016-09-01 22:54:31 +02:00
* New privilege escalation become method `ksu`
2016-09-16 16:33:33 +02:00
* Windows `async:` support for long-running or background tasks.
2016-10-24 22:21:04 +02:00
* Windows `environment:` support for setting module environment vars in play/task.
2016-09-07 18:44:50 +02:00
* Added a new `meta` option: `end_play` , which can be used to skip to the end of a play.
* roles can now be included in the middle of a task list via the new `include_role` module, this also allows for making the role import 'loopable' and/or conditional.
* The service module has been changed to use system specific modules if they exist and fall back to the old service module if they cannot be found or detected.
2016-09-12 17:36:11 +02:00
* Add ability to specify what ssh client binary to use on the controller. This
can be configured via ssh_executable in the ansible config file or by setting
ansible_ssh_executable as an inventory variable if different ones are needed
for different hosts.
2016-09-07 18:44:50 +02:00
* Windows:
* several facts were modified or renamed for consistency with their Unix counterparts, and many new facts were added. If your playbooks rely on any of the following keys, please ensure they are using the correct key names and/or values:
- ansible_date_time.date (changed to use yyyy-mm-dd format instead of default system-locale format)
- ansible_date_time.iso8601 (changed to UTC instead of local time)
- ansible_distribution (now uses OS caption string, e.g.: "Microsoft Windows Server 2012 R2 Standard", version is still available on ansible_distribution_version)
- ansible_totalmem (renamed to ansible_memtotal_mb, units changed to MB instead of bytes)
* `async:` support for long-running or background tasks.
* `environment:` support for setting module environment vars in play/task.
2016-09-12 17:42:42 +02:00
* Tech Preview: Work has been done to get Ansible running under Python3. This work is not complete enough to depend upon in production environments but it is enough to begin testing it.
* Most of the controller side should now work. Users should be able to run python3 /usr/bin/ansible and python3 /usr/bin/ansible-playbook and have core features of ansible work.
* A few of the most essential modules have been audited and are known to work. Others work out of the box.
2016-10-23 09:36:38 +02:00
* We are using unit and integration tests to help us port code and not regress later. Even if you are not familiar with python you can still help by contributing integration tests (just ansible roles) that exercise more of the code to make sure it continues to run on both Python2 and Python3.
2016-09-29 23:49:46 +02:00
* scp_if_ssh now supports True, False and "smart". "smart" is the default and will retry failed sftp transfers with scp.
2016-10-03 14:59:44 +02:00
* Network:
2016-10-23 09:36:38 +02:00
* Refactored all network modules to remove duplicate code and take advantage of Ansiballz implementation
2016-10-03 14:59:44 +02:00
* All functionality from *_template network modules have been combined into *_config module
* Network *_command modules not longer allow configuration mode statements
2016-05-13 01:38:30 +02:00
2017-03-15 15:03:48 +01:00
#### New Modules
2016-09-11 10:49:35 +02:00
- apache2_mod_proxy
2016-07-14 18:16:18 +02:00
- asa
* asa_acl
* asa_command
* asa_config
2016-09-11 10:49:35 +02:00
- atomic
* atomic_host
* atomic_image
2016-05-10 18:33:39 +02:00
- aws
2016-09-11 10:49:35 +02:00
* cloudformation_facts
* ec2_asg_facts
2016-05-10 18:33:39 +02:00
* ec2_customer_gateway
2016-09-11 10:49:35 +02:00
* ec2_lc_find
* ec2_vpc_dhcp_options_facts
* ec2_vpc_nacl
2016-05-23 17:31:46 +02:00
* ec2_vpc_nacl_facts
2016-08-06 10:34:07 +02:00
* ec2_vpc_nat_gateway
2016-09-11 10:49:35 +02:00
* ec2_vpc_peer
2016-06-22 20:40:33 +02:00
* ec2_vpc_vgw
2016-10-03 16:08:35 +02:00
* efs
* efs_facts
2016-09-11 10:49:35 +02:00
* execute_lambda
* iam_mfa_device_facts
* iam_server_certificate_facts
* kinesis_stream
2016-10-03 16:08:35 +02:00
* lambda
* lambda_alias
* lambda_event
* lambda_facts
* redshift
* redshift_subnet_group
2016-09-11 10:49:35 +02:00
* s3_website
* sts_session_token
2016-05-19 10:32:29 +02:00
- cloudstack
* cs_router
2016-05-28 11:39:16 +02:00
* cs_snapshot_policy
2016-09-16 23:45:08 +02:00
- dellos6
* dellos6_command
* dellos6_config
2016-09-17 10:02:46 +02:00
* dellos6_facts
2016-09-16 23:45:08 +02:00
- dellos9
* dellos9_command
* dellos9_config
* dellos9_facts
- dellos10
* dellos10_command
* dellos10_config
* dellos10_facts
2016-10-03 16:08:35 +02:00
- digital_ocean_block_storage
2016-09-21 15:55:48 +02:00
- docker
* docker_network
2016-09-19 18:02:53 +02:00
- eos
* eos_facts
2016-09-11 10:49:35 +02:00
- exoscale:
* exo_dns_domain
* exo_dns_record
2016-08-29 18:42:47 +02:00
- f5:
* bigip_device_dns
* bigip_device_ntp
* bigip_device_sshd
2016-09-11 10:49:35 +02:00
* bigip_gtm_datacenter
* bigip_gtm_virtual_server
2016-08-29 18:42:47 +02:00
* bigip_irule
2016-09-11 10:49:35 +02:00
* bigip_routedomain
* bigip_selfip
* bigip_ssl_certificate
* bigip_sys_db
* bigip_vlan
- github
* github_key
* github_release
2016-08-06 10:34:07 +02:00
- google
* gcdns_record
* gcdns_zone
2016-10-03 16:08:35 +02:00
* gce_mig
2016-09-11 10:49:35 +02:00
- honeybadger_deployment
- illumos
* dladm_etherstub
* dladm_vnic
* flowadm
* ipadm_if
* ipadm_prop
2016-07-14 18:16:18 +02:00
- ipmi
* ipmi_boot
* ipmi_power
2016-09-19 18:02:53 +02:00
- ios
* ios_facts
- iosxr
* iosxr_facts
2016-08-26 19:42:13 +02:00
- include_role
2016-09-11 10:49:35 +02:00
- jenkins
* jenkins_job
* jenkins_plugin
- kibana_plugin
2016-06-01 23:05:29 +02:00
- letsencrypt
2016-08-06 10:34:07 +02:00
- logicmonitor
- logicmonitor_facts
2016-07-09 11:00:38 +02:00
- lxd
* lxd_profile
* lxd_container
2016-09-11 10:49:35 +02:00
- netapp
2016-10-03 16:08:35 +02:00
* netapp_e_amg
* netapp_e_amg_role
* netapp_e_amg_sync
* netapp_e_auth
2016-09-11 10:49:35 +02:00
* netapp_e_facts
2016-10-03 16:08:35 +02:00
* netapp_e_flashcache
* netapp_e_hostgroup
* netapp_e_host
* netapp_e_lun_mapping
* netapp_e_snapshot_group
* netapp_e_snapshot_images
* netapp_e_snapshot_volume
2016-09-11 10:49:35 +02:00
* netapp_e_storage_system
2016-10-03 16:08:35 +02:00
* netapp_e_storagepool
* netapp_e_volume
* netapp_e_volume_copy
2016-06-01 23:15:47 +02:00
- netconf_config
2016-09-19 18:02:53 +02:00
- netvisor
* pn_cluster
* pn_ospfarea
* pn_ospf
* pn_show
* pn_trunk
* pn_vlag
* pn_vlan
* pn_vrouterbgp
* pn_vrouterif
* pn_vrouterlbif
* pn_vrouter
- nxos
* nxos_aaa_server_host
* nxos_aaa_server
* nxos_acl_interface
* nxos_acl
* nxos_bgp_af
* nxos_bgp_neighbor_af
* nxos_bgp_neighbor
* nxos_bgp
* nxos_evpn_global
* nxos_evpn_vni
2016-10-03 16:08:35 +02:00
* nxos_file_copy
2016-09-19 18:02:53 +02:00
* nxos_gir_profile_management
* nxos_gir
* nxos_hsrp
* nxos_igmp_interface
* nxos_igmp
* nxos_igmp_snooping
2016-10-03 16:08:35 +02:00
* nxos_install_os
2016-09-19 18:02:53 +02:00
* nxos_interface_ospf
* nxos_mtu
* nxos_ntp_auth
* nxos_ntp_options
* nxos_ntp
* nxos_ospf
* nxos_ospf_vrf
* nxos_overlay_global
* nxos_pim_interface
* nxos_pim
* nxos_pim_rp_address
* nxos_portchannel
* nxos_rollback
* nxos_smu
* nxos_snapshot
* nxos_snmp_community
* nxos_snmp_contact
* nxos_snmp_host
* nxos_snmp_location
* nxos_snmp_traps
* nxos_snmp_user
* nxos_static_route
* nxos_udld_interface
* nxos_udld
* nxos_vpc_interface
* nxos_vpc
* nxos_vrf_af
* nxos_vtp_domain
* nxos_vtp_password
* nxos_vtp_version
* nxos_vxlan_vtep
* nxos_vxlan_vtep_vni
2016-09-11 10:49:35 +02:00
- mssql_db
2016-08-06 10:34:07 +02:00
- ovh_ip_loadbalancing_backend
2016-09-11 10:49:35 +02:00
- opendj_backendprop
2016-06-08 16:35:47 +02:00
- openstack
2016-06-13 18:25:39 +02:00
* os_keystone_service
2016-07-28 00:42:32 +02:00
* os_recordset
2016-08-25 13:46:05 +02:00
* os_server_group
2016-07-11 19:37:44 +02:00
* os_stack
2016-07-28 00:42:32 +02:00
* os_zone
2016-10-03 16:08:35 +02:00
- ovirt
* ovirt_auth
* ovirt_disks
* ovirt_vms
2016-09-11 10:49:35 +02:00
- rhevm
2016-06-13 18:25:39 +02:00
- rocketchat
2016-09-11 10:49:35 +02:00
- sefcontext
2016-06-06 16:57:03 +02:00
- sensu_subscription
2016-05-23 17:31:46 +02:00
- smartos
* smartos_image_facts
2016-09-19 18:02:53 +02:00
- sros
* sros_command
* sros_config
* sros_rollback
2016-09-11 10:49:35 +02:00
- statusio_maintenance
2016-05-25 23:28:29 +02:00
- systemd
2016-06-14 10:17:27 +02:00
- telegram
2016-08-29 18:42:47 +02:00
- univention
2016-09-11 10:49:35 +02:00
* udm_dns_record
* udm_dns_zone
* udm_group
* udm_share
2016-08-29 18:42:47 +02:00
* udm_user
2016-06-14 10:17:27 +02:00
- vmware
2016-08-06 10:34:07 +02:00
* vmware_guest
2016-07-08 11:02:02 +02:00
* vmware_local_user_manager
2016-06-14 10:17:27 +02:00
* vmware_vmotion
2016-09-19 18:02:53 +02:00
- vyos
* vyos_command
* vyos_config
* vyos_facts
2016-07-14 15:24:21 +02:00
- wakeonlan
2016-10-03 16:08:35 +02:00
- windows
2016-09-15 17:43:02 +02:00
* win_command
* win_robocopy
* win_shell
2016-09-07 18:42:33 +02:00
2017-03-15 15:03:48 +01:00
#### New Callbacks
2016-10-03 14:46:48 +02:00
* foreman
2016-06-14 10:17:27 +02:00
2017-03-15 15:03:48 +01:00
### Minor Changes
2016-05-20 15:27:29 +02:00
* now -vvv shows exact path from which 'currently executing module' was picked up from.
2016-08-31 22:09:37 +02:00
* loop_control now has a label option to allow fine grained control what gets displayed per item
* loop_control now has a pause option to allow pausing for N seconds between loop iterations of a task.
2016-09-07 18:44:50 +02:00
* New privilege escalation become method `ksu`
* `raw` now returns `changed: true` to be consistent with shell/command/script modules. Add `changed_when: false` to `raw` tasks to restore the pre-2.2 behavior if necessary.
2016-09-09 23:31:25 +02:00
* removed previously deprecated ';' as host list separator.
2016-09-12 17:36:11 +02:00
* Only check if the default ssh client supports ControlPersist once instead of once for each host + task combination.
2016-09-20 16:09:55 +02:00
* Fix a problem with the pip module updating the python pip package itself.
2016-09-23 17:26:01 +02:00
* ansible_play_hosts is a new magic variable to provide a list of hosts in scope for the current play. Unlike play_hosts it is not subject to the 'serial' keyword.
2016-09-28 16:32:19 +02:00
* ansible_play_batch is a new magic variable meant to substitute the current play_hosts.
2016-09-13 16:30:17 +02:00
2017-03-15 15:03:48 +01:00
### For custom front ends using the API
2016-09-13 16:30:17 +02:00
* ansible.parsing.vault:
* VaultLib.is_encrypted() has been deprecated. It will be removed in 2.4.
Use ansible.parsing.vault.is_encrypted() instead
* VaultFile has been removed. This unfinished code was never used inside of
Ansible. The feature it was intended to support has now been implemented
without using this.
* VaultAES, the older, insecure encrypted format that debuted in Ansible-1.5
2016-10-23 09:36:38 +02:00
and was replaced by VaultAES256 less than a week later, now has a deprecation
2016-09-13 16:30:17 +02:00
warning. **It will be removed in 2.3** . In the unlikely event that you
wrote a vault file in that 1 week window and have never modified the file
since (ansible-vault automatically re-encrypts the file using VaultAES256
whenever it is written to but not read), run ``ansible-vault rekey
[filename]`` to move to VaultAES256.
2016-09-20 20:40:10 +02:00
2017-03-15 15:03:48 +01:00
### Removed Deprecated
2016-09-16 18:54:52 +02:00
* ';' as host list separator.
* with\_ 'bare variable' handling, now loop items must always be templated `{{ }}` or they will be considered as plain strings.
* skipping task on 'missing attribute' in loop variable, now in a loop an undefined attribute will return an error instead of skipping the task.
* skipping on undefined variables in loop, now loops will have to define a variable or use `|default` to avoid errors.
2016-09-13 16:30:17 +02:00
2017-03-15 15:03:48 +01:00
### Deprecations
2016-09-28 13:57:01 +02:00
Notice given that the following will be removed in Ansible 2.4:
* Modules
* eos_template
* ios_template
* iosxr_template
* junos_template
* nxos_template
* ops_template
2017-08-02 22:36:17 +02:00
< a id = "2.1.4" > < / a >
2017-01-19 18:44:06 +01:00
## 2.1.4 "The Song Remains the Same" - 2017-01-16
* Security fix for CVE-2016-9587 - An attacker with control over a client system being managed by Ansible and the ability to send facts back to the Ansible server could use this flaw to execute arbitrary code on the Ansible server as the user and group Ansible is running as.
* Fixed a bug with conditionals in loops, where undefined variables and other errors will defer raising the error until the conditional has been evaluated.
* Added a version check for jinja2-2.9, which does not fully work with Ansible currently.
2017-08-02 22:36:17 +02:00
< a id = "2.1.3" > < / a >
2017-01-19 18:44:06 +01:00
## 2.1.3 "The Song Remains the Same" - 2016-11-04
* Security fix for CVE-2016-8628 - Command injection by compromised server via fact variables. In some situations, facts returned by modules could overwrite connection-based facts or some other special variables, leading to injected commands running on the Ansible controller as the user running Ansible (or via escalated permissions).
* Security fix for CVE-2016-8614 - apt_key module not properly validating keys in some situations.
2017-04-19 21:06:18 +02:00
### Minor Changes:
2017-01-19 18:44:06 +01:00
* The subversion module from core now marks its password parameter as no_log so
the password is obscured when logging.
* The postgresql_lang and postgresql_ext modules from extras now mark
login_password as no_log so the password is obscured when logging.
* Fixed several bugs related to locating files relative to role/playbook directories.
* Fixed a bug in the way hosts were tested for failed states, resulting in incorrectly skipped block sessions.
2017-08-02 22:36:17 +02:00
* Fixed a bug in the way our custom JSON encoder is used for the `to_json*` filters.
2017-01-19 18:44:06 +01:00
* Fixed some bugs related to the use of non-ascii characters in become passwords.
* Fixed a bug with Azure modules which may be using the latest rc6 library.
* Backported some docker_common fixes.
2017-08-02 22:36:17 +02:00
< a id = "2.1.2" > < / a >
2017-01-19 18:44:06 +01:00
## 2.1.2 "The Song Remains the Same" - 2016-09-29
2016-10-03 16:30:58 +02:00
2017-03-15 15:03:48 +01:00
### Minor Changes
2016-10-03 16:30:58 +02:00
* Fixed a bug related to creation of retry files (#17456)
* Fixed a bug in the way include params are used when an include task is dynamic (#17064)
* Fixed a bug related to including blocks in an include task (#15963)
* Fixed a bug related to the use of hostvars internally when creating the connection plugin. This prevents things like variables using lookups from being evaluated unnecessarily (#17024)
* Fixed a bug where using a variable containing a list for the `hosts` of a play resulted in an list of lists (#16583)
* Fixed a bug where integer values would cause an error if a module param was of type `float` (no issue)
* Fixed a bug with net_template failing if src was not specified (#17726)
* Fixed a bug in "ansible-galaxy import" (#17417)
* Fixed a bug in which INI files incorrectly treated a hosts range as a section header (#15331)
* Fixed a bug in which the max_fail_percentage calculation erroneously caused a series of plays to stop executing (#15954)
* Fixed a bug in which the task names were not properly templated (#16295)
* Fixed a bug causing "squashed" loops (ie. yum, apt) to incorrectly report results (ansible-modules-core#4214)
* Fixed several bugs related to includes:
- when including statically, make sure that all parents were also included statically (issue #16990 )
- properly resolve nested static include paths
- print a message when a file is statically included
* Fixed a bug in which module params expected to be float types were not converted from integers (only strings) (#17325)
* Fixed a bug introduced by static includes in 2.1, which prevented notifications from going to the "top level" handler name.
* Fixed a bug where a group_vars or host_vars directory in the current working directory would be used (and would take precedence) over those in the inventory and/or playbook directory.
* Fixed a bug which could occur when the result of an async task did not parse as valid JSON.
* (re)-allowed the use of ansible_python_interpreter lines with more than one argument.
* Fixed several bugs related to the creation of the implicit localhost in inventory.
* Fixed a bug related to an unspecified number of retries when using until.
* Fixed a race-condition bug when creating temp directories before the worker process is forked.
* Fix a bug with async's poll keyword not making use of ansible_python_interpreter to run (and thus breaking when /usr/bin/python is not present on the remote machine.)
* Fix a bug where hosts that started with a range in inventory were being treated as an invalid section header.
Module fixes:
* Fixed a bug where the temporary CA files created by the module helper code were not being deleted properly in some situations (#17073)
* Fixed many bugs in the unarchive module
* Fixes for module ec2:
- Fixed a bug related to source_dest_check when used with non-vpc instances (core#3243)
- Fixed a bug in ec2 where instances were not powering of when referenced via tags only (core#4765)
- Fixed a bug where instances with multiple interfaces were not powering up/down correctly (core#3234)
* Fixes for module get_url:
- Fixed a bug in get_url module to force a download if there is a checksum mismatch regardless of the last modified time (core#4262)
- Fixed a bug in get_url module to properly process FTP results (core#3661 and core#4601)
* Fixed a bug in win_user related to users with disabled accounts/expired passwords (core#4369)
* ini_file:
- Fixed a bug where option lines are now inserted before blank lines.
- Fixed a bug where leading whitespace prevented matches on options.
* Fixed a bug in iam_cert when dup_ok is used as a string.
* Fixed a bug in postgresql_db related to the changed logic when state=absent.
* Fixed a bug where single_transaction and quick were not passed into db_dump for the mysql_db module.
* Fixed a bug where the fetch module was not idempotent when retrieving the target of a symlink.
* Many minor fixes for bugs in extras modules.
2017-03-15 15:03:48 +01:00
### Deprecations
2016-10-03 16:30:58 +02:00
* Deprecated the use of `_fixup_perms` . Use `_fixup_perms2` instead.
This change only impacts custom action plugins using `_fixup_perms` .
2017-03-15 15:03:48 +01:00
### Incompatible Changes
2016-10-03 16:30:58 +02:00
2016-09-07 01:49:59 +02:00
* Use of `_fixup_perms` with `recursive=True` (the default) is no longer supported.
Custom action plugins using `_fixup_perms` will require changes unless they already use `recursive=False` .
Use `_fixup_perms2` if support for previous releases is not required.
Otherwise use `_fixup_perms` with `recursive=False` .
2017-08-02 22:36:17 +02:00
< a id = "2.1" > < / a >
2016-08-15 11:10:22 +02:00
## 2.1 "The Song Remains the Same"
2015-11-26 08:44:56 +01:00
2017-04-19 21:06:18 +02:00
### Major Changes:
2016-01-30 00:40:06 +01:00
2016-04-26 18:35:41 +02:00
* Official support for the networking modules, originally available in 2.0 as a tech preview.
* Refactored and expanded support for Docker with new modules and many improvements to existing modules, as well as a new Kubernetes module.
* Added new modules for Azure (see below for the full list)
2016-04-20 00:05:08 +02:00
* Added the ability to specify includes as "static" (either through a configuration option or on a per-include basis). When includes are static,
they are loaded at compile time and cannot contain dynamic features like loops.
2016-08-15 11:10:22 +02:00
* Added a new strategy `debug` , which allows per-task debugging of playbooks, for more details see https://docs.ansible.com/ansible/playbooks_debugger.html
2016-04-20 00:05:08 +02:00
* Added a new option for tasks: `loop_control` . This currently only supports one option - `loop_var` , which allows a different loop variable from `item` to be used.
2016-04-26 18:35:41 +02:00
* Added the ability to filter facts returned by the fact gathering setup step using the `gather_subset` option on the play or in the ansible.cfg configuration file.
See http://docs.ansible.com/ansible/intro_configuration.html#gathering for details on the format of the option.
2016-04-20 00:05:08 +02:00
* Added the ability to send per-item callbacks, rather than a batch update (this more closely resembles the behavior of Ansible 1.x).
* Added facility for modules to send back 'diff' for display when ansible is called with --diff, updated several modules to return this info
* Added ansible-console tool, a REPL shell that allows running adhoc tasks against a chosen inventory (based on https://github.com/dominis/ansible-shell)
2016-04-26 18:35:41 +02:00
* Added two new variables, which are set when the `rescue` portion of a `block` is started:
- `ansible_failed_task` , which contains the serialized version of the failed task.
- `ansible_failed_result` , which contains the result of the failed task.
* New meta action, `meta: clear_host_errors` which will clear any hosts which were marked as failed (but not unreachable hosts).
2016-04-20 00:05:08 +02:00
* New meta action, `meta: clear_facts` which will remove existing facts for the current host from current memory and facts cache.
2016-04-20 00:20:11 +02:00
* copy module can now transparently use a vaulted file as source, if vault passwords were provided it will decrypt and copy on the fly.
2016-04-20 18:39:54 +02:00
* The way new-style python modules (which include all of the non-windows modules shipped with Ansible) are assembled before execution on the remote machine has been changed. The new way stays closer to how python imports modules which will make it easier to write modules which rely heavily on shared code.
2016-04-20 18:21:14 +02:00
* Reduce the situations in which a module can end up as world readable. For details, see: https://docs.ansible.com/ansible/become.html#becoming-an-unprivileged-user
2016-04-26 18:35:41 +02:00
* Re-implemented the retry file feature, which had been left out of 2.0 (fix was backported to 2.0.1 originally).
2016-04-26 18:49:35 +02:00
* Improved winrm argument validation and feature sniffing (for upcoming pywinrm NTLM support).
* Improved winrm error handling: basic parsing of stderr from CLIXML stream.
2016-01-30 00:40:06 +01:00
2017-03-15 15:03:48 +01:00
#### New Modules
2016-03-12 01:37:43 +01:00
- aws
* ec2_vol_facts
* ec2_vpc_dhcp_options
* ec2_vpc_net_facts
2016-04-20 00:09:18 +02:00
* ec2_snapshot_facts
2016-04-25 15:29:33 +02:00
- azure:
2016-04-26 07:13:47 +02:00
* azure_rm_deployment
2016-04-25 15:29:33 +02:00
* azure_rm_networkinterface
2016-05-26 01:00:33 +02:00
* azure_rm_networkinterface_facts (TECH PREVIEW)
2016-05-25 23:24:10 +02:00
* azure_rm_publicipaddress
2016-05-26 01:00:33 +02:00
* azure_rm_publicipaddress_facts (TECH PREVIEW)
2016-04-26 07:13:47 +02:00
* azure_rm_resourcegroup
2016-05-26 01:00:33 +02:00
* azure_rm_resourcegroup_facts (TECH PREVIEW)
2016-04-25 15:29:33 +02:00
* azure_rm_securitygroup
2016-05-26 01:00:33 +02:00
* azure_rm_securitygroup_facts (TECH PREVIEW)
2016-04-25 15:29:33 +02:00
* azure_rm_storageaccount
2016-05-26 01:00:33 +02:00
* azure_rm_storageaccount_facts (TECH PREVIEW)
2016-04-25 15:29:33 +02:00
* azure_rm_storageblob
* azure_rm_subnet
2016-04-26 07:13:47 +02:00
* azure_rm_virtualmachine
2016-05-26 01:00:33 +02:00
* azure_rm_virtualmachineimage_facts (TECH PREVIEW)
2016-04-25 15:29:33 +02:00
* azure_rm_virtualnetwork
2016-05-26 01:00:33 +02:00
* azure_rm_virtualnetwork_facts (TECH PREVIEW)
2016-03-19 00:12:53 +01:00
- cloudflare_dns
2016-03-12 01:37:43 +01:00
- cloudstack
* cs_cluster
* cs_configuration
* cs_instance_facts
* cs_pod
* cs_resourcelimit
* cs_volume
* cs_zone
2016-03-15 23:27:14 +01:00
* cs_zone_facts
2016-04-21 19:23:32 +02:00
- clustering
* kubernetes
2016-04-26 19:05:04 +02:00
- cumulus
* cl_bond
* cl_bridge
* cl_img_install
* cl_interface
* cl_interface_policy
* cl_license
* cl_ports
- eos
* eos_command
* eos_config
* eos_eapi
* eos_template
2016-04-12 22:25:45 +02:00
- gitlab
* gitlab_group
* gitlab_project
* gitlab_user
2016-04-26 19:05:04 +02:00
- ios
* ios_command
* ios_config
* ios_template
- iosxr
* iosxr_command
* iosxr_config
* iosxr_template
- junos
* junos_command
* junos_config
* junos_facts
* junos_netconf
* junos_package
* junos_template
2016-03-25 14:58:48 +01:00
- make
2016-04-25 19:37:34 +02:00
- mongodb_parameter
2016-04-26 19:05:04 +02:00
- nxos
* nxos_command
* nxos_config
* nxos_facts
* nxos_feature
* nxos_interface
* nxos_ip_interface
* nxos_nxapi
* nxos_ping
* nxos_switchport
* nxos_template
* nxos_vlan
* nxos_vrf
* nxos_vrf_interface
* nxos_vrrp
2016-03-23 15:58:03 +01:00
- openstack
* os_flavor_facts
* os_group
* os_ironic_inspect
2016-04-11 22:34:20 +02:00
* os_keystone_domain_facts
2016-03-23 15:58:03 +01:00
* os_keystone_role
2016-04-12 20:29:28 +02:00
* os_port_facts
2016-04-13 20:49:31 +02:00
* os_project_facts
2016-04-11 22:34:20 +02:00
* os_user_facts
2016-03-30 12:03:58 +02:00
* os_user_role
2016-04-26 19:05:04 +02:00
- openswitch
* ops_command
* ops_config
* ops_facts
* ops_template
2016-03-23 20:11:57 +01:00
- softlayer
* sl_vm
2016-04-23 15:27:55 +02:00
- vmware
* vmware_maintenancemode
* vmware_vm_shell
2016-03-12 01:37:43 +01:00
- windows
2016-04-26 18:49:35 +02:00
* win_acl_inheritance
2016-04-01 22:58:38 +02:00
* win_owner
2016-04-26 18:49:35 +02:00
* win_reboot
2016-03-12 01:37:43 +01:00
* win_regmerge
* win_timezone
- yum_repository
2015-11-26 08:44:56 +01:00
2016-03-01 18:43:31 +01:00
2017-03-15 15:03:48 +01:00
#### New Strategies
2016-04-08 20:41:06 +02:00
* debug
2017-03-15 15:03:48 +01:00
#### New Filters
2015-12-03 20:20:00 +01:00
* extract
2016-03-27 23:14:48 +02:00
* ip4_hex
2016-04-26 19:05:04 +02:00
* regex_search
* regex_findall
2015-12-03 20:20:00 +01:00
2017-03-15 15:03:48 +01:00
#### New Callbacks
2016-02-18 11:32:42 +01:00
* actionable (only shows changed and failed)
2016-02-18 11:15:30 +01:00
* slack
2016-02-19 16:12:52 +01:00
* json
2016-02-18 11:15:30 +01:00
2017-03-15 15:03:48 +01:00
#### New Tests
2016-03-25 00:19:52 +01:00
* issubset
* issuperset
2017-04-19 21:06:18 +02:00
#### New Inventory scripts:
2016-04-25 23:38:21 +02:00
* brook
2016-03-04 00:17:58 +01:00
* rackhd
2016-04-26 07:13:47 +02:00
* azure_rm
2016-03-04 00:17:58 +01:00
2017-04-19 21:06:18 +02:00
### Minor Changes:
2016-02-18 11:15:30 +01:00
2016-05-28 11:39:16 +02:00
* Added support for pipelining mode to more connection plugins, which helps prevent
2016-04-26 18:35:41 +02:00
module data from being written to disk.
* Added a new '!unsafe' YAML decorator, which can be used in playbooks to ensure a
string is not templated. For example: `foo: !unsafe "Don't template {{me}}"` .
* Callbacks now have access to the options with which the CLI was called
* Debug now has verbosity option to control when to display by matching number of -v in command line
* Modules now get verbosity, diff and other flags as passed to ansible
* Mount facts now also show 'network mounts' that use the pattern `<host>:/<mount>`
2016-03-22 18:24:00 +01:00
* Plugins are now sorted before loading. This means, for instance, if you want
two custom callback plugins to run in a certain order you can name them
10-first-callback.py and 20-second-callback.py.
2016-04-25 17:43:10 +02:00
* Added (alpha) Centirfy's dzdo as another become meethod (privilege escalation)
2016-02-18 11:15:30 +01:00
2017-04-19 21:06:18 +02:00
### Deprecations:
2016-04-26 18:35:41 +02:00
* Deprecated the use of "bare" variables in loops (ie. `with_items: foo` , where `foo` is a variable).
The full jinja2 variable syntax of `{{foo}}` should always be used instead. This warning will be removed
completely in 2.3, after which time it will be an error.
2016-09-28 16:32:19 +02:00
* play_hosts magic variable, use ansible_play_batch or ansible_play_hosts instead.
2016-04-26 18:35:41 +02:00
2017-08-02 22:36:17 +02:00
< a id = "2.0.2" > < / a >
2016-04-26 18:35:41 +02:00
## 2.0.2 "Over the Hills and Far Away"
* Backport of the 2.1 feature to ensure per-item callbacks are sent as they occur,
rather than all at once at the end of the task.
* Fixed bugs related to the iteration of tasks when certain combinations of roles,
blocks, and includes were used, especially when handling errors in rescue/always
portions of blocks.
* Fixed handling of redirects in our helper code, and ported the uri module to use
this helper code. This removes the httplib dependency for this module while fixing
some bugs related to redirects and SSL certs.
* Fixed some bugs related to the incorrect creation of extra temp directories for
uploading files, which were not cleaned up properly.
* Improved error reporting in certain situations, to provide more information such as
the playbook file/line.
* Fixed a bug related to the variable precedence of role parameters, especially when
a role may be used both as a dependency of a role and directly by itself within the
same play.
* Fixed some bugs in the 2.0 implementation of do/until.
* Fixed some bugs related to run_once:
- Ensure that all hosts are marked as failed if a task marked as run_once fails.
- Show a warning when using the free strategy when a run_once task is encountered, as
there is no way for the free strategy to guarantee the task is not run more than once.
* Fixed a bug where the assemble module was not honoring check mode in some situations.
* Fixed a bug related to delegate_to, where we were incorrectly using variables from
the inventory host rather than the delegated-to host.
* The 'package' meta-module now properly squashes items down to a single execution (as the
apt/yum/other package modules do).
* Fixed a bug related to the ansible-galaxy CLI command dealing with paged results from
the Galaxy server.
* Pipelining support is now available for the local and jail connection plugins, which is
useful for users who do not wish to have temp files/directories created when running
tasks with these connection types.
* Improvements in support for additional shell types.
* Improvements in the code which is used to calculate checksums for remote files.
* Some speed ups and bug fixes related to the variable merging code.
* Workaround bug in python subprocess on El Capitan that was making vault fail
when attempting to encrypt a file
* Fix lxc_container module having predictable temp file names and setting file
permissions on the temporary file too leniently on a temporary file that was
executed as a script. Addresses CVE-2016-3096
* Fix a bug in the uri module where setting headers via module params that
2017-08-02 22:36:17 +02:00
start with `HEADER_` were causing a traceback.
2016-04-26 18:35:41 +02:00
* Fix bug in the free strategy that was causing it to synchronize its workers
after every task (making it a lot more like linear than it should have been).
2017-08-02 22:36:17 +02:00
< a id = "2.0.1" > < / a >
2016-01-28 22:32:19 +01:00
## 2.0.1 "Over the Hills and Far Away"
* Fixes a major compatibility break in the synchronize module shipped with
2.0.0.x. That version of synchronize ran sudo on the controller prior to
running rsync. In 1.9.x and previous, sudo was run on the host that rsync
connected to. 2.0.1 restores the 1.9.x behaviour.
* Additionally, several other problems with where synchronize chose to run when
2017-08-02 22:36:17 +02:00
combined with delegate_to were fixed. In particular, if a playbook targetted
2016-01-28 22:32:19 +01:00
localhost and then delegated_to a remote host the prior behavior (in 1.9.x
and 2.0.0.x) was to copy files between the src and destination directories on
the delegated host. This has now been fixed to copy between localhost and
the delegated host.
* Fix a regression where synchronize was unable to deal with unicode paths.
* Fix a regression where synchronize deals with inventory hosts that use
localhost but with an alternate port.
* Fixes a regression where the retry files feature was not implemented.
* Fixes a regression where the any_errors_fatal option was implemented in 2.0
incorrectly, and also adds a feature where any_errors_fatal can be set at
the block level.
* Fix tracebacks when playbooks or ansible itself were located in directories
with unicode characters.
* Fix bug when sending unicode characters to an external pager for display.
* Fix a bug with squashing loops for special modules (mostly package managers).
The optimization was squashing when the loop did not apply to the selection
of packages. This has now been fixed.
* Temp files created when using vault are now "shredded" using the unix shred
program which overwrites the file with random data.
* Some fixes to cloudstack modules for case sensitivity
* Fix non-newstyle modules (non-python modules and old-style modules) to
disabled pipelining.
* Fix fetch module failing even if fail_on_missing is set to False
* Fix for cornercase when local connections, sudo, and raw were used together.
2016-02-02 19:51:41 +01:00
* Fix dnf module to remove dependent packages when state=absent is specified.
This was a feature of the 1.9.x version that was left out by mistake when the
module was rewritten for 2.0.
2016-02-07 22:11:32 +01:00
* Fix bugs with non-english locales in yum, git, and apt modules
2016-02-13 11:09:08 +01:00
* Fix a bug with the dnf module where state=latest could only upgrade, not install.
2016-02-29 21:51:38 +01:00
* Fix to make implicit fact gathering task correctly inherit settings from play,
this might cause an error if settings environment on play depending on 'ansible_env'
2017-11-02 00:07:43 +01:00
which was previously ignored
2016-01-28 22:32:19 +01:00
2017-08-02 22:36:17 +02:00
< a id = "2.0" > < / a >
2016-01-28 22:32:19 +01:00
## 2.0 "Over the Hills and Far Away" - Jan 12, 2016
2014-11-25 23:49:45 +01:00
2017-04-19 21:06:18 +02:00
### Major Changes:
2015-08-31 23:14:41 +02:00
2015-10-31 22:13:29 +01:00
* Releases are now named after Led Zeppelin songs, 1.9 will be the last Van Halen named release.
2015-09-12 04:08:01 +02:00
* The new block/rescue/always directives allow for making task blocks and exception-like semantics
* New strategy plugins (e.g. `free` ) allow control over the flow of task execution per play. The default (`linear`) will be the same as before.
* Improved error handling, with more detailed parser messages. General exception handling and display has been revamped.
2015-10-31 22:13:29 +01:00
* Task includes are now evaluated during execution, allowing more dynamic includes and options. Play includes are unchanged both still use the `include` directive.
* "with\_< lookup > " loops can now be used with task includes since they are dynamic.
* Callback, connection, cache and lookup plugin APIs have changed. Existing plugins might require modification to work with the new versions.
2015-09-12 04:08:01 +02:00
* Callbacks are now shipped in the active directory and don't need to be copied, just whitelisted in ansible.cfg.
* Many API changes. Those integrating directly with Ansible's API will encounter breaking changes, but the new API is much easier to use and test.
2015-11-12 04:26:16 +01:00
* Settings are now more inheritable; what you set at play, block or role will be automatically inherited by the contained tasks.
2015-10-31 22:13:29 +01:00
This allows for new features to automatically be settable at all levels, previously we had to manually code this.
2015-11-12 04:26:16 +01:00
* Vars are now settable at play, block, role and task level with the `vars` directive and scoped to the tasks contained.
2015-09-12 04:08:01 +02:00
* Template code now retains types for bools and numbers instead of turning them into strings.
2015-10-31 22:13:29 +01:00
If you need the old behaviour, quote the value and it will get passed around as a 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-09-12 04:08:01 +02:00
* Added `meta: refresh_inventory` to force rereading the inventory in a play.
2015-10-31 22:13:29 +01:00
This re-executes inventory scripts, but does not force them to ignore any cache they might use.
2015-12-08 20:52:59 +01:00
* New delegate_facts directive, a boolean that allows you to apply facts to the delegated host (true/yes) instead of the inventory_hostname (no/false) which is the default and previous behaviour.
2015-12-01 18:10:40 +01:00
* local connections now work with 'su' as a privilege escalation method
2017-09-18 19:41:17 +02:00
* Ansible 2.0 has deprecated the "ssh" from ansible_ssh_user, ansible_ssh_host, and ansible_ssh_port to become ansible_user, ansible_host, and ansible_port.
2016-02-12 16:52:44 +01:00
* New ssh configuration variables (`ansible_ssh_common_args`, `ansible_ssh_extra_args` ) can be used to configure a
2015-10-31 22:13:29 +01:00
per-group or per-host ssh ProxyCommand or set any other ssh options.
`ansible_ssh_extra_args` is used to set options that are accepted only by ssh (not sftp or scp, which have their own analogous settings).
2015-12-05 07:47:35 +01:00
* ansible-pull can now verify the code it runs when using git as a source repository, using git's code signing and verification features.
2015-10-31 22:13:29 +01: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:
2015-08-31 23:14:41 +02:00
2017-05-30 14:58:10 +02:00
```yaml
2015-09-12 04:08:01 +02:00
# 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') }}"
2015-10-02 16:14:17 +02:00
2015-09-12 04:08:01 +02:00
# Output:
"msg": "test1 1\\3"
```
2014-11-25 23:49:45 +01:00
2015-09-12 04:08:01 +02: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
string will keep the trailing newlines. If you relied on the trailing
newline being stripped you can change your playbook like this:
2015-09-04 00:23:33 +02:00
2017-05-30 14:58:10 +02:00
```yaml
2015-09-12 04:08:01 +02:00
# Syntax in 1.9.2
vars:
message: >
Testing
some things
tasks:
- debug:
msg: "{{ message }}"
2015-10-02 16:14:17 +02:00
2015-09-12 04:08:01 +02:00
# Syntax in 2.0.x
vars:
old_message: >
Testing
some things
message: "{{ old_messsage[:-1] }}"
- debug:
msg: "{{ message }}"
# Output
"msg": "Testing some things"
```
2015-10-31 22:13:29 +01:00
2015-12-16 22:32:06 +01:00
* When specifying complex args as a variable, the variable must use the full jinja2
variable syntax ('{{var_name}}') - bare variable names there are no longer accepted.
In fact, even specifying args with variables has been deprecated, and will not be
allowed in future versions:
2017-05-30 14:58:10 +02:00
```yaml
2015-12-16 22:32:06 +01:00
---
- hosts: localhost
connection: local
gather_facts: false
vars:
my_dirs:
- { path: /tmp/3a, state: directory, mode: 0755 }
- { path: /tmp/3b, state: directory, mode: 0700 }
tasks:
- file:
args: "{{item}}"
with_items: my_dirs
```
2017-04-19 21:06:18 +02:00
### Plugins
2015-10-31 22:13:29 +01:00
2015-10-14 17:12:31 +02:00
* Rewritten dnf module that should be faster and less prone to encountering bugs in cornercases
2015-12-09 21:48:53 +01:00
* WinRM connection plugin passes all vars named `ansible_winrm_*` to the underlying pywinrm client. This allows, for instance, `ansible_winrm_server_cert_validation=ignore` to be used with newer versions of pywinrm to disable certificate validation on Python 2.7.9+.
2016-03-15 23:27:14 +01:00
* WinRM connection plugin put_file is significantly faster and no longer has file size limitations.
2015-09-02 22:15:29 +02:00
2017-04-19 21:06:18 +02:00
#### Deprecated Modules (new ones in parens):
2015-09-12 04:08:01 +02:00
* ec2_ami_search (ec2_ami_find)
* quantum_network (os_network)
* glance_image
* nova_compute (os_server)
* quantum_floating_ip (os_floating_ip)
2015-10-02 16:14:17 +02:00
* quantum_router (os_router)
* quantum_router_gateway (os_router)
* quantum_router_interface (os_router)
2015-04-16 21:42:55 +02:00
2017-04-19 21:06:18 +02:00
#### New Modules:
2015-09-12 04:08:01 +02:00
2016-03-12 01:37:43 +01:00
- amazon
* ec2_ami_copy
* ec2_ami_find
* ec2_elb_facts
* ec2_eni
* ec2_eni_facts
* ec2_remote_facts
* ec2_vpc_igw
* ec2_vpc_net
* ec2_vpc_net_facts
* ec2_vpc_route_table
* ec2_vpc_route_table_facts
* ec2_vpc_subnet
* ec2_vpc_subnet_facts
* ec2_win_password
* ecs_cluster
* ecs_task
* ecs_taskdefinition
* elasticache_subnet_group_facts
* iam
* iam_cert
* iam_policy
* route53_facts
* route53_health_check
* route53_zone
* s3_bucket
* s3_lifecycle
* s3_logging
* sns_topic
* sqs_queue
* sts_assume_role
- apk
- bigip_gtm_wide_ip
- bundler
- centurylink
* clc_aa_policy
* clc_alert_policy
* clc_blueprint_package
* clc_firewall_policy
* clc_group
* clc_loadbalancer
* clc_modify_server
* clc_publicip
* clc_server
* clc_server_snapshot
- circonus_annotation
- consul
* consul
* consul_acl
* consul_kv
* consul_session
- cloudtrail
- cloudstack
* cs_account
* cs_affinitygroup
* cs_domain
* cs_facts
* cs_firewall
* cs_iso
* cs_instance
* cs_instancegroup
* cs_ip_address
* cs_loadbalancer_rule
* cs_loadbalancer_rule_member
* cs_network
* cs_portforward
* cs_project
* cs_securitygroup
* cs_securitygroup_rule
* cs_sshkeypair
* cs_staticnat
* cs_template
* cs_user
* cs_vmsnapshot
- cronvar
- datadog_monitor
- deploy_helper
- docker
* docker_login
- dpkg_selections
- elasticsearch_plugin
- expect
- find
- google
* gce_tag
- hall
- ipify_facts
- iptables
- libvirt
* virt_net
* virt_pool
- maven_artifact
- openstack
* os_auth
* os_client_config
* os_image
* os_image_facts
* os_floating_ip
* os_ironic
* os_ironic_node
* os_keypair
* os_network
* os_network_facts
* os_nova_flavor
* os_object
* os_port
* os_project
* os_router
* os_security_group
* os_security_group_rule
* os_server
* os_server_actions
* os_server_facts
* os_server_volume
* os_subnet
* os_subnet_facts
* os_user
* os_user_group
* os_volume
- openvswitch_db
- osx_defaults
- pagerduty_alert
- pam_limits
- pear
- profitbricks
* profitbricks
* profitbricks_datacenter
* profitbricks_nic
* profitbricks_snapshot
* profitbricks_volume
* profitbricks_volume_attachments
- proxmox
* proxmox
* proxmox_template
- puppet
- pushover
- pushbullet
- rax
* rax_clb_ssl
* rax_mon_alarm
* rax_mon_check
* rax_mon_entity
* rax_mon_notification
* rax_mon_notification_plan
- rabbitmq
* rabbitmq_binding
* rabbitmq_exchange
* rabbitmq_queue
- selinux_permissive
- sendgrid
- sensu
* sensu_check
* sensu_subscription
- seport
- slackpkg
- solaris_zone
- taiga_issue
- vertica
* vertica_configuration
* vertica_facts
* vertica_role
* vertica_schema
* vertica_user
- vmware
* vca_fw
* vca_nat
* vmware_cluster
* vmware_datacenter
* vmware_dns_config
* vmware_dvs_host
* vmware_dvs_portgroup
* vmware_dvswitch
* vmware_host
* vmware_migrate_vmk
* vmware_portgroup
* vmware_target_canonical_facts
* vmware_vm_facts
* vmware_vm_vss_dvs_migrate
* vmware_vmkernel
* vmware_vmkernel_ip_config
* vmware_vsan_cluster
* vmware_vswitch
* vsphere_copy
- webfaction
* webfaction_app
* webfaction_db
* webfaction_domain
* webfaction_mailbox
* webfaction_site
- windows
* win_acl
* win_dotnet_ngen
* win_environment
* win_firewall_rule
* win_iis_virtualdirectory
* win_iis_webapplication
* win_iis_webapppool
* win_iis_webbinding
* win_iis_website
* win_lineinfile
* win_nssm
* win_package
* win_regedit
* win_scheduled_task
* win_unzip
* win_updates
* win_webpicmd
- xenserver_facts
- zabbbix
* zabbix_host
* zabbix_hostmacro
* zabbix_screen
- znode
2015-03-25 20:17:02 +01:00
2017-04-19 21:06:18 +02:00
#### New Inventory scripts:
2015-09-12 04:08:01 +02:00
* cloudstack
* fleetctl
* openvz
* nagios_ndo
2015-11-19 23:31:55 +01:00
* nsot
2015-09-12 04:08:01 +02:00
* proxmox
2015-11-13 17:12:53 +01:00
* rudder
2015-09-12 04:08:01 +02:00
* serf
2015-04-13 16:10:32 +02:00
2017-04-19 21:06:18 +02:00
#### New Lookups:
2015-09-12 04:08:01 +02:00
* credstash
* hashi_vault
* ini
* shelvefile
2015-08-07 05:30:36 +02:00
2017-04-19 21:06:18 +02:00
#### New Filters:
2015-09-12 04:08:01 +02:00
* combine
2015-08-28 07:33:40 +02:00
2017-04-19 21:06:18 +02:00
#### New Connection:
2015-09-12 04:08:01 +02:00
2015-10-31 22:13:29 +01:00
* docker: for talking to docker containers on the ansible controller machine without using ssh.
2015-08-25 23:59:22 +02:00
2017-04-19 21:06:18 +02:00
#### New Callbacks:
2015-11-16 20:29:52 +01:00
* logentries: plugin to send play data to logentries service
* skippy: same as default but does not display skip messages
2017-04-19 21:06:18 +02:00
### Minor changes:
2015-08-13 13:51:53 +02:00
2015-09-12 04:08:01 +02:00
* Many more tests. The 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 certificates).
* 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 minimum of 80 coluumns (old default).
2016-02-12 16:52:44 +01:00
* vars_prompt and pause are now skipped with a warning if the play is called noninteractively (i.e. pull from cron).
2015-09-12 04:08:01 +02:00
* Support for OpenBSD's 'doas' privilege escalation method.
* Most vault operations can now be done over multilple files.
2015-10-31 22:13:29 +01:00
* ansible-vault encrypt/decrypt read from stdin if no other input file is given, and can write to a given ``--output file`` (including stdout, '-').
This lets you avoid ever writing sensitive plaintext to disk.
2015-09-12 04:08:01 +02:00
* ansible-vault rekey accepts the --new-vault-password-file option.
2015-10-31 22:13:29 +01:00
* ansible-vault now preserves file permissions on edit and rekey and defaults to restrictive permissions for other options.
2015-09-12 04:08:01 +02:00
* Configuration items defined as paths (local only) now all support shell style interpolations.
* Many fixes and new options added to modules, too many to list here.
2015-10-07 18:47:35 +02:00
* Now you can see task file and line number when using verbosity of 3 or above.
2015-10-31 22:13:29 +01:00
* The ``[x-y]`` host range syntax is no longer supported. Note that ``[0:1]`` matches two hosts, i.e. the range is inclusive of its endpoints.
2016-02-12 16:52:44 +01:00
* We now recommend the use of `pattern1,pattern2` to combine host matching patterns.
2015-11-09 20:13:45 +01:00
* The use of ':' as a separator conflicts with IPv6 addresses and host ranges. It will be deprecated in the future.
* The undocumented use of ';' as a separator is now deprecated.
2015-10-31 22:13:29 +01:00
* modules and callbacks have been extended to support no_log to avoid data disclosure.
2016-02-12 16:52:44 +01:00
* new managed_syslog option has been added to control output to syslog on managed machines, no_log supersedes this settings.
2015-10-31 22:13:29 +01:00
* Lookup, vars and action plugin pathing has been normalized, all now follow the same sequence to find relative files.
2015-11-04 15:38:22 +01:00
* We do not ignore the explicitly set login user for ssh when it matches the 'current user' anymore, this allows overriding .ssh/config when it is set
2015-11-06 16:27:28 +01:00
explicitly. Leaving it unset will still use the same user and respect .ssh/config. This also means ansible_ssh_user can now return a None value.
2016-02-12 16:52:44 +01:00
* environment variables passed to remote shells now default to 'controller' settings, with fallback to en_US.UTF8 which was the previous default.
2015-12-18 19:57:58 +01:00
* add_hosts is much stricter about host name and will prevent invalid names from being added.
2015-12-13 18:18:28 +01:00
* ansible-pull now defaults to doing shallow checkouts with git, use `--full` to return to previous behaviour.
2015-12-18 18:14:03 +01:00
* random cows are more random
* when: now gets the registered var after the first iteration, making it possible to break out of item loops
2015-11-24 11:20:28 +01:00
* Handling of undefined variables has changed. In most places they will now raise an error instead of silently injecting an empty string. Use the default filter if you want to approximate the old behaviour:
2015-11-09 20:13:45 +01:00
2015-11-24 11:20:28 +01:00
```
2015-11-09 20:13:45 +01:00
- debug: msg="The error message was: {{error_code |default('') }}"
2015-11-24 11:20:28 +01:00
```
2015-08-13 13:51:53 +02:00
2016-04-26 18:35:41 +02:00
## 1.9.7 "Dancing in the Street" - TBD
* Fix for lxc_container backport which was broken because it tried to use a feature from ansible-2.x
## 1.9.6 "Dancing in the Street" - Apr 15, 2016
* Fix a regression in the loading of inventory variables where they were not
found when placed inside of an inventory directory.
* Fix lxc_container having predictable temp file names. Addresses CVE-2016-3096
## 1.9.5 "Dancing In the Street" - Mar 21, 2016
* Compatibility fix with docker 1.8.
* Fix a bug with the crypttab module omitting certain characters from the name of the device
* Fix bug with uri module not handling all binary files
* Fix bug with ini_file not removing options set to an empty string
* Fix bug with script and raw modules not honoring parameters passed via yaml dict syntax
* Fix bug with plugin loading finding the wrong modules because the suffix checking was not ordered
* Fix bug in the literal_eval module code used when we need python-2.4 compat
* Added --ignore-certs, -c option to ansible-galaxy. Allows ansible-galaxy to work behind a proxy
when the proxy fails to forward server certificates.
* Fixed bug where tasks marked no_log were showing hidden values in output if
ansible's --diff option was used.
* Fix bug with non-english locales in git and apt modules
* Compatibility fix for using state=absent with the pip ansible module and pip-6.1.0+
* Backported support for ansible_winrm_server_cert_validation flag to disable cert validation on Python 2.7.9+ (and support for other passthru args to pywinrm transport).
* Backported various updates to user module (prevent accidental OS X group membership removals, various checkmode fixes).
2015-10-10 04:39:45 +02:00
## 1.9.4 "Dancing In the Street" - Oct 9, 2015
* Fixes a bug where yum state=latest would error if there were no updates to install.
* Fixes a bug where yum state=latest did not work with wildcard package names.
* Fixes a bug in lineinfile relating to escape sequences.
* Fixes a bug where vars_prompt was not keeping passwords private by default.
* Fix ansible-galaxy and the hipchat callback plugin to check that the host it
is contacting matches its TLS Certificate.
## 1.9.3 "Dancing In the Street" - Sep 3, 2015
* Fixes a bug related to keyczar messing up encodings internally, resulting in decrypted
messages coming out as empty strings.
* AES Keys generated for use in accelerated mode are now 256-bit by default instead of 128.
* Fix url fetching for SNI with python-2.7.9 or greater. SNI does not work
with python < 2.7.9. The best workaround is probably to use the command
module with curl or wget.
* Fix url fetching to allow tls-1.1 and tls-1.2 if the system's openssl library
supports those protocols
* Fix ec2_ami_search module to check TLS Certificates
* Fix the following extras modules to check TLS Certificates:
* campfire
* layman
* librarto_annotate
* twilio
* typetalk
* Fix docker module's parsing of docker-py version for dev checkouts
* Fix docker module to work with docker server api 1.19
* Change yum module's state=latest feature to update all packages specified in
a single transaction. This is the same type of fix as was made for yum's
state=installed in 1.9.2 and both solves the same problems and with the same caveats.
* Fixed a bug where stdout from a module might be blank when there were were non-printable
ASCII characters contained within it
2015-07-07 23:55:17 +02: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 17:23:10 +02: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 20:17:02 +01:00
## 1.9 "Dancing In the Street" - Mar 25, 2015
2015-03-25 15:36:20 +01:00
2015-03-25 20:17:02 +01:00
Major changes:
* Added kerberos support to winrm connection plugin.
2015-03-25 15:36:20 +01:00
* Tags rehaul: added 'all', 'always', 'untagged' and 'tagged' special tags and normalized
2015-03-25 14:55:39 +01:00
tag resolution. Added tag information to --list-tasks and new --list-tags option.
2015-03-25 15:41:13 +01:00
* Privilege Escalation generalization, new 'Become' system and variables now will
2015-03-25 14:55:39 +01: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 16:08:52 +01: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 14:55:39 +01:00
* Overhaul of the checksum system, now supports more systems and more cases more reliably and uniformly.
2015-03-06 01:36:14 +01:00
* Fix skipped tasks to not display their parameters if no_log is specified.
2015-04-13 15:45:09 +02:00
* Many fixes to unicode support, standarized functions to make it easier to add to input/output boundaries.
2015-03-25 14:55:39 +01:00
* Added travis integration to github for basic tests, this should speed up ticket triage and merging.
2015-03-26 02:58:24 +01:00
* environment: directive now can also be applied to play and is inhertited by tasks, which can still override it.
2015-03-25 15:36:20 +01:00
* expanded facts and OS/distribution support for existing facts and improved performance with pypy.
2015-06-28 15:07:32 +02:00
* new 'wantlist' option to lookups allows for selecting a list typed variable vs a comma delimited string as the return.
2017-11-02 00:07:43 +01:00
* the shared module code for file backups now uses a timestamp resolution of seconds (previously minutes).
2015-03-25 15:36:20 +01: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 20:17:02 +01:00
New Modules:
2016-03-12 01:37:43 +01:00
* 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*
2015-03-25 20:17:02 +01:00
New Filters:
2015-03-27 02:00:52 +01:00
* ternary: allows for trueval/falseval assignment dependent on conditional
* cartesian: returns the Cartesian product of 2 lists
2015-03-25 20:17:02 +01: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.
2015-10-02 16:14:17 +02:00
2015-03-25 20:17:02 +01:00
* New callback plugins:
2015-03-25 14:55:39 +01:00
* syslog_json: allows logging play output to a syslog network server using json format
2015-10-02 16:14:17 +02:00
2015-03-25 20:17:02 +01: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 02:00:52 +01:00
* New parameter to set a container's domain name
2015-03-25 20:17:02 +01: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 02:00:52 +01:00
* reloaded restarts a container if ansible detects that the configuration is different than what is specified
2015-03-25 20:17:02 +01: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 15:36:42 +02:00
fail unless force is explicitly specified. Specifying force=yes will allow
2015-03-25 20:17:02 +01: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 15:36:20 +01:00
* vbox: virtualbox
* consul: use consul as an inventory source
2015-03-25 20:17:02 +01: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 02:58:24 +01:00
* authorized_keys has a new exclusive parameter that determines if keys that weren't specified in the task
2015-03-25 20:17:02 +01: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 14:55:39 +01:00
* Many documentation additions and fixes.
2015-02-23 23:20:33 +01: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 15:45:09 +02: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 23:20:33 +01: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 05:29:05 +01: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 23:49:45 +01:00
## 1.8 "You Really Got Me" - Nov 25, 2014
2014-08-06 23:48:06 +02:00
2014-09-11 18:26:54 +02:00
Major changes:
2014-08-09 02:52:56 +02:00
2014-08-11 19:53:50 +02: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 21:59:49 +02:00
* 'ansible vault view filename.yml' opens filename.yml decrypted in a pager.
2014-08-12 19:35:38 +02:00
* no_log parameter now surpressess data from callbacks/output as well as syslog
2014-08-21 23:17:21 +02:00
* ansible-galaxy install -f requirements.yml allows advanced options and installs from non-galaxy SCM sources and tarballs.
2014-08-22 22:12:32 +02: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-28 00:26:29 +02: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 18:26:54 +02: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 22:42:45 +02:00
* async jobs started in "fire & forget" mode can now be checked on at a later time.
2014-11-25 22:17:05 +01: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 02:52:56 +02:00
New Modules:
2016-03-12 01:37:43 +01:00
- cloud
* rax_cdb *-- manages Rackspace Cloud Database instances*
* rax_cdb_database *-- manages Rackspace Cloud Databases*
* rax_cdb_user *-- manages Rackspace Cloud Database users*
- monitoring
* bigpanda *-- support for bigpanda*
* zabbix_maintaince *-- handles outage windows with Zabbix*
- net_infrastructure
* a10_server *-- manages server objects on A10 devices*
* a10_service_group *-- manages service group objects on A10 devices*
* a10_virtual_server *-- manages virtual server objects on A10 devices*
- system
* getent *-- read getent databases*
2014-08-11 19:53:50 +02:00
Some other notable changes:
2014-09-16 22:26:10 +02:00
* added the ability to set "instance filters" in the ec2.ini to limit results from the inventory plugin.
2014-11-25 22:17:05 +01:00
* upgrades for various variable precedence items and parsing related items
2014-09-16 22:26:10 +02: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 18:26:54 +02:00
* if a module should ever traceback, it will return a standard error, catchable by ignore_errors, versus an 'unreachable'
2014-08-26 20:54:27 +02: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 06:47:41 +02:00
* support for symbolic representations (ie. u+rw) for file permission modes (file/copy/template modules etc.).
2014-08-11 19:53:50 +02: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 11:55:12 +02:00
* ec2: can set optimized flag
2014-08-11 19:53:50 +02:00
* various parser improvements
* produce a friendly error message if the SSH key is too permissive
2014-08-26 06:47:41 +02:00
* ec2_ami_search: support for SSD and IOPS provisioned EBS images
2014-09-30 21:05:03 +02:00
* can set ansible_sudo_exe as an inventory variable which allows specifying
a different sudo (or equivalent) command
2014-11-07 06:28:04 +01: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 18:10:19 +01: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 22:17:05 +01:00
* ansible-doc CLI tool contains various improvements for working with different terminals
2014-08-11 19:53:50 +02:00
And various other bug fixes and improvements ...
2014-08-09 02:52:56 +02:00
2014-08-06 23:48:06 +02:00
2014-09-24 22:53:36 +02: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 12:42:44 +01:00
- Fixed a bug where checkmode was not being honoured during the templating of files.
2014-09-24 22:53:36 +02: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 20:17:28 +02:00
## 1.7 "Summer Nights" - Aug 06, 2014
2014-05-05 23:45:04 +02:00
2014-06-20 04:22:48 +02:00
Major new features:
* Windows support (alpha) using native PowerShell remoting
2014-07-14 21:38:03 +02: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 04:22:48 +02:00
2014-06-15 18:08:39 +02:00
New inventory scripts:
* SoftLayer
* Windows Azure
2014-06-04 18:05:01 +02:00
New Modules:
2016-03-12 01:37:43 +01:00
- cloud
* azure
* rax_meta
* rax_scaling_group
* rax_scaling_policy
- windows
* *version of setup module*
* *version of slurp module*
* win_feature
* win_get_url
* win_group
* win_msi
* win_ping
* win_service
* win_user
2014-05-05 23:45:04 +02:00
2014-07-14 18:11:08 +02:00
Other notable changes:
2014-08-06 20:17:28 +02:00
* Security fixes
2015-01-03 12:42:44 +01:00
- Prevent the use of lookups when using legacy "{{ }}" syntax around variables and with_* loops.
2014-08-06 20:17:28 +02:00
- Remove relative paths in TAR-archived file names used by ansible-galaxy.
2014-07-14 18:11:08 +02: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 20:20:50 +02: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-23 00:26:15 +02: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 23:00:03 +02: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 04:59:48 +02: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 21:36:48 +02: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 21:36:48 +02: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 23:45:04 +02:00
## 1.6 "And the Cradle Will Rock" - May 5, 2014
2014-03-01 00:41:35 +01:00
Major features/changes:
* The deprecated legacy variable templating system has been finally removed. Use {{ foo }} always not $foo or ${foo}.
2014-03-07 03:42:01 +01: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 23:02:49 +01:00
* Added 'gathering' param for ansible.cfg to change the default gather_facts policy.
2014-03-23 20:44:38 +01: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 07:02:18 +02: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 21:49:52 +02:00
2014-03-03 19:41:12 +01:00
New Modules:
2014-03-01 00:41:35 +01:00
2016-03-12 01:37:43 +01:00
- files
* replace
- packaging
* apt_rpm
* composer *(PHP)*
* cpanm *(Perl)*
* homebrew_cask *(OS X)*
* homebrew_tap *(OS X)*
* layman
* portage
- monitoring
* librato_annotation
* logentries
* rollbar_deployment
- notification
* nexmo *(SMS)*
* slack *(Slack.com)*
* sns *(Amazon)*
* twilio *(SMS)*
* typetalk *(Typetalk.in)*
- system
* alternatives
* capabilities
* debconf
* locale_gen
* ufw
- net_infrastructure
* bigip_facts
* dnssimple
* lldp
- web_infrastructure
* apache2_module
- cloud
* digital_ocean_domain
2016-03-15 23:27:14 +01:00
* digital_ocean_sshkey
2016-03-12 01:37:43 +01:00
* ec2_asg *(configure autoscaling groups)*
* ec2_metric_alarm
* ec2_scaling_policy
* rax_identity
* rax_cbs *(cloud block storage)*
* rax_cbs_attachments
* vsphere_guest
2014-03-01 00:41:35 +01:00
Other notable changes:
2014-03-16 21:14:11 +01:00
* example callback plugin added for hipchat
2014-03-16 21:29:06 +01:00
* added example inventory plugin for vcenter/vsphere
2014-03-16 21:23:46 +01:00
* added example inventory plugin for doing really trivial inventory from SSH config files
2014-03-12 02:12:07 +01:00
* libvirt module now supports destroyed and paused as states
* s3 module can specify metadata
* security token additions to ec2 modules
2016-03-15 23:27:14 +01:00
* setup module code moved into module_utils/, facts now accessible by other modules
2014-03-31 19:02:55 +02:00
* synchronize module sets relative dirs based on inventory or role path
2014-03-12 02:12:07 +01:00
* misc bugfixes and other parameters
2014-04-02 05:16:40 +02:00
* the ec2_key module now has wait/wait_timeout parameters
2014-04-03 23:17:12 +02:00
* added version_compare filter (see docs)
* added ability for module documentation YAML to utilize shared module snippets for common args
2014-04-05 21:49:52 +02:00
* apt module now accepts "deb" parameter to install local dpkg files
* regex_replace filter plugin added
2014-04-23 23:07:33 +02:00
* added an inventory script for Docker
* added an inventory script for Abiquo
2014-04-23 20:44:36 +02: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 21:49:52 +02:00
* ... to be filled in from changelogs ...
2014-04-05 21:50:59 +02:00
2014-04-18 23:07:28 +02: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 21:50:59 +02: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 15:45:09 +02: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 21:14:11 +01:00
2014-03-13 22:31:19 +01: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 23:40:36 +01: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 21:17:07 +01:00
## 1.5 "Love Walks In" - February 28, 2014
2013-11-21 22:35:49 +01:00
2014-01-04 01:13:21 +01: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 19:22:28 +01: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 01:11:15 +01: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.
2016-03-15 23:27:14 +01:00
* git module has new parameters (accept_hostkey, key_file, ssh_opts) to ease the usage of git and ssh protocols.
2014-01-30 22:23:22 +01:00
* when using accelerate mode, the daemon will now be restarted when specifying a different remote_user between plays.
2014-01-31 23:09:10 +01:00
* added no_log: option for tasks. When used, no logging information will be sent to syslog during the module execution.
2014-02-06 00:44:24 +01:00
* acl module now handles 'default' and allows for either shorthand entry or specific fields per entry section
2014-02-06 06:01:39 +01:00
* play_hosts is a new magic variable to provide a list of hosts in scope for the current play.
2014-02-07 17:06:19 +01: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 21:32:04 +01: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-14 00:28:29 +01:00
* Start of new integration test infrastructure (WIP, more details TBD)
2015-04-13 15:45:09 +02:00
* if repoquery is unavailable, the yum module will automatically attempt to install yum-utils
2016-03-15 23:27:14 +01:00
* ansible-vault: a framework for encrypting your playbooks and variable files
2014-03-03 20:55:37 +01: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 01:13:21 +01:00
New modules:
2016-03-12 01:37:43 +01:00
- cloud
* docker_image
* ec2_elb_lb
* ec2_key
* ec2_snapshot
* rax_dns
* rax_dns_record
* rax_files
* rax_files_objects
* rax_keypair
* rax_queue
- messaging
* rabbitmq_policy
- system
* at
- utilities
* assert
2014-01-04 01:13:21 +01:00
2014-04-29 16:41:05 +02:00
Other notable changes (many new module params & bugfixes may not be listed):
2014-01-04 01:13:21 +01:00
2013-12-13 00:03:00 +01:00
* no_reboot is now defaulted to "no" in the ec2_ami module to ensure filesystem consistency in the resulting AMI.
2014-01-19 19:22:28 +01: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 18:06:02 +01: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 20:28:06 +01:00
* ansible_ssh_private_key_file can be templated
2014-02-28 16:07:42 +01:00
* docker module updated to support docker-py 0.3.0
2014-01-19 19:22:28 +01:00
* various other bug fixes
2014-02-28 20:52:14 +01: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 02:48:33 +01:00
2014-02-12 22:45:46 +01: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-08 00:04:15 +01: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 20:13:48 +01: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 14:59:28 +01:00
## 1.4.2 "Could This Be Magic" - December 18, 2013
2013-12-19 02:48:33 +01:00
2013-12-19 14:59:28 +01: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-13 00:03:00 +01:00
2013-12-03 21:10:13 +01:00
## 1.4.1 "Could This Be Magic" - November 27, 2013
2013-11-28 00:41:07 +01:00
* Misc fixes to accelerate mode and various modules.
2013-12-03 21:10:13 +01:00
## 1.4 "Could This Be Magic" - November 21, 2013
2013-09-13 23:26:14 +02:00
Highlighted new features:
2013-09-25 22:50:24 +02: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 16:57:11 +02: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 16:23:44 +02:00
* Added the "subelement" lookup plugin, which allows iteration of the keys of a dictionary or items in a list.
2014-04-29 16:41:05 +02:00
* Added the capability to use either paramiko or ssh for the initial setup connection of an accelerated playbook.
2013-10-06 16:23:44 +02:00
* Automatically provide advice on common parser errors users encounter.
2013-10-12 16:44:35 +02: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 16:57:11 +02:00
* Includes with parameters can now be done like roles for consistency: - { include: song.yml, year:1984, song:'jump' }
2013-10-12 16:44:35 +02:00
* The name of each role is now shown before each task if roles are being used
2013-10-15 03:01:38 +02: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 21:17:09 +01:00
* Variables in {{ format }} can be used as references even if they are structured data
2013-11-18 23:59:40 +01:00
* Can force binding of accelerate to ipv6 ports.
2013-11-19 00:28:21 +01: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 23:59:40 +01:00
2013-11-19 00:28:21 +01:00
New modules and plugins.
2013-09-13 23:26:14 +02:00
2016-03-12 01:37:43 +01:00
- cloud
* docker *- instantiates/removes/manages docker containers*
* ec2_eip *-- manage AWS elastic IPs*
* ec2_vpc *-- manage ec2 virtual private clouds*
* elasticcache *-- Manages clusters in Amazon Elasticache*
* ovirt *-- VM lifecycle controls for ovirt*
* rax_network *-- sets up Rackspace networks*
* rax_facts *-- retrieve facts about a Rackspace Cloud Server*
* rax_clb_nodes *-- manage Rackspace cloud load balanced nodes*
* rax_clb *-- manages Rackspace cloud load balancers*
- files
* acl *-- set or get acls on a file*
2016-12-11 03:50:09 +01:00
* synchronize *-- a useful wrapper around rsyncing trees of files*
2016-03-12 01:37:43 +01:00
* unarchive *-- pushes and extracts tarballs*
- system
* blacklist *-- add or remove modules from the kernel blacklist*
* firewalld *-- manage the firewalld configuration*
* hostname *-- sets the systems hostname*
* modprobe *-- manage kernel modules on systems that support modprobe/rmmod*
* open_iscsi *-- manage targets on an initiator using open-iscsi*
- utilities
* include_vars *-- dynamically load variables based on conditions.*
- packaging
* swdepot *-- a module for working with swdepot*
* urpmi *-- work with urpmi packages*
* zypper_repository *-- adds or removes Zypper repositories*
- notification
* grove *-- notifies to Grove hosted IRC channels*
- web_infrastructure
* ejabberd_user *-- add and remove users to ejabberd*
* jboss *-- deploys or undeploys apps to jboss*
- source_control
* github_hooks *-- manages GitHub service hooks*
- net_infrastructure
* bigip_monitor_http *-- manages F5 BIG-IP LTM http monitors*
* bigip_monitor_tcp *-- manages F5 BIG-IP LTM TCP monitors*
* bigip_node *-- manages F5 BIG-IP LTM nodes*
* bigip_pool_member *-- manages F5 BIG-IP LTM pool members*
* openvswitch_port
* openvswitch_bridge
2013-09-13 23:26:14 +02:00
2013-10-12 16:44:35 +02:00
Plugins:
* jail connection module (FreeBSD)
* lxc connection module
2016-03-15 23:27:14 +01:00
* added inventory script for listing FreeBSD jails
2013-10-12 16:44:35 +02:00
* 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-19 00:28:21 +01: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 16:44:35 +02:00
2013-11-19 00:30:05 +01:00
Misc changes (all module additions/fixes may not listed):
2013-09-13 23:26:14 +02:00
2013-10-02 04:37:29 +02:00
* (docs pending) New features for accelerate mode: configurable timeouts and a keepalives for long running tasks.
2013-09-23 22:29:13 +02:00
* Added a `delimiter` field to the assemble module.
2013-09-23 21:17:40 +02: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 15:12:43 +02:00
* Added a -vvvv level, which will show SSH client debugging information in the event of a failure.
2016-03-15 23:27:14 +01:00
* Includes now support the more standard syntax, similar to that of role includes and dependencies.
2013-09-16 16:53:56 +02: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 16:41:05 +02: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 21:06:15 +02: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-19 00:28:21 +01:00
* There is now a way for a callback plugin to disable itself. See osx_say example code for an example.
2013-10-12 16:44:35 +02:00
* Many bugfixes to modules of all types.
* Complex arguments now can be used with async tasks
2013-11-19 00:28:21 +01: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 16:44:35 +02: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 18:52:25 +02: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 23:59:40 +01: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-19 00:28:21 +01: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 23:26:14 +02:00
2013-12-03 21:10:13 +01:00
## 1.3.4 "Top of the World" (reprise) - October 29, 2013
2013-10-29 22:07:52 +01:00
2013-10-30 13:25:17 +01: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 22:07:52 +01:00
2013-12-03 21:10:13 +01:00
## 1.3.3 "Top of the World" (reprise) - October 9, 2013
2013-10-09 14:43:43 +02:00
Additional fixes for accelerate mode.
2013-12-03 21:10:13 +01:00
## 1.3.2 "Top of the World" (reprise) - September 19th, 2013
2013-10-09 14:41:46 +02:00
Multiple accelerate mode fixes:
2013-10-30 13:25:17 +01: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 19:13:31 +02:00
2013-12-03 21:10:13 +01:00
## 1.3.1 "Top of the World" (reprise) - September 16th, 2013
2013-10-09 14:41:46 +02: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 21:10:13 +01:00
## 1.3 "Top of the World" - September 13th, 2013
2013-06-10 21:34:52 +02:00
2013-08-03 20:50:58 +02:00
Highlighted new features:
2013-06-19 02:28:46 +02:00
2013-09-04 11:49:46 +02: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 03:09:23 +02: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 04:26:03 +02:00
* --extra-vars can now take a file as input, e.g., "-e @filename " and can also be formatted as YAML
2013-08-11 06:54:05 +02: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 03:09:23 +02: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 22:19:34 +02: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 02:28:46 +02:00
New modules:
2016-03-12 01:37:43 +01:00
- notifications
* datadog_event *-- send data to datadog*
- cloud
* digital_ocean *-- module for DigitalOcean provisioning that also includes inventory support*
* rds *-- Amazon Relational Database Service*
* linode *-- modules for Linode provisioning that also includes inventory support*
* route53 *-- manage Amazon DNS entries*
* ec2_ami *-- manages (and creates!) ec2 AMIs*
- database
* mysql_replication *-- manages mysql replication settings for masters/slaves*
* mysql_variables *-- manages mysql runtime variables*
* redis *-- manages redis databases (slave mode and flushing data)*
- net_infrastructure
* arista_interface
* arista_l2interface
* arista_lag
* arista_vlan
* dnsmadeeasy *-- manipulate DNS Made Easy records*
- system
* stat *-- reports on stat(istics) of remote files, for use with 'register'*
- web_infrastructure
* htpasswd *-- manipulate htpasswd files*
- packaging
* apt_repository *-- rewritten to remove dependencies*
* rpm_key *-- adds or removes RPM signing keys*
- monitoring
* boundary_meter *-- adds or removes boundary.com meters*
- files
* xattr *-- manages extended attributes on files*
2013-06-19 02:28:46 +02:00
Misc changes:
2013-08-23 05:08:05 +02:00
* return 3 when there are hosts that were unreachable during a run
2013-08-23 04:26:03 +02: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 02:28:46 +02: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 03:09:23 +02:00
* new sha256sum parameter added to get_url module for checksum validation
2013-06-19 02:28:46 +02: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 03:09:23 +02:00
* user password update mode is controllable in user module now (at creation vs. every time)
2013-06-19 02:28:46 +02: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 03:09:23 +02: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 03:58:38 +02:00
* fixes to apt module purging option behavior
* fixes for device facts with multiple PCI domains
2013-08-22 03:09:23 +02: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 04:10:01 +02:00
* ec2 module supports adding to multiple security groups
2013-08-22 03:09:23 +02:00
* cloudformation module includes fixes for the error path, and the 'wait_for' parameter was removed
2013-07-01 00:46:23 +02: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 03:09:23 +02:00
* explanatory error message when using fireball with sudo has been improved
2013-07-01 01:51:23 +02:00
* git module now automatically pulls down git submodules
2013-08-22 03:09:23 +02:00
* negated patterns do not require "all:!foo", you can just say "!foo" now to select all not foos
2013-07-01 01:51:23 +02:00
* fix for Debian services always reporting changed when toggling enablement bit
2013-08-22 03:09:23 +02:00
* roles files now tolerate files named 'main.yaml' and 'main' in addition to main.yml
2013-07-01 01:55:00 +02:00
* some help cleanup to command line flags on scripts
2013-08-22 03:09:23 +02:00
* force option reinstated for file module so it can create symlinks to non-existent files, etc.
2013-07-01 01:55:00 +02: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-21 00:48:04 +02: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 03:09:23 +02:00
* various additional options added to supervisorctl module
2013-07-21 00:48:04 +02:00
* only add non unique parameter on group creation when required
2013-08-22 03:09:23 +02:00
* allow rabbitmq_plugin to specify a non-standard RabbitMQ path
* authentication fixes to keystone_user module
2013-07-21 00:48:04 +02: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 09:10:23 +02:00
* new lookup plugin, "with_flattened"
2013-07-21 00:48:04 +02: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 03:09:23 +02:00
* require libselinux-python to perform file operations if SELinux is operational
2013-07-21 00:48:04 +02: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 14:52:00 +02:00
* fix for saving conditionals in variable names
2013-08-22 03:09:23 +02:00
* support for multiple host ranges in INI inventory, e.g., db[01:10:3]node-[01:10]
2013-07-21 16:12:28 +02:00
* fixes/improvements to cron module
2013-07-21 17:12:30 +02:00
* add user_install=no option to gem module to install gems system wide
2013-07-22 21:17:28 +02:00
* added raw=yes to allow copying without python on remote machines
2013-08-03 20:50:58 +02: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 03:09:23 +02:00
* ec2 module change reporting improved
2013-08-03 20:50:58 +02:00
* hg module now expands user paths (~)
2013-08-22 03:09:23 +02:00
* SSH connection type known host checking now can process hashed known_host files
2013-08-03 20:50:58 +02:00
* lvg module now checks for executables in more correct locations
2013-08-22 03:09:23 +02:00
* copy module now works correctly with sudo_user
2013-08-03 20:50:58 +02:00
* region parameter added to ec2_elb module
2013-08-22 03:09:23 +02:00
* better default XMPP module message types
* fixed conditional tests against raw booleans
2013-08-03 20:50:58 +02:00
* mysql module grant removal is now smarter
2013-08-06 23:30:09 +02: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 22:26:12 +02:00
* added new example inventory plugin for Red Hat OpenShift
2013-08-22 03:09:23 +02:00
* and other misc. bugfixes
2013-06-10 21:34:52 +02:00
2013-12-03 21:10:13 +01:00
## 1.2.3 "Hear About It Later" (reprise) -- Aug 21, 2013
2013-08-22 04:50:52 +02: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 21:10:13 +01:00
## 1.2.2 "Hear About It Later" (reprise) -- July 4, 2013
2013-07-06 03:48:02 +02: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 21:10:13 +01:00
## 1.2.1 "Hear About It Later" -- July 4, 2013
2013-07-05 04:02:10 +02: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 21:10:13 +01:00
## 1.2 "Right Now" -- June 10, 2013
2013-04-03 02:47:57 +02:00
2013-04-05 19:59:10 +02:00
Core Features:
2013-04-05 19:14:58 +02: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 21:15:51 +02: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-20 01:56:59 +02:00
* can set ansible_ssh_private_key_file as an inventory variable (similar to ansible_ssh_host, etc)
2013-04-07 01:02:41 +02: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 18:39:00 +02: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-21 00:21:03 +02:00
* roles allow easy arrangement of reusable tasks/handlers/files/templates
2013-04-21 21:33:51 +02:00
* pre_tasks and post_tasks allow for separating tasks into blocks where handlers will fire around them automatically
2013-04-21 00:21:03 +02: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 16:25:24 +02: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 05:19:59 +02: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 22:08:29 +02: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 17:47:19 +02:00
* group_vars/ and host_vars/ directories can now be kept alongside the playbook as well as inventory (or both!)
2013-06-01 23:38:12 +02: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-02 00:34:27 +02:00
* lookup plugins now use the basedir of the file they have included from, avoiding needs of ../../../ in places and
2013-07-21 00:48:04 +02:00
increasing the ease at which things can be reorganized.
2013-04-05 19:59:10 +02:00
2013-04-28 16:16:21 +02:00
Modules added:
2013-04-05 19:59:10 +02:00
2016-03-12 01:37:43 +01:00
- cloud
* rax *-- module for creating instances in the rackspace cloud (uses pyrax)*
- packages
* npm *-- node.js package management*
* pkgng *-- next-gen package manager for FreeBSD*
* redhat_subscription *-- manage Red Hat subscription usage*
* rhn_register *-- basic RHN registration*
* zypper *(SuSE)*
- database
* postgresql_priv *-- manages postgresql privileges*
- networking
* bigip_pool *-- load balancing with F5s*
* ec2_elb *-- add and remove machines from ec2 elastic load balancers*
- notification
* hipchat *-- send notification events to hipchat*
* flowdock *-- send messages to flowdock during playbook runs*
* campfire *-- send messages to campfire during playbook runs*
* mqtt *-- send messages to the Mosquitto message bus*
* irc *-- send messages to IRC channels*
* filesystem *-- a wrapper around mkfs*
* jabber *-- send jabber chat messages*
* osx_say *-- make OS X say things out loud*
- openstack
* glance_image
* nova_compute
* nova_keypair
* keystone_user
* quantum_floating_ip
* quantum_floating_ip_associate
* quantum_network
* quantum_router
* quantum_router_gateway
* quantum_router_interface
* quantum_subnet
- monitoring
* airbrake_deployment *-- notify airbrake of new deployments*
* monit
* newrelic_deployment *-- notifies newrelic of new deployments*
* pagerduty
* pingdom
- utility
* set_fact *-- sets a variable, which can be the result of a template evaluation*
2013-04-23 06:43:55 +02: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 19:59:10 +02: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 21:30:36 +02:00
* overwrite parameter added to the s3 module
* private_ip parameter added to the ec2 module
2013-04-07 01:03:12 +02:00
* $FILE and $PIPE now tolerate unicode
2013-04-21 00:21:03 +02:00
* various plugin loading operations have been made more efficient
2014-04-29 16:41:05 +02:00
* hostname now uses platform.node versus socket.gethostname to be more consistent with Unix 'hostname'
2013-04-21 00:21:03 +02: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 15:45:09 +02:00
* libvirt module can now work with multiple different libvirt connection URIs
2013-04-21 00:21:03 +02:00
* fix for postgresql password escaping
* unicode fix for shlex.split in some cases
2013-04-23 06:43:55 +02: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 16:45:51 +02: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 16:16:21 +02: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 19:52:38 +02: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 21:15:51 +02: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 16:41:05 +02: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 05:19:59 +02: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 12:42:44 +01:00
* pip works better when sudoing from unprivileged users
2013-05-25 05:19:59 +02:00
* fix for user creation with groups specification reporting 'changed' incorrectly in some cases
2017-06-12 08:55:19 +02:00
* fix for some unicode encoding errors in outputting some data in verbose mode
2013-05-30 01:05:14 +02:00
* improved FreeBSD, NetBSD and Solaris facts
2013-05-30 01:01:01 +02:00
* debug module always outputs data without having to specify -v
2013-06-02 00:34:27 +02:00
* fix for sysctl module creating new keys (must specify checks=none)
2013-06-03 17:53:58 +02:00
* NetBSD and OpenBSD support for the user and groups modules
2013-06-07 00:04:38 +02:00
* Add encrypted password support to password lookup
2013-04-03 02:47:57 +02:00
2013-12-03 21:10:13 +01:00
## 1.1 "Mean Street" -- 4/2/2013
2013-02-02 03:38:21 +01:00
2013-02-23 19:57:54 +01:00
Core Features
2013-02-08 05:07:19 +01:00
* added --check option for "dry run" mode
2013-02-27 03:03:25 +01:00
* added --diff option to show how templates or copied files change, or might change
2013-02-23 19:57:54 +01: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-07 01:02:41 +02:00
* module common code now has basic type checking (and casting) capability
2013-02-27 03:03:25 +01:00
* module common now supports a 'no_log' attribute to mark a field as not to be syslogged
2013-03-02 06:01:43 +01: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 05:50:00 +01:00
* added configurable crypt scheme for 'vars_prompt'
* password generating lookup plugin -- $PASSWORD(path/to/save/data/in)
2013-03-17 16:39:57 +01:00
* added --step option to ansible-playbook, works just like Linux interactive startup!
2013-02-23 19:57:54 +01:00
Modules Added:
2016-03-12 01:37:43 +01:00
* bzr *(bazaar version control)*
2013-03-26 03:40:47 +01:00
* cloudformation
* django-manage
2016-03-12 01:37:43 +01:00
* gem *(ruby gems)*
2013-03-17 16:39:57 +01:00
* homebrew
2016-03-12 01:37:43 +01:00
* lvg *(logical volume groups)*
* lvol *(LVM logical volumes)*
2013-03-26 03:40:47 +01:00
* macports
* mongodb_user
2013-03-18 05:50:00 +01:00
* netscaler
2013-03-26 03:40:47 +01:00
* okg
* openbsd_pkg
2016-03-12 01:37:43 +01:00
* rabbit_mq_parameter
2013-03-26 03:40:47 +01:00
* rabbit_mq_plugin
* rabbit_mq_user
* rabbit_mq_vhost
* rhn_channel
2016-03-12 01:37:43 +01:00
* 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*
2013-03-26 03:40:47 +01:00
* zfs
2013-02-23 19:57:54 +01:00
Bugfixes and Misc Changes:
2013-02-08 05:07:19 +01:00
* stderr shown when commands fail to parse
* uses yaml.safe_dump in filter plugins
2013-02-23 19:57:54 +01:00
* authentication Q& A no longer happens before --syntax-check, but after
2013-02-08 05:07:19 +01: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 06:01:43 +01:00
* better error message when your host file can not be found
2013-02-23 19:57:54 +01: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 06:01:43 +01: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 15:14:53 +02:00
* 'magic' variable 'inventory_dir' now gives path to inventory file
2013-03-26 03:40:47 +01: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 03:56:32 +01: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 19:57:54 +01:00
Facts:
2013-02-09 20:50:47 +01:00
* block device facts for the setup module
2013-02-16 19:48:31 +01:00
* facts for AIX
* fact detection for OS type on Amazon Linux
2013-02-23 19:57:54 +01:00
* device fact gathering stability improvements
* ansible_os_family fact added
2013-03-02 06:01:43 +01:00
* user_id (remote user name)
* a whole series of current time information under the 'datetime' hash
2013-03-18 05:50:00 +01:00
* more OS X facts
* support for detecting Alpine Linux
2013-03-17 16:39:57 +01:00
* added facts for OpenBSD
2013-02-23 19:57:54 +01:00
Module Changes/Fixes:
2013-02-27 03:03:25 +01: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 19:57:54 +01: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 19:48:31 +01: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 19:57:54 +01:00
* able to specify a different hg repo to pull from than the original set
2013-02-17 17:22:50 +01: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 19:46:18 +01: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 19:57:54 +01:00
* setup module can take a 'filter=< wildcard > ' parameter to just return a few facts (not used by playbooks)
2013-02-23 19:46:18 +01: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 03:03:25 +01:00
* SVN module now works correctly with self signed certs
2013-03-02 06:01:43 +01:00
* apt module now has an upgrade parameter (values=yes, no, or 'dist')
2013-03-18 05:50:00 +01: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 21:33:51 +02: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 05:50:00 +01:00
* allow regex backreferences in lineinfile
2013-03-17 16:39:57 +01: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 03:40:47 +01: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 19:57:54 +01:00
Plugins:
* added 'with_random_choice' filter plugin
* fixed ~ expansion for fileglob
2013-03-17 16:39:57 +01:00
* with_nested allows for nested loops (see examples in examples/playbooks)
2013-02-02 03:38:21 +01:00
2013-12-03 21:10:13 +01:00
## 1.0 "Eruption" -- Feb 1 2013
2013-01-20 17:30:24 +01:00
2013-01-26 19:30:38 +01:00
New modules:
2016-03-12 01:37:43 +01:00
* apt_key
* ec2_facts
* hg *(now in core)*
* pacman *(Arch linux)*
* pkgin *(Joyent SmartOS)*
* sysctl
2013-01-26 19:30:38 +01:00
New config settings:
2013-01-28 17:41:43 +01: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 19:30:38 +01:00
New playbook/language features:
2013-01-28 17:41:43 +01:00
* added when_failed and when_changed
2013-01-26 19:30:38 +01:00
* task includes can now be of infinite depth
2013-01-20 17:30:24 +01:00
* when_set and when_unset can take more than one var (when_set: $a and $b and $c)
2013-01-26 19:30:38 +01:00
* added the with_sequence lookup plugin
2015-04-13 15:45:09 +02:00
* can override "connection:" on an individual task
2013-01-26 19:30:38 +01: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 03:27:00 +01:00
* --extra-vars now has maximum precedence (as intended)
2013-01-26 19:30:38 +01:00
Module fixes and new flags:
* ability to use raw module without python on remote system
2013-01-20 17:30:24 +01: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 19:30:38 +01:00
* various fixes to git module
2013-01-20 17:30:24 +01: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 19:07:06 +01: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 19:30:38 +01:00
* fix to enable Jinja2 {% include %} to work again in template
2013-01-26 19:07:06 +01:00
* ec2 module is now powered by Boto
* setup module can now detect if package manager is using pacman
2013-02-02 03:27:00 +01:00
* fix for yum module with enablerepo in use on EL 6
2013-01-26 19:07:06 +01:00
2013-01-26 19:30:38 +01:00
Core fixes and new behaviors:
2012-12-01 04:27:06 +01:00
2013-01-26 19:30:38 +01: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 19:32:55 +01:00
* environment variables now available for setting all plugin paths (ANSIBLE_CALLBACK_PLUGINS, etc)
2013-02-02 03:27:00 +01: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 19:30:38 +01: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 04:27:06 +01:00
2013-12-03 21:10:13 +01:00
## 0.9 "Dreams" -- Nov 30 2012
2012-10-20 03:01:57 +02:00
2012-11-11 17:55:28 +01:00
Highlighted core changes:
2012-10-21 05:07:49 +02:00
* various performance tweaks, ansible executes dramatically less SSH ops per unit of work
2012-10-26 05:05:31 +02: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 17:55:28 +01: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 20:22:34 +01:00
* native ssh connection type (-c ssh) now supports passwords as well as keys
2012-12-01 04:27:06 +01:00
* ansible-doc program to show details
2012-11-11 17:55:28 +01:00
Other core changes:
* fix for template calls when last character is '$'
2012-11-19 20:22:34 +01:00
* if ansible_python_interpreter is set on a delegated host, it now works as intended
2013-03-06 19:41:19 +01:00
* --limit can now take "," as separator as well as ";" or ":"
2012-11-11 17:55:28 +01:00
* msg is now displaced with newlines when a task fails
2012-11-19 20:22:34 +01: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 17:55:28 +01: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 20:22:34 +01:00
* configured remote temp file location is now always used even for root
2012-11-19 20:18:55 +01: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 17:55:28 +01:00
Playbook changes:
* relative paths now work for 'first_available_file'
* various templating engine fixes
2012-11-11 17:59:38 +01:00
* 'when' is an easier form of only if
2012-11-19 20:18:55 +01: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 17:55:28 +01: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 20:22:34 +01:00
Module changes:
2012-11-11 17:55:28 +01:00
* (authorized key) module uses temp file now to prevent failure on full disk
2012-11-19 20:18:55 +01: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 17:55:28 +01:00
* (get_url) thirsty is no longer required for directory destinations
* (git) various git module improvements/tweaks
2012-11-19 20:18:55 +01:00
* (group) now subclassed for various platforms, includes SunOS support
2012-11-11 17:55:28 +01:00
* (lineinfile) create= option on lineinfile can create the file when it does not exist
2012-11-19 20:22:34 +01:00
* (mysql_db) module takes new grant options
2012-11-11 17:55:28 +01: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 20:18:55 +01:00
* (service) possible to pass additional arguments to services
2012-11-11 17:55:28 +01: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-04 00:35:54 +01:00
* EC2 inventory script now produces nicer failure message if AWS is down (or similar)
* plugin loading code now more streamlined
2012-11-11 17:43:31 +01:00
* lookup plugins for DNS text records, environment variables, and redis
2012-11-19 20:27:23 +01:00
* added a template lookup plugin $TEMPLATE('filename.j2')
2013-04-07 01:02:41 +02:00
* various tweaks to the EC2 inventory plugin
2012-11-11 17:43:31 +01: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 03:01:57 +02:00
2013-12-03 21:10:13 +01:00
## 0.8 "Cathedral" -- Oct 19, 2012
2012-09-07 00:56:38 +02:00
2012-10-09 01:20:55 +02:00
Highlighted Core Changes:
2012-10-01 03:33:38 +02:00
2012-10-09 01:20:55 +02: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 03:33:38 +02:00
* server side action code (template, etc) are now fully pluggable
2012-10-13 02:07:05 +02:00
* ability to write lookup plugins, like the code powering "with_fileglob" (see below)
2012-10-09 01:20:55 +02:00
Other Core Changes:
2013-06-13 23:09:22 +02: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 03:33:38 +02: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-09 01:20:55 +02: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 22:40:11 +01:00
* you can set ANSIBLE_FORCE_COLOR=1 to force color mode even when running without a TTY
2012-10-09 01:20:55 +02: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 02:21:27 +02:00
* delegate_action to localhost (aka local_action) will always use the local connection type
2012-10-01 03:33:38 +02:00
2012-10-09 01:20:55 +02:00
Highlighted playbook changes:
2012-09-12 00:08:57 +02:00
2012-10-09 01:20:55 +02: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-12 00:08:57 +02:00
* playbooks can import playbooks in other directories and then be able to import tasks relative to them
2012-09-19 03:29:00 +02: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-09 01:20:55 +02: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 23:31:13 +02: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 02:07:05 +02:00
* ability to use with_fileglob to iterate over local file patterns
2012-10-19 02:21:27 +02: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-09 01:20:55 +02: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 03:29:00 +02:00
* when local_action is used the transport is automatically overridden to the local type
2012-09-26 02:50:21 +02: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 03:33:38 +02: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-09 01:20:55 +02: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)
2017-06-12 08:55:19 +02:00
* debug module can be used for outputting messages without using 'shell echo'
2012-10-09 01:20:55 +02:00
* 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 03:33:38 +02: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 02:50:21 +02: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 03:48:38 +02:00
* ignore stop error code failure for service module with state=restarted, always try to start
2012-10-01 03:33:38 +02:00
* inline documentation for modules allows documentation source to built without pull requests to the ansible-docs project, among other things
2012-10-09 01:20:55 +02: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 23:38:31 +02:00
* mysql module can do dumps and imports
2012-10-20 02:45:06 +02: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 02:58:23 +02:00
2013-12-03 21:10:13 +01:00
## 0.7 "Panama" -- Sept 6 2012
2012-08-19 02:30:57 +02:00
Module changes:
2012-08-07 01:55:27 +02:00
2012-08-07 03:46:47 +02:00
* login_unix_socket option for mysql user and database modules (see PR #781 for doc notes)
2012-08-09 02:27:33 +02: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 02:43:01 +02:00
* nicer errors from modules when arguments are not key=value
2012-09-05 02:38:06 +02:00
* backup option on copy (backup=yes), as well as template, assemble, and lineinfile
2012-08-10 06:39:19 +02: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 02:30:57 +02: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 16:41:05 +02: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 02:30:57 +02:00
* various fixes to mysql & postresql modules
2012-08-21 00:39:37 +02: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-31 01:21:08 +02: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 02:30:57 +02: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-31 01:21:08 +02:00
* don not pass "--" to sudo to work on older EL5
2012-08-10 06:39:19 +02:00
* make remote_md5 internal function work with non-bash shells
* allow user to be passed in via --extra-vars (regression)
2012-08-10 08:45:29 +02:00
* add --limit option, which can be used to further confine the pattern given in ansible-playbooks
2012-08-11 19:49:18 +02:00
* adds ranged patterns like dbservers[0-49] for usage with patterns or --limit
2012-08-11 23:34:26 +02:00
* -u and user: defaults to current user, rather than root, override as before
2012-08-14 01:17:41 +02:00
* /etc/ansible/ansible.cfg and ~/ansible.cfg now available to set default values and other things
2012-08-19 02:30:57 +02:00
* (developers) ANSIBLE_KEEP_REMOTE_FILES=1 can be used in debugging (envrionment variable)
* (developers) connection types are now plugins
2012-08-31 01:21:08 +02: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 02:30:57 +02:00
Playbooks:
* YAML syntax errors detected and show where the problem is
2012-08-31 01:21:08 +02:00
* if you ctrl+c a playbook it will not traceback (usually)
2012-08-19 02:30:57 +02: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 03:34:55 +02:00
* --list-hosts to show what hosts are included in each play of a playbook
2012-08-19 02:30:57 +02:00
* fix a variable ordering issue that could affect vars_files with selective file source lists
2012-08-18 14:46:51 +02: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 15:52:13 +02: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-31 01:21:08 +02:00
* adds 'local_action: < action parameters > ' as an alias to 'delegate_to: 127.0.0.1'
2012-08-07 03:46:47 +02:00
2013-12-03 21:10:13 +01:00
## 0.6 "Cabo" -- August 6, 2012
2012-07-04 20:03:59 +02:00
2012-08-01 03:00:55 +02:00
playbooks:
2012-08-07 03:00:21 +02:00
* support to tag tasks and includes and use --tags in playbook CLI
2012-08-01 03:00:55 +02: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 11:56:53 +01:00
* at the top level of a playbook, set 'gather_facts: no' to skip fact gathering
2012-08-01 03:00:55 +02: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 11:56:53 +01:00
* ignore_errors: yes on a task can be used to allow a task to fail and not stop the play
2012-08-02 04:35:07 +02:00
* with_items with the apt/yum module will install/remove/update everything in a single command
2012-08-01 03:00:55 +02:00
inventory:
2012-07-12 07:09:10 +02:00
* groups variable available as a hash to return the hosts in each group name
2012-08-01 03:00:55 +02: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 06:21:36 +02:00
* support ranges of hosts in the host file, like www[001-100].example.com (supports leading zeros and also not)
2012-08-01 03:00:55 +02:00
modules:
2012-07-07 14:47:13 +02:00
* fetch module now does not fail a system when requesting file paths (ex: logs) that don't exist
2012-07-07 14:49:15 +02:00
* apt module now takes an optional install-recommends=yes|no (default yes)
* fixes to the return codes of the copy module
2012-07-07 15:11:24 +02:00
* copy module takes a remote md5sum to avoid large file transfer
2012-07-12 02:50:43 +02: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 07:09:10 +02:00
* fetch module fixes for SSH connection type
2012-08-01 03:00:55 +02:00
* modules now consistently all take yes/no for boolean parameters (and DWIM on true/false/1/0/y/n/etc)
2012-07-14 17:59:12 +02:00
* setup module no longer saves to disk, template module now only used in playbooks
2012-07-14 18:24:19 +02:00
* setup module no longer needs to run twice per playbook
2012-07-17 02:19:52 +02:00
* apt module now passes DEBIAN_FRONTEND=noninteractive
2012-08-01 03:00:55 +02:00
* mount module (manages active mounts + fstab)
2012-07-20 16:13:26 +02:00
* setup module fixes if no ipv6 support
2012-07-24 01:34:18 +02:00
* internals: template in common module boilerplate, also causes less SSH operations when used
2012-07-20 16:13:26 +02:00
* git module fixes
2012-08-07 03:00:21 +02:00
* setup module overhaul, more modular
2012-07-24 01:34:18 +02:00
* minor caching logic added to inventory to reduce hammering of inventory scripts.
2012-07-28 01:03:12 +02:00
* MySQL and PostgreSQL modules for user and db management
* vars_prompt now supports private password entry (see examples/playbooks/prompts.yml)
2012-08-02 04:35:07 +02:00
* yum module modified to be more tolerant of plugins spewing random console messages (ex: RHN)
2012-08-01 03:00:55 +02: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 14:50:19 +02:00
* sudoing to a user other than root now works more seamlessly (uses /tmp, avoids umask issues)
2012-07-07 14:49:15 +02:00
2013-12-03 21:10:13 +01:00
## 0.5 "Amsterdam" ------- July 04, 2012
2012-06-20 03:20:17 +02:00
* Service module gets more accurate service states when running with upstart
* Jinja2 usage in playbooks (not templates), reinstated, supports %include directive
* support for --connection ssh (supports Kerberos, bastion hosts, etc), requires ControlMaster
* misc tracebacks replaced with error messages
* various API/internals refactoring
* vars can be built from other variables
* support for exclusion of hosts/groups with "!groupname"
* various changes to support md5 tool differences for FreeBSD nodes & OS X clients
* "unparseable" command output shows in command output for easier debugging
* mktemp is no longer required on remotes (not available on BSD)
* support for older versions of python-apt in the apt module
* a new "assemble" module, for constructing files from pieces of files (inspired by Puppet "fragments" idiom)
* ability to override most default values with ANSIBLE_FOO environment variables
2013-03-06 19:41:19 +01:00
* --module-path parameter can support multiple directories separated with the OS path separator
2012-06-20 03:20:17 +02: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-30 00:44:09 +02:00
* removed module debug option -D
* added --verbose, which shows output from successful playbook operations
2012-06-30 00:48:37 +02:00
* print the output of the raw command inside /usr/bin/ansible as with command/shell
2012-06-30 00:56:49 +02:00
* basic setup module support for Solaris
* ./library relative to the playbook is always in path so modules can be included in tarballs with playbooks
2012-06-20 03:20:17 +02:00
2013-12-03 21:10:13 +01:00
## 0.4 "Unchained" ------- May 23, 2012
2012-04-26 03:23:50 +02:00
2012-05-24 01:38:59 +02:00
Internals/Core
* internal inventory API now more object oriented, parsers decoupled
* async handling improvements
* misc fixes for running ansible on OS X (overlord only)
2012-04-26 03:30:04 +02:00
* sudo improvements, now works much more smoothly
2012-05-24 01:38:59 +02:00
* sudo to a particular user with -U/--sudo-user, or using 'sudo_user: foo' in a playbook
* --private-key CLI option to work with pem files
Inventory
* can use -i host1,host2,host3:port to specify hosts not in inventory (replaces --override-hosts)
* ansible INI style format can do groups of groups [groupname:children] and group vars [groupname:vars]
* groups and users module takes an optional system=yes|no on creation (default no)
2012-04-26 03:30:04 +02:00
* list of hosts in playbooks can be expressed as a YAML list in addition to ; delimited
2012-05-24 01:38:59 +02:00
Playbooks
* variables can be replaced like ${foo.nested_hash_key.nested_subkey[array_index]}
* unicode now ok in templates (assumes utf8)
* able to pass host specifier or group name in to "hosts:" with --extra-vars
* ansible-pull script and example playbook (extreme scaling, remediation)
* inventory_hostname variable available that contains the value of the host as ansible knows it
* variables in the 'all' section can be used to define other variables based on those values
* 'group_names' is now a variable made available to templates
2012-04-27 05:12:09 +02:00
* first_available_file feature, see selective_file_sources.yml in examples/playbooks for info
2012-04-28 17:29:02 +02:00
* --extra-vars="a=2 b=3" etc, now available to inject parameters into playbooks from CLI
2012-05-24 01:38:59 +02:00
Incompatible Changes
* jinja2 is only usable in templates, not playbooks, use $foo instead
* --override-hosts removed, can use -i with comma notation (-i "ahost,bhost")
2012-04-27 07:27:47 +02:00
* modules can no longer include stderr output (paramiko limitation from sudo)
2012-05-24 01:38:59 +02:00
Module Changes
* tweaks to SELinux implementation for file module
* fixes for yum module corner cases on EL5
* file module now correctly returns the mode in octal
2012-05-02 05:03:00 +02:00
* fix for symlink handling in the file module
* service takes an enable=yes|no which works with chkconfig or updates-rc.d as appropriate
2012-05-02 05:05:40 +02:00
* service module works better on Ubuntu
* git module now does resets and such to work more smoothly on updates
2012-05-08 05:48:18 +02:00
* modules all now log to syslog
2012-05-10 05:31:58 +02:00
* enabled=yes|no on a service can be used to toggle chkconfig & updates-rc.d states
2012-05-24 01:38:59 +02:00
* git module supports branch=
* service fixes to better detect status using return codes of the service script
* custom facts provided by the setup module mean no dependency on Ruby, facter, or ohai
* service now has a state=reloaded
* raw module for bootstrapping and talking to routers w/o Python, etc
Misc Bugfixes
* fixes for variable parsing in only_if lines
* misc fixes to key=value parsing
2012-05-10 05:31:58 +02:00
* variables with mixed case now legal
2012-05-24 01:38:59 +02:00
* fix to internals of hacking/test-module development script
2012-04-26 03:23:50 +02:00
2013-12-03 21:10:13 +01:00
## 0.3 "Baluchitherium" -- April 23, 2012
2012-04-26 03:23:50 +02: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-12 00:14:31 +02:00
* command task supports creates=foo for idempotent semantics, won't run if file foo already exists
2012-04-26 03:23:50 +02:00
2013-12-03 21:10:13 +01:00
## 0.0.2 and 0.0.1
2012-04-26 03:23:50 +02:00
* Initial stages of project