Commit Graph

152 Commits

Author SHA1 Message Date
Lars Vogdt
01ffa71dfa - create missing (empty) template and files directories for
'ansible-galaxy init' during package build (fixes boo#1137479)

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=164
2020-04-06 21:01:32 +00:00
Lars Vogdt
2670b75345 Accepting request 781785 from home:stroeder:branches:systemsmanagement
- update to version 2.9.6 (maintenance release)

OBS-URL: https://build.opensuse.org/request/show/781785
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=163
2020-03-09 06:53:20 +00:00
Lars Vogdt
739f424cda Accepting request 774243 from home:stroeder:branches:systemsmanagement
- update to version 2.9.5 (maintenance release)

OBS-URL: https://build.opensuse.org/request/show/774243
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=162
2020-02-18 11:02:09 +00:00
Lars Vogdt
ad9b3af83c Accepting request 768031 from home:stroeder:branches:systemsmanagement
now correct update to version 2.9.4

OBS-URL: https://build.opensuse.org/request/show/768031
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=161
2020-01-28 22:16:51 +00:00
Lars Vogdt
6770b2b9cf Accepting request 765059 from home:stroeder:branches:systemsmanagement
- update to version 2.9.3 (maintenance release)
  * security fixes
    - CVE-2019-14904 (solaris_zone module)
    - CVE-2019-14905 (nxos_file_copy module),
  * various bugfixes

OBS-URL: https://build.opensuse.org/request/show/765059
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=159
2020-01-18 11:10:35 +00:00
Lars Vogdt
3aac6b485f - sync with upstream spec file (especially for RHEL & Fedora builds)
- ran spec-cleaner
- remove old SUSE targets (SLE-11, Leap 42.3 and below)
  This simplifies the spec file and makes building easier
- Additional required packages for building:
  + python-boto3 and python-botocore for Amazon EC2
  + python-jmespath for json queries
  + python-memcached for cloud modules and local caching of JSON 
    formatted, per host records
  + python-redis for cloud modules and local caching of JSON 
    formatted, per host records
  + python-requests for many web-based modules (cloud, network, 
    netapp)
  => as the need for those packages depends on the usage of the 
     tool, they are just recommended on openSUSE/SUSE machines
- made dependencies for gitlab, vmware and winrm modules configurable,
  as most of their dependencies are not (yet) available on current 
  openSUSE/SUSE distributions
- exclude /usr/bin/pwsh from the automatic dependency generation, 
  as the Windows Power Shell is not available (yet) on openSUSE/SUSE
- build additional docs and split up ansible-doc package; 
  moving changelogs, contrib and example directories there
- prepare for building HTML documentation, but disable this per 
  default for the moment, as not all package dependencies are available
  in openSUSE/SUSE (yet)
- package some test scripts with executable permissions

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=158
2019-12-29 16:57:33 +00:00
Lars Vogdt
eb63121d70 Accepting request 754332 from home:stroeder:branches:systemsmanagement
update to version 2.9.2

OBS-URL: https://build.opensuse.org/request/show/754332
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=157
2019-12-08 13:09:31 +00:00
Lars Vogdt
4d2f438f90 - Create system directories that Ansible defines as default locations
in ansible/config/base.yml
- rephrase the summary line 
- Disable shebang munging for specific paths. These files are data files.
  ansible-test munges the shebangs itself.

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=156
2019-11-21 16:28:08 +00:00
Lars Vogdt
8c16a86de5 - split out ansible-test package for module developers
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=155
2019-11-19 18:05:31 +00:00
Lars Vogdt
8e2f1a0175 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=154 2019-11-16 21:44:54 +00:00
Lars Vogdt
d007679c05 Accepting request 745036 from home:ojkastl_buildservice
update to 2.9.0

OBS-URL: https://build.opensuse.org/request/show/745036
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=151
2019-11-04 20:51:29 +00:00
Lars Vogdt
20040fb296 - include the sha checksum file in the source, which allows to verify
the original sources

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=150
2019-10-27 14:16:25 +00:00
Lars Vogdt
ed31cb1601 Accepting request 742224 from home:abergmann:branches:systemsmanagement
Security Update to version 2.8.6.

OBS-URL: https://build.opensuse.org/request/show/742224
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=149
2019-10-24 15:04:12 +00:00
Lars Vogdt
96821db614 - Update to version 2.8.5:
Full changelog is packaged at /usr/share/doc/packages/ansible/changelogs/
  and also available online at
  https://github.com/ansible/ansible/blob/stable-2.8/changelogs/CHANGELOG-v2.8.rst
- removed patches fixed upstream:
  + CVE-2019-10206-data-disclosure.patch
  + CVE-2019-10217-gcp-modules-sensitive-fields.patch

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=148
2019-09-13 09:07:20 +00:00
Lars Vogdt
f085e94b2f Accepting request 721985 from home:mcepl:branches:systemsmanagement
Return fdupes back

OBS-URL: https://build.opensuse.org/request/show/721985
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=147
2019-09-11 07:29:09 +00:00
Lars Vogdt
74166faebd fix former mistake and re-establish the older, but better package version
- Update to version 2.8.3:
  Full changelog is packaged, but also at
  https://github.com/ansible/ansible/blob/stable-2.8/changelogs/CHANGELOG-v2.8.rst
- (bsc#1142690) Adds CVE-2019-10206-data-disclosure.patch fixing
  CVE-2019-10206: ansible-playbook -k and ansible cli tools
  prompt passwords by expanding them from templates as they could
  contain special characters. Passwords should be wrapped to
  prevent templates trigger and exposing them.
- (bsc#1144453) Adds CVE-2019-10217-gcp-modules-sensitive-fields.patch
  CVE-2019-10217: Fields managing sensitive data should be set as
  such by no_log feature. Some of these fields in GCP modules are
  not set properly. service_account_contents() which is common
  class for all gcp modules is not setting no_log to True. Any
  sensitive data managed by that function would be leak as an
  output when running ansible playbooks.

- Update to version 2.8.1
  Full changelog is at /usr/share/doc/packages/ansible/changelogs/
  Bugfixes
  --------
  - ACI - DO not encode query_string
  - ACI modules - Fix non-signature authentication
  - Add missing directory provided via ``--playbook-dir`` to adjacent collection loading
  - Fix "Interface not found" errors when using eos_l2_interface with nonexistant
    interfaces configured
  - Fix cannot get credential when `source_auth` set to `credential_file`.
  - Fix netconf_config backup string issue
  - Fix privilege escalation support for the docker connection plugin when

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=146
2019-08-13 16:26:53 +00:00
Lars Vogdt
c31ffe3972 Accepting request 719257 from home:ojkastl_buildservice:SLES12
update to 2.8.3

OBS-URL: https://build.opensuse.org/request/show/719257
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=145
2019-08-13 16:22:17 +00:00
Lars Vogdt
0ad11aef75 Accepting request 721576 from home:mcepl:branches:systemsmanagement
- Update to version 2.8.3:
  Full changelog is packaged, but also at
  https://github.com/ansible/ansible/blob/stable-2.8/changelogs/CHANGELOG-v2.8.rst
- (bsc#1142690) Adds CVE-2019-10206-data-disclosure.patch fixing
  CVE-2019-10206: ansible-playbook -k and ansible cli tools
  prompt passwords by expanding them from templates as they could
  contain special characters. Passwords should be wrapped to
  prevent templates trigger and exposing them.
- (bsc#1144453) Adds CVE-2019-10217-gcp-modules-sensitive-fields.patch
  CVE-2019-10217: Fields managing sensitive data should be set as
  such by no_log feature. Some of these fields in GCP modules are
  not set properly. service_account_contents() which is common
  class for all gcp modules is not setting no_log to True. Any
  sensitive data managed by that function would be leak as an
  output when running ansible playbooks.

OBS-URL: https://build.opensuse.org/request/show/721576
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=143
2019-08-08 14:01:06 +00:00
Lars Vogdt
92160bd70b Accepting request 708761 from home:lrupp:branches:systemsmanagement
- Update to version 2.8.1
  Full changelog is at /usr/share/doc/packages/ansible/changelogs/
  Bugfixes
  --------
  - ACI - DO not encode query_string
  - ACI modules - Fix non-signature authentication
  - Add missing directory provided via ``--playbook-dir`` to adjacent collection loading
  - Fix "Interface not found" errors when using eos_l2_interface with nonexistant
    interfaces configured
  - Fix cannot get credential when `source_auth` set to `credential_file`.
  - Fix netconf_config backup string issue
  - Fix privilege escalation support for the docker connection plugin when
    credentials need to be supplied (e.g. sudo with password).
  - Fix vyos cli prompt inspection
  - Fixed loading namespaced documentation fragments from collections.
  - Fixing bug came up after running cnos_vrf module against coverity.
  - Properly handle data importer failures on PVC creation, instead of timing out.
  - To fix the ios static route TC failure in CI
  - To fix the nios member module params
  - To fix the nios_zone module idempotency failure
  - add terminal initial prompt for initial connection
  - allow include_role to work with ansible command
  - allow python_requirements_facts to report on dependencies containing dashes
  - asa_config fix
  - azure_rm_roledefinition - fix a small error in build scope.
  - azure_rm_virtualnetworkpeering - fix cross subscriptions virtual network
    peering.
  - cgroup_perf_recap - When not using file_per_task, make sure we don't
    prematurely close the perf files
  - display underlying error when reporting an invalid ``tasks:`` block.

OBS-URL: https://build.opensuse.org/request/show/708761
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=141
2019-06-08 16:41:44 +00:00
Lars Vogdt
8a731628f9 Accepting request 705080 from home:tux93:branches:systemsmanagement
Update to v2.8.0

OBS-URL: https://build.opensuse.org/request/show/705080
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=140
2019-05-24 22:49:38 +00:00
Lars Vogdt
5aaa3058df Accepting request 691596 from home:stroeder:branches:systemsmanagement
Update to version 2.7.10

OBS-URL: https://build.opensuse.org/request/show/691596
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=138
2019-04-05 22:43:05 +00:00
Lars Vogdt
36c9bd5447 Accepting request 685716 from home:stroeder:branches:systemsmanagement
Update to version 2.7.9

OBS-URL: https://build.opensuse.org/request/show/685716
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=137
2019-03-18 21:44:32 +00:00
Lars Vogdt
b89e42811a - update URL (use SSL version of the URL)
- prepare update for multiple releases (bsc#1102126, bsc#1109957)

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=136
2019-03-16 20:15:04 +00:00
Lars Vogdt
5d3838e9d5 Accepting request 678525 from home:stroeder:branches:systemsmanagement
Update to version 2.7.8

OBS-URL: https://build.opensuse.org/request/show/678525
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=134
2019-03-07 09:29:43 +00:00
Lars Vogdt
9a23cbeb29 Accepting request 673034 from home:elimat:branches:systemsmanagement
- Update to version 2.7.7
  Minor Changes:
  * Allow check_mode with supports_generate_diff capability in cli_config. (https://github.com/ansible/ansible/pull/51417)
  * Fixed typo in vmware documentation fragment. Changed "supported added" to "support added".
  Bugfixes:
  * All K8S_AUTH_* environment variables are now properly loaded by the k8s lookup plugin
  * Change backup file globbing for network _config modules so backing up one host's config will not delete the backed up config of any host whose hostname is a subset of the first host's hostname (e.g., switch1 and switch11)
  * Fixes bug where nios_a_record wasn't getting deleted if an uppercase named a_record was being passed. (https://github.com/ansible/ansible/pull/51539)
  * aci_aaa_user - Fix setting user description (https://github.com/ansible/ansible/issues/51406)
  * apt_repository - fixed failure under Python 3.7 (https://github.com/ansible/ansible/pull/47219)
  * archive - Fix check if archive is created in path to be removed
  * azure_rm inventory plugin - fix azure batch request (https://github.com/ansible/ansible/pull/50006)
  * cnos_backup - fixed syntax error (https://github.com/ansible/ansible/pull/47219)
  * cnos_image - fixed syntax error (https://github.com/ansible/ansible/pull/47219)
  * consul_kv - minor error-handling bugfix under Python 3.7 (https://github.com/ansible/ansible/pull/47219)
  * copy - align invocation in return value between check and normal mode
  * delegate_facts - fix to work properly under block and include_role (https://github.com/ansible/ansible/pull/51553)
  * docker_swarm_service - fix endpoint_mode and publish idempotency.
  * ec2_instance - Correctly adds description when adding a single ENI to the instance
  * ensure we have a XDG_RUNTIME_DIR, as it is not handled correctly by some privilege escalation configurations
  * file - Allow state=touch on file the user does not own https://github.com/ansible/ansible/issues/50943
  * fix ansible-pull hanlding of extra args, complex quoting is needed for inline JSON
  * fix ansible_connect_timeout variable in network_cli,netconf,httpapi and nxos_install_os timeout check
  * netapp_e_storagepool - fixed failure under Python 3.7 (https://github.com/ansible/ansible/pull/47219)
  * onepassword_facts - Fix an issue looking up some 1Password items which have a 'password' attribute alongside the 'fields' attribute, not inside it.
  * prevent import_role from inserting dupe into roles: execution when duplicate signature role already exists in the section.
  * reboot - Fix bug where the connection timeout was not reset in the same task after rebooting
  * ssh connection - do not retry with invalid credentials to prevent account lockout (https://github.com/ansible/ansible/issues/48422)
  * systemd - warn when exeuting in a chroot environment rather than failing (https://github.com/ansible/ansible/pull/43904)
  * win_chocolatey - Fix hang when used with proxy for the first time - https://github.com/ansible/ansible/issues/47669
  * win_power_plan - Fix issue where win_power_plan failed on newer Windows 10 builds - https://github.com/ansible/ansible/issues/43827

OBS-URL: https://build.opensuse.org/request/show/673034
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=132
2019-02-19 01:10:11 +00:00
Lars Vogdt
46df6de22b Accepting request 667324 from home:elimat:branches:systemsmanagement
- update to version 2.7.6
  Minor Changes:
  * Added documentation about using VMware dynamic inventory plugin.
  * Fixed bug around populating host_ip in hostvars in vmware_vm_inventory.
  * Image reference change in Azure VMSS is detected and applied correctly.
  * docker_volume - reverted changed behavior of force, which was released in Ansible 2.7.1 to 2.7.5, and Ansible 2.6.8 to 2.6.11. Volumes are now only recreated if the parameters changed and force is set to true (instead of or). This is the behavior which has been described in the documentation all the time.
  * set ansible_os_family from name variable in os-release
  * yum and dnf can now handle installing packages from URIs that are proxy redirects and don't end in the .rpm file extension
  Bugfixes:
  * Added log message at -vvvv when using netconf connection listing connection details.
  * Changes how ansible-connection names socket lock files. They now use the same name as the socket itself, and as such do not lock other attempts on connections to the same host, or cause issues with overly-long hostnames.
  * Fix mandatory statement error for junos modules (https://github.com/ansible/ansible/pull/50138)
  * Moved error in netconf connection plugin from at import to on connection.
  * This reverts some changes from commit 723daf3. If a line is found in the file, exactly or via regexp matching, it must not be added again. insertafter/insertbefore options are used only when a line is to be inserted, to specify where it must be added.
  * allow using openstack inventory plugin w/o a cache
  * callbacks - Do not filter out exception, warnings, deprecations on failure when using debug (https://github.com/ansible/ansible/issues/47576)
  * certificate_complete_chain - fix behavior when invalid file is parsed while reading intermediate or root certificates.
  * copy - Ensure that the src file contents is converted to unicode in diff information so that it is properly wrapped by AnsibleUnsafeText to prevent unexpected templating of diff data in Python3 (https://github.com/ansible/ansible/issues/45717)
  * correct behaviour of verify_file for vmware inventory plugin, it was always returning True
  * dnf - fix issue where conf_file was not being loaded properly
  * dnf - fix update_cache combined with install operation to not cause dnf transaction failure
  * docker_container - fix network_mode idempotency if the container:<container-name> form is used (as opposed to container:<container-id>) (https://github.com/ansible/ansible/issues/49794)
  * docker_container - warning when non-string env values are found, avoiding YAML parsing issues. Will be made an error in Ansible 2.8. (https://github.com/ansible/ansible/issues/49802)
  * docker_swarm_service - Document labels and container_labels with correct type.
  * docker_swarm_service - Document limit_memory and reserve_memory correctly on how to specify sizes.
  * docker_swarm_service - Document minimal API version for configs and secrets.
  * docker_swarm_service - fix use of Docker API so that services are not detected as present if there is an existing service whose name is a substring of the desired service
  * docker_swarm_service - fixing falsely reporting update_order as changed when option is not used.
  * document old option that was initally missed
  * ec2_instance now respects check mode https://github.com/ansible/ansible/pull/46774
  * fix for network_cli - ansible_command_timeout not working as expected (#49466)
  * fix handling of firewalld port if protocol is missing
  * fix lastpass lookup failure on python 3 (https://github.com/ansible/ansible/issues/42062)
  * flatpak - Fixed Python 2/3 compatibility
  * flatpak - Fixed issue where newer versions of flatpak failed on flatpak removal
  * flatpak_remote - Fixed Python 2/3 compatibility
  * gcp_compute_instance - fix crash when the instance metadata is not set
  * grafana_dashboard - Fix a pair of unicode string handling issues with version checking (https://github.com/ansible/ansible/pull/49194)
  * host execution order - Fix reverse_inventory not to change the order of the items before reversing on python2 and to not backtrace on python3
  * icinga2_host - fixed the issue with not working use_proxy option of the module.
  * influxdb_user - An unspecified password now sets the password to blank, except on existing users. This previously caused an unhandled exception.
  * influxdb_user - Fixed unhandled exception when using invalid login credentials (https://github.com/ansible/ansible/issues/50131)
  * openssl_* - fix error when path contains a file name without path.
  * openssl_csr - fix problem with idempotency of keyUsage option.
  * openssl_pkcs12 - now does proper path expansion for ca_certificates.
  * os_security_group_rule - os_security_group_rule doesn't exit properly when secgroup doesn't exist and state=absent (https://github.com/ansible/ansible/issues/50057)
  * paramiko_ssh - add auth_timeout parameter to ssh.connect when supported by installed paramiko version. This will prevent "Authentication timeout" errors when a slow authentication step (>30s) happens with a host (https://github.com/ansible/ansible/issues/42596)
  * purefa_facts and purefb_facts now correctly adds facts into main ansible_fact dictionary (https://github.com/ansible/ansible/pull/50349)
  * reboot - add appropriate commands to make the plugin work with VMware ESXi (https://github.com/ansible/ansible/issues/48425)
  * reboot - add support for rebooting AIX (https://github.com/ansible/ansible/issues/49712)
  * reboot - gather distribution information in order to support Alpine and other distributions (https://github.com/ansible/ansible/issues/46723)
  * reboot - search common paths for the shutdown command and use the full path to the binary rather than depending on the PATH of the remote system (https://github.com/ansible/ansible/issues/47131)
  * reboot - use a common set of commands for older and newer Solaris and SunOS variants (https://github.com/ansible/ansible/pull/48986)
  * redfish_utils - fix reference to local variable 'systems_service'
  * setup - fix the rounding of the ansible_memtotal_mb value on VMWare vm's (https://github.com/ansible/ansible/issues/49608)
  * vultr_server - fixed multiple ssh keys were not handled.
  * win_copy - Fix copy of a dir that contains an empty directory - https://github.com/ansible/ansible/issues/50077
  * win_firewall_rule - Remove invalid 'bypass' action
  * win_lineinfile - Fix issue where a malformed json block was returned causing an error
  * win_updates - Correctly report changes on success

OBS-URL: https://build.opensuse.org/request/show/667324
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=130
2019-01-23 15:08:39 +00:00
Lars Vogdt
874a153353 Accepting request 658710 from home:elimat:branches:systemsmanagement
- update to version 2.7.5
  Minor Changes:
  * Add warning about falling back to jinja2_native=false when Jinja2 version is lower than 2.10.
  * Change the position to search os-release since clearlinux new versions are providing /etc/os-release too
  * Fixed typo in ansible-galaxy info command.
  * Improve the deprecation message for squashing, to not give misleading advice
  * Update docs and return section of vmware_host_service_facts module.
  * ansible-galaxy: properly warn when git isn't found in an installed bin path instead of traceback
  * dnf module properly load and initialize dnf package manager plugins
  * docker_swarm_service: use docker defaults for the user parameter if it is set to null 
  Bugfixes:
  * ACME modules: improve error messages in some cases (include error returned by server).
  * Added unit test for VMware module_utils.
  * Also check stdout for interpreter errors for more intelligent messages to user
  * Backported support for Devuan-based distribution
  * Convert hostvars data in OpenShift inventory plugin to be serializable by ansible-inventory
  * Fix AttributeError (Python 3 only) when an exception occurs while rendering a template
  * Fix N3K power supply facts (https://github.com/ansible/ansible/pull/49150).
  * Fix NameError nxos_facts (https://github.com/ansible/ansible/pull/48981).
  * Fix VMware module utils for self usage.
  * Fix error in OpenShift inventory plugin when a pod has errored and is empty
  * Fix if the route table changed to none (https://github.com/ansible/ansible/pull/49533)
  * Fix iosxr netconf plugin response namespace (https://github.com/ansible/ansible/pull/49300)
  * Fix issues with nxos_install_os module for nxapi (https://github.com/ansible/ansible/pull/48811).
  * Fix lldp and cdp neighbors information (https://github.com/ansible/ansible/pull/48318)(https://github.com/ansible/ansible/pull/48087)(https://github.com/ansible/ansible/pull/49024).
  * Fix nxos_interface and nxos_linkagg Idempotence issue (https://github.com/ansible/ansible/pull/46437).
  * Fix traceback when updating facts and the fact cache plugin was nonfunctional
  * Fix using vault encrypted data with jinja2_native (https://github.com/ansible/ansible/issues/48950)
  * Fixed: Make sure that the files excluded when extracting the archive are not checked. https://github.com/ansible/ansible/pull/45122
  * Fixes issue where a password parameter was not set to no_log
  * Respect no_log on retry and high verbosity (CVE-2018-16876)
  * aci_rest - Fix issue ignoring custom port
  * acme_account, acme_account_facts - in some cases, it could happen that the modules return information on disabled accounts accidentally returned by the ACME server.
  * docker_swarm - decreased minimal required API version from 1.35 to 1.25; some features require API version 1.30 though.
  * docker_swarm_service: fails because of default "user: root" (https://github.com/ansible/ansible/issues/49199)
  * ec2_metadata_facts - Parse IAM role name from the security credential field since the instance profile name is different
  * fix azure_rm_image module use positional parameter (https://github.com/ansible/ansible/pull/49394)
  * fixes an issue with dict_merge in network utils (https://github.com/ansible/ansible/pull/49474)
  * gcp_utils - fix google auth scoping issue with application default credentials or google cloud engine credentials. Only scope credentials that can be scoped.
  * mail - fix python 2.7 regression
  * openstack - fix parameter handling when cloud provided as dict https://github.com/ansible/ansible/issues/42858
  * os_user - Include domain parameter in user deletion https://github.com/ansible/ansible/issues/42901
  * os_user - Include domain parameter in user lookup https://github.com/ansible/ansible/issues/42901
  * ovirt_storage_connection - comparing passwords breaks idempotency in update_check (https://github.com/ansible/ansible/issues/48933)
  * paramiko_ssh - improve log message to state the connection type
  * reboot - use IndexError instead of TypeError in exception
  * redis cache - Support version 3 of the redis python library (https://github.com/ansible/ansible/issues/49341)
  * sensu_silence - Cast int for expire field to avoid call failure to sensu API.
  * vmware_host_service_facts - handle exception when service package does not have package name.
  * win_nssm - Switched to Argv-ToString for escaping NSSM credentials (https://github.com/ansible/ansible/issues/48728)
  * zabbix_hostmacro - Added missing validate_certs logic for running module against Zabbix servers with untrused SSL certificates (https://github.com/ansible/ansible/issues/47611)
  * zabbix_hostmacro - Fixed support for user macros with context (https://github.com/ansible/ansible/issues/46953)

OBS-URL: https://build.opensuse.org/request/show/658710
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=128
2018-12-18 10:32:46 +00:00
Lars Vogdt
cbd99baf79 Accepting request 653460 from home:elimat:branches:systemsmanagement
- update to version 2.7.4
  Bugfixes:
  * powershell - add lib/ansible/executor/powershell to the packaging data
- update to version 2.7.3
  Minor Changes:
  * Document Path and Port are mutually exclusive parameters in wait_for module
  * Puppet module remove --ignorecache to allow Puppet 6 support
  * dnf properly support modularity appstream installation via overloaded group
	modifier syntax
  * proxmox_kvm - fix exception
  * win_security_policy - warn users to use win_user_right instead when editing
	Privilege Rights
  Bugfixes:
  * Fix the issue that FTD HTTP API retries authentication-related HTTP requests
  * Fix the issue that module fails when the Swagger model does not have required fields
  * Fix the issue with comparing string-like objects
  * Fix using omit on play keywords
  * Windows - prevent sensitive content from appearing in scriptblock logging (CVE-2018-16859)
  * apt_key - Disable TTY requirement in GnuPG for the module to work correctly 
	when SSH pipelining is enabled
  * better error message when bad type in config, deal with EVNAR= more gracefully
  * configuration retrieval would fail on non primed plugins
  * cs_template - Fixed a KeyError on state=extracted
  * docker_container - fix idempotency problems with docker-py caused by previous
	init idempotency fix
  * docker_container - fix interplay of docker-py version check with argument_spec
	validation improvements
  * docker_network - driver_options containing Python booleans would cause Docker
    to throw exceptions
  * ec2_group - Fix comparison of determining which rules to purge by ignoring descriptions
  * pip module - fix setuptools/distutils replacement
  * sysvinit - enabling a service should use "defaults" if no runlevels are specified
- update to version 2.7.2
  Minor changes:
  * Fix documentation for cloning template
  * Parsing plugin filter may raise TypeError, gracefully handle this 
	exception and let user know about the syntax error in plugin filter file
  * Scenario guide for VMware HTTP API usage
  * Update plugin filter documentation
  * fix yum and dnf autoremove input sanitization to properly warn user if 
	invalid options passed and update documentation to match
  * improve readability and fix privileges names on vmware scenario_clone_template
  * k8s - updated module documentation to mention how to avoid SSL validation errors
  * yum - when checking for updates, now properly include Obsoletes 
	(both old and new) package data in the module JSON output

OBS-URL: https://build.opensuse.org/request/show/653460
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=126
2018-12-04 12:18:54 +00:00
Lars Vogdt
84c5c79b01 Accepting request 644979 from home:seanlew:branches:systemsmanagement
Update ansible to 2.7.1

OBS-URL: https://build.opensuse.org/request/show/644979
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=124
2018-10-28 12:49:16 +00:00
Lars Vogdt
8d7ed66e09 Accepting request 640531 from home:seanlew:branches:systemsmanagement
Updated ansible to 2.7.0

OBS-URL: https://build.opensuse.org/request/show/640531
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=122
2018-10-11 12:22:26 +00:00
Lars Vogdt
8a2963734d - update to 2.6.4
Minor Changes:
  * add azure_rm_storageaccount support to StorageV2 kind. 
  * import_tasks - Do not allow import_tasks to transition to dynamic
    if the file is missing
  Bugfixes:
  * Add md5sum check in nxos_file_copy module
  * Allow arbitrary log_driver for docker_container
  * Fix Python2.6 regex bug terminal plugin nxos, iosxr
  * Fix check_mode in nxos_static_route module
  * Fix glob path of rc.d Some distribtuions like SUSE has the rc%.d
    directories under /etc/init.d
  * Fix network config diff issue for lines 
  * Fixed an issue where ansible_facts.pkg_mgr would incorrectly set 
    to zypper on Debian/Ubuntu systems that happened to have the 
    command installed
  * The docker_* modules respect the DOCKER_* environment variables again
  * The fix for CVE-2018-10875 prints out a warning message about 
    skipping a config file from a world writable current working directory.
    However, if the user is in a world writable current working directory 
    which does not contain a config file, it should not print a warning 
    message. This release fixes that extaneous warning.
  * To resolve nios_network issue where vendor-encapsulated-options 
    can not have a use_option flag.
  * To resolve the issue of handling exception for Nios lookup gracefully.
  * always correctly template no log for tasks
  * ansible-galaxy - properly list all roles in roles_path
  * basic.py - catch ValueError in case a FIPS enabled platform 
    raises this exception
  * docker_container: fixing working_dir idempotency problem

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=118
2018-09-11 09:39:27 +00:00
Boris Manojlovic
e28cf82b78 Accepting request 631847 from home:elimat:branches:systemsmanagement
- update to 2.6.3
  Bugfixes:
  * Fix lxd module to be idempotent when the given configuration for
	the lxd container has not changed
  * Fix setting value type to str to avoid conversion during template
	read. Fix Idempotency in case of 'no key'.
  * Fix the mount module's handling of swap entries in fstab
  * The fix for (CVE-2018-10875) prints out a warning message about
	skipping a config file from a world writable current working
	directory. However, if the user explicitly specifies that the 
	config file should be used via the ANSIBLE_CONFIG environment
	variable then Ansible would honor that but still print out the
	warning message. This has been fixed so that Ansible honors the
	user's explicit wishes and does not print a warning message in
	that circumstance.
  * To fix the bug where existing host_record was deleted when existing
	record name is used with different IP.
  * VMware handle pnic in proxyswitch
  * fix azure security group cannot add rules when purge_rule set to false.
  * fix azure_rm_deployment collect tags from existing Resource Group.
  * fix azure_rm_loadbalancer_facts list takes at least 2 arguments.
  * fix for the bundled selectors module (used in the ssh and local 
	connection plugins) when a syscall is restarted after being 
	interrupted by a signal
  * get_url - fix the bug that get_url does not change mode when checksum matches
  * nicer error when multiprocessing breaks
  * openssl_certificate - Convert valid_date to bytes for conversion
  * openstack_inventory.py dynamic inventory file fixed the plugin to the 
	script so that it will work with current ansible-inventory. Also 
    redirect stdout before dumping the ouptput, because not doing so will
	cause JSON parse errors in some cases.
  * slack callback - Fix invocation by looking up data from cli.options
  * sysvinit module: handle values of optional parameters. Don't disable 
	service when enabled parameter isn't set. Fix command when arguments 
	parameter isn't set.
  * vars_prompt - properly template play level variables in vars_prompt
  * win_domain - ensure the Netlogon service is up and running after 
	promoting host to controller
  * win_domain_controller - ensure the Netlogon service is up and running
	after promoting host to controller

OBS-URL: https://build.opensuse.org/request/show/631847
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=116
2018-08-31 08:54:40 +00:00
Lars Vogdt
21ee6c73bc Accepting request 626515 from home:lrupp:branches:systemsmanagement
- update to 2.6.2
  Minor Changes
  + Sceanrio guide for removing an existing virtual machine is added.
  + lineinfile - add warning when using an empty regexp 
  + Restore module_utils.basic.BOOLEANS variable for backwards compatibility
    with the module API in older ansible releases.
  Bugfixes:
  + Add text output along with structured output in nxos_facts 
  + Allow more than one page of results by using the right pagination 
    indicator ('NextMarker' instead of 'NextToken').
  + Fix an atomic_move error that is 'true', but misleading. 
    Now we show all 3 files involved and clarify what happened.
  + Fix eos_l2_interface eapi.
  + Fix fetching old style facts in junos_facts module
  + Fix get_device_info nxos zero or more whitespace regex
  + Fix nxos CI failures
  + Fix nxos_nxapi default http behavior
  + Fix nxos_vxlan_vtep_vni
  + Fix regex network_os_platform nxos
  + Refactor nxos cliconf get_device_info for non structured 
    output supported devices
  + To fix the NoneType error raised in ios_l2_interface when 
    Access Mode VLAN is unassigned
  + emtpy host/group name is an error
  + fix default SSL version for docker modules
  + fix mail module when using starttls
  + fix nmap config example
  + fix ps detection of service
  + fix the remote tmp folder permissions issue when becoming a non 
    admin user

OBS-URL: https://build.opensuse.org/request/show/626515
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=114
2018-07-30 17:25:29 +00:00
Boris Manojlovic
22f2fea7d3 Accepting request 620440 from home:bmanojlovic:branches:systemsmanagement
- revert some unneeded changes from spec-cleaner
- updated to latest release 2.6.0 
- New Plugins:
  + Callback: 
    - cgroup_memory_recap
    - grafana_annotations
    - sumologic
  + Connection:
    - httpapi
  + Inventory:
    - foreman
    - gcp_compute
    - generator
    - nmap
  + Lookup:
    - onepassword
    - onepassword_raw
- Modules updates too many to mention here
  please look at package documentation directory (/usr/share/doc/packages/.../changelogs)
- bug fixes:
  - **Security Fix** - Some connection exceptions would cause no_log
    specified on a task to be ignored.  If this happened, the task information,
    including any private information coul d have been displayed to stdout and
    (if enabled, not the default) logged to a log file specified in
    ansible.cfg's log_path.  Additionally, sites which redirected stdout from
    ansible runs to a log file may have stored that private information onto
    disk that way as well.  (https://github.com/ansible/ansible/pull/41414)
  - Changed the admin_users config option to not include "admin" by default
    as admin is frequently used for a non-privileged account
    (https://github.com/ansible/ansible/pull/41164)
  - Changed the output to "text" for "show vrf" command as default "json"
    output format with respect to "eapi" transport was failing
    (https://github.com/ansible/ansible/pull/41470)
  - Document mode=preserve for both the copy and template module
  - Fix added for Digital Ocean Volumes API change causing Ansible to
    recieve an unexpected value in the response. 
    (https://github.com/ansible/ansible/pull/41431)
  - Fix an encoding issue when parsing the examples from a plugins'
    documentation
  - Fix iosxr_config module to handle route-policy, community-set,
    prefix-set, as-path-set and rd-set blocks.  All these blocks are part of
    route-policy language of iosxr.
  - Fix mode=preserve with remote_src=True for the copy module
  - Implement mode=preserve for the template module
  - The yaml callback plugin now allows non-ascii characters to be
    displayed.
  - Various grafana_* modules - Port away from the deprecated
    b64encodestring function to the b64encode function instead. 
    https://github.com/ansible/ansible/pull/38388
  - added missing 'raise' to exception definition
    https://github.com/ansible/ansible/pull/41690
  - allow custom endpoints to be used in the aws_s3 module
    (https://github.com/ansible/ansible/pull/36832)
  - allow set_options to be called multiple times
    https://github.com/ansible/ansible/pull/41913
  - ansible-doc - fixed traceback on missing plugins
    (https://github.com/ansible/ansible/pull/41167)
  - cast the device_mapping volume size to an int in the ec2_ami module
    (https://github.com/ansible/ansible/pull/40938)
  - copy - fixed copy to only follow symlinks for files in the non-recursive case
  - copy module - The copy module was attempting to change the mode of files
    for remote_src=True even if mode was not set as a parameter.  This
    failed on filesystems which do not have permission bits
    (https://github.com/ansible/ansible/pull/40099)
  - copy module - fixed recursive copy with relative paths
    (https://github.com/ansible/ansible/pull/40166)
  - correct debug display for all cases
    https://github.com/ansible/ansible/pull/41331
  - correctly check hostvars for vars term
    https://github.com/ansible/ansible/pull/41819
  - correctly handle yaml inventory files when entries are null dicts
    https://github.com/ansible/ansible/issues/41692
  - dynamic includes - Allow inheriting attributes from static parents
    (https://github.com/ansible/ansible/pull/38827)
  - dynamic includes - Don't treat undefined vars for conditional includes
    as truthy (https://github.com/ansible/ansible/pull/39377)
  - dynamic includes - Fix IncludedFile comparison for free strategy
    (https://github.com/ansible/ansible/pull/37083)
  - dynamic includes - Improved performance by fixing re-parenting on copy
    (https://github.com/ansible/ansible/pull/38747)
  - dynamic includes - Use the copied and merged task for calculating task
    vars (https://github.com/ansible/ansible/pull/39762)
  - file - fixed the default follow behaviour of file to be true
  - file module - Eliminate an error if we're asked to remove a file but
    something removes it while we are processing the request
    (https://github.com/ansible/ansible/pull/39466)
  - file module - Fix error when recursively assigning permissions and a
    symlink to a nonexistent file is present in the directory tree
    (https://github.com/ansible/ansible/issues/39456)
  - file module - Fix error when running a task which assures a symlink to a
    nonexistent file exists for the second and subsequent times
    (https://github.com/ansible/ansible/issues/39558)
  - file module - The file module allowed the user to specify src as a
    parameter when state was not link or hard.  This is documented as only
    applying to state=link or state=hard but in previous Ansible, this could
    have an effect in rare cornercases.  For instance, "ansible -m file -a
    'state=directory path=/tmp src=/var/lib'" would create /tmp/lib.  This
    has been disabled and a warning emitted (will change to an error in
    Ansible-2.10).
  - file module - The touch subcommand had its diff output broken during the
    2.6.x development cycle.  This is now fixed
    (https://github.com/ansible/ansible/issues/41755)
  - fix BotoCoreError exception handling
  - fix apt-mark on debian6 (https://github.com/ansible/ansible/pull/41530)
  - fix async for the aws_s3 module by adding async support to the action
    plugin (https://github.com/ansible/ansible/pull/40826)
  - fix decrypting vault files for the aws_s3 module
    (https://github.com/ansible/ansible/pull/39634)
  - fix errors with S3-compatible APIs if they cannot use ACLs for buckets
    or objects
  - fix permission handling to try to download a file even if the user does
    not have permission to list all objects in the bucket
  - fixed config required handling, specifically for _terms in lookups
    https://github.com/ansible/ansible/pull/41740
  - gce_net - Fix sorting of allowed ports
    (https://github.com/ansible/ansible/pull/41567)
  - group_by - support implicit localhost
    (https://github.com/ansible/ansible/pull/41860)
  - import/include - Ensure role handlers have the proper parent, allowing
    for correct attribute inheritance
    (https://github.com/ansible/ansible/pull/39426)
  - import_playbook - Pass vars applied to import_playbook into parsing of
    the playbook as they may be needed to parse the imported plays
    (https://github.com/ansible/ansible/pull/39521)
  - include_role/import_role - Don't overwrite included role handlers with
    play handlers on parse (https://github.com/ansible/ansible/pull/39563)
  - include_role/import_role - Fix parameter templating
    (https://github.com/ansible/ansible/pull/36372)
  - include_role/import_role - Use the computed role name for
    include_role/import_role so to diffentiate between names computed from
    host vars (https://github.com/ansible/ansible/pull/39516)-
    include_role/import_role - improved performance and recursion depth
    (https://github.com/ansible/ansible/pull/36470)
  - lineinfile - fix insertbefore when used with BOF to not insert duplicate
    lines (https://github.com/ansible/ansible/issues/38219)
  - password lookup - Do not load password lookup in network filters,
    allowing the password lookup to be overriden
    (https://github.com/ansible/ansible/pull/41907)
  - pause - ensure ctrl+c interrupt works in all cases
    (https://github.com/ansible/ansible/issues/35372)
  - powershell - use the tmpdir set by `remote_tmp` for become/async tasks
    instead of the generic $env:TEMP -
    https://github.com/ansible/ansible/pull/40210
  - selinux - correct check mode behavior to report same changes as normal
    mode (https://github.com/ansible/ansible/pull/40721)
  - spwd - With python 3.6 spwd.getspnam returns PermissionError instead of
    KeyError if user does not have privileges
    (https://github.com/ansible/ansible/issues/39472)
  - synchronize - Ensure the local connection created by synchronize uses
    _remote_is_local=True, which causes ActionBase to build a local tmpdir
    (https://github.com/ansible/ansible/pull/40833)
  - template - Fix for encoding issues when a template path contains
    non-ascii characters and using the template path in ansible_managed
    (https://github.com/ansible/ansible/issues/27262)
  - template action plugin - fix the encoding of filenames to avoid
    tracebacks on Python2 when characters that are not present in the user's
    locale are present.  (https://github.com/ansible/ansible/pull/39424)
  - user - only change the expiration time when necessary
    (https://github.com/ansible/ansible/issues/13235)
  - uses correct conn info for reset_connection
    https://github.com/ansible/ansible/issues/27520
  - win_environment - Fix for issue where the environment value was deleted
    when a null value or empty string was set -
    https://github.com/ansible/ansible/issues/40450
  - win_file - fix issue where special chars like [ and ] were not being
    handled correctly https://github.com/ansible/ansible/pull/37901
  - win_get_url - fixed a few bugs around authentication and force no when
    using an FTP URL
  - win_iis_webapppool - redirect some module output to null so Ansible can
    read the output JSON https://github.com/ansible/ansible/issues/40874
  - win_template - fix when specifying the dest option as a directory with
    and without the trailing slash
    https://github.com/ansible/ansible/issues/39886
  - win_updates - Added the ability to run on a scheduled task for older
    hosts so async starts working again -
    https://github.com/ansible/ansible/issues/38364
  - win_updates - Fix logic when using a whitelist for multiple updates
  - win_updates - Fix typo that hid the download error when a download
    failed
  - win_updates - Fixed issue where running win_updates on async fails
    without any error
  - windows become - Show better error messages when the become process fails
  - winrm - Add better error handling when the kinit process fails
  - winrm - allow `ansible_user` or `ansible_winrm_user` to override
    `ansible_ssh_user` when both are defined in an inventory -
    https://github.com/ansible/ansible/issues/39844
  - winrm - ensure pexpect is set to not echo the input on a failure and have
    a manual sanity check afterwards
    https://github.com/ansible/ansible/issues/41865
  - winrm connection plugin - Fix exception messages sometimes raising a
    traceback when the winrm connection plugin encounters an unrecoverable
    error.  https://github.com/ansible/ansible/pull/39333
  - xenserver_facts - ensure module works with newer versions of XenServer
    (https://github.com/ansible/ansible/pull/35821)
- use python3 on (open)SUSE 15 or newer

OBS-URL: https://build.opensuse.org/request/show/620440
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=112
2018-07-09 12:48:59 +00:00
Lars Vogdt
a621514742 Accepting request 617102 from home:kbabioch:branches:systemsmanagement
- Update to 2.5.5
  - Fixed the honouration of the no_log option with failed task iterations
    (CVE-2018-10855 boo#1097775)
  - Bufixes:
    - Changed the admin_users config option to not include "admin" by default
      as admin is frequently used for a non-privileged account
    - aws_s3 - add async support to the action plugin
    - aws_s3 - fix decrypting vault files
    - ec2_ami - cast the device_mapping volume size to an int
    - eos_logging - fix idempotency issues
    - cache plugins - A cache timeout of 0 means the cache will not expire.
    - ios_logging - fix idempotency issues
    - ios/nxos/eos_config - don't retrieve config in running_config when config is provided for diff
    - nxos_banner - fix multiline banner issue
    - nxos terminal plugin - fix output truncation
    - nxos_l3_interface - fix no switchport issue with loopback and svi interfaces
    - nxos_snapshot - fix compare_option
- Applied spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/617102
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=111
2018-06-26 13:58:16 +00:00
Lars Vogdt
d1621d37a9 - Update to 2.5.1
Minor Changes
  + Updated example in vcenter_license module.
  + Updated virtual machine facts with instanceUUID which is unique 
    for each VM irrespective of name and BIOS UUID.
  + A lot of Bugfixes, please refer to the Changelog installed in 
    /usr/share/doc/packages/ansible/changelogs/CHANGELOG-v2.5.rst

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=109
2018-04-24 15:39:01 +00:00
Lars Vogdt
1466153f8c * please refer to /share/doc/packages/ansible/changelogs/CHANGELOG-v2.5.rst
- also package the changelogs directory below 
  /usr/share/doc/packages/ansible/ for better reference

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=107
2018-03-27 16:24:51 +00:00
Lars Vogdt
7efa19dc08 - Update to 2.5.0:
Major Changes
  * Ansible Network improvements
    + Created new connection plugins network_cli and netconf to replace
      connection=local. connection=local will continue to work for a
      number of Ansible releases.
    + No more unable to open shell. A clear and descriptive message will 
      be displayed in normal ansible-playbook output without needing to enable debug mode
    + Loads of documentation, see Ansible for Network Automation Documentation.
    + Refactor common network shared code into package under module_utils/network/
    + Filters: Add a filter to convert XML response from a network device to JSON object.
    + Loads of bug fixes.
    + Plus lots more.
  * New simpler and more intuitive 'loop' keyword for task loops. The 
    with_<lookup> loops will likely be deprecated in the near future 
    and eventually removed.
  * Added fact namespacing; from now on facts will be available under 
    ansible_facts namespace (for example: ansible_facts.os_distribution) 
    without the ansible_ prefix. They will continue to be added into the 
    main namespace directly, but now with a configuration toggle to enable
    this. This is currently on by default, but in the future it will default to off.
  * Added a configuration file that a site administrator can use to 
    specify modules to exclude from being used.
  Minor Changes
  * please refer to the CHANGELOG-v2.5.rst document
  Deprecated Features
  * Previously deprecated 'hostfile' config settings have been 're-deprecated' 
    because previously code did not warn about deprecated configuration settings.
  * Using Ansible-provided Jinja tests as filters is deprecated and will 
    be removed in Ansible 2.9.

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=106
2018-03-27 16:10:35 +00:00
Lars Vogdt
47bbd985d1 fix license string following SPDX 3 format - seems to get somehow
mistranslated during the switch from SPDX 2 to SPDX 3. 

It's GPL-3.0 or any later => GPL-3.0+ resp. GPL-3.0-or-later

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=103
2018-02-27 17:02:26 +00:00
Lars Vogdt
e821aba6da - update to 2.3.1 RC1 (package version 2.3.0.1) (bsc#1056094):
* SECURITY (MODERATE): fix for CVE-2017-7466, which finally fixes
    an arbitrary command execution vulnerability

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=102
2018-02-27 16:52:58 +00:00
Lars Vogdt
9af54284f5 Accepting request 577167 from home:tbechtold:branches:systemsmanagement
- Add python-passlib as Requires (bsc#1080682)
  passlib is needed for the "vars_prompt" feature of ansible

OBS-URL: https://build.opensuse.org/request/show/577167
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=100
2018-02-21 14:29:29 +00:00
Lars Vogdt
c8d93a4aec Accepting request 572424 from home:mnhauke
- Update to version 2.4.3.0:
  * Fix `pamd` rule args regexp to match file paths.
  * Check if SELinux policy exists before setting.
  * Set locale to `C` in `letsencrypt` module to fix date parsing
    errors.
  * Fix include in loop when stategy=free.
  * Fix save parameter in asa_config.
  * Fix --vault-id support in ansible-pull.
  * In nxos_interface_ospf, fail nicely if loopback is used with
    passive_interface.
  * Fix quote filter when given an integer to quote.
  * nxos_vrf_interface fix when validating the interface.
  * Fix for win_copy when sourcing files from an SMBv1 share.
  * correctly report callback plugin file.
  * restrict revaulting to vault cli.
  * Fix python3 tracebacks in letsencrypt module.
  * Fix ansible_*_interpreter variables to be templated prior to
    being used.
  * Fix setting of environment in a task that uses a loop
  * Fix fetch on Windows failing to fetch files or particular
    block size.
  * preserve certain fields during no log.
  * fix issue with order of declaration of sections in ini
    inventory.
  * Fix win_iis_webapppool to correctly stop a apppool.
  * Fix CloudEngine host failed.
  * Fix ios_config save issue.
  * Handle vault filenames with nonascii chars when displaying
    messages.
  * Fix win_iis_webapppool to not return passwords.

OBS-URL: https://build.opensuse.org/request/show/572424
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=98
2018-02-06 13:13:10 +00:00
Michael Ströder
42a5731dce Accepting request 546595 from home:tbechtold:branches:systemsmanagement
update to version v2.4.2.0:
  * lock azure containerservice to below 2.0.0
  * ovirt_host_networks: Fix label assignment
  * Fix vault --ask-vault-pass with no tty (#31493)
  * cherry-pick changes of azure_rm_common from devel to 2.4 (#32607)
  * Fixes #31090. In network parse_cli filter plugin, this change moves the creation of a (#31092) (#32458)
  * Use an abspath for network inventory ssh key path.
  * Remove toLower on source (#31983)
  * Add k8s_common.py logging fixes to the changelog
  * inserts enable cmd hash with auth_pass used (#32107)
  * Fix exception upon display.warn() (#31876)
  * ios_system: Fix typo in unit test (#32284)
  * yum: use the C locale when screen scraping (#32203)
  * Use region derived from get_aws_connection_info() in dynamodb_table to fix tagging bug (#32557)
  * fix item var in delegation (#32986)
  * Add changelog entry for elb_application_lb fix
  * Add a validate example to blockinfile. (#32088)
  * Correct formatting --arguments (#31808)
  * Add changelog for URI/get_url fix
  * [cloud] Bugfix for aws_s3 empty directory creation (#32198)
  * Fix junos integration test fixes as per connection refactor (#33050) (#33055)
  * Update win_copy for #32677 (#32682)
  * ios_interface testfix (#32381)
  * Add proper check mode support to the script module (#31852)
  * Add galaxy --force fix to changelog
  * Fix non-ascii errors in config manager
  * Add python3 urllib fixes to changelog
  * Add changelog entry for the stdin py3 fix
  * Update version info for the 2.4.2 release
  * Add max_fail_percentage fix to changelog

OBS-URL: https://build.opensuse.org/request/show/546595
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=96
2017-11-30 08:04:52 +00:00
Michael Ströder
f78bbe4df7 Accepting request 537249 from home:elimat:branches:systemsmanagement
- Update to 2.4.1.0 bugfix release

OBS-URL: https://build.opensuse.org/request/show/537249
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=93
2017-10-27 22:26:35 +00:00
Michael Ströder
81019494bf Accepting request 530746 from home:jengelh:branches:systemsmanagement
- Remove radical wording from descriptions.
  Use improved find syntax.

OBS-URL: https://build.opensuse.org/request/show/530746
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=91
2017-10-03 08:35:52 +00:00
Michael Ströder
7fb97c17d4 Accepting request 528397 from home:lrupp:branches:systemsmanagement
- update to 2.4.0.0 (final)
  Major Changes
  + 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.
  + New import/include keywords to replace the old bare include directives. 
    The use of static: {yes|no} on such includes is now deprecated.
[...]
  + 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
  - please refer to /usr/share/doc/packages/ansible/CHANGELOG.md for 
    further changes
- added ansible-inventory and ansible-config binaries and manpages
- package contrib and examples directories in docdir
- package all *md files as documentation for now
- recommend the following new packages for (open)SUSE:
  + python-httplib2
  + python-keyczar
  + python-six
- enable/fix build for RHEL and Fedora by redefining __python2 and 
  adding/enhancing the needed (build)requires if needed

old: systemsmanagement/ansible
new: home:lrupp:branches:systemsmanagement/ansible rev None
Index: ansible.changes
===================================================================
--- ansible.changes (revision 89)
+++ ansible.changes (revision 7)
@@ -1,4 +1,74 @@
 -------------------------------------------------------------------
+Sat Sep 23 09:05:01 UTC 2017 - lars@linux-schulserver.de
+
+- update to 2.4.0.0 (final)
+  Major Changes
+  + 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.
+  + New import/include keywords to replace the old bare include directives. 
+    The use of static: {yes|no} on such includes is now deprecated.
+  ++ Using import_* (import_playbook, import_tasks, import_role) directives are static.
+  ++ Using include_* (include_tasks, include_role) directives are dynamic. 
+     This is done to avoid collisions and possible security issues as 
+     facts come from the remote targets and they might be compromised.
+  + New order play level keyword that allows the user to change the 
+    order in which Ansible processes hosts when dispatching tasks.
+  + 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'.
+  + Inventory has been revamped:
+  ++ Inventory classes have been split to allow for better 
+     management and deduplication
+  ++ 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
+  ++ New inventory plugins for creating inventory
+  ++ 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)
+  ++ New configuration option to list enabled plugins and precedence 
+     order: whitelist_inventory in ansible.cfg
+  ++ 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
+  ++ It is now possible to specify mulitple inventory sources in the 
+     command line (-i /etc/hosts1 -i /opt/hosts2)
+  ++ 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
+  + Configuration has been changed from a hardcoded listing in the 
+    constants module to dynamically loaded from yaml definitions
+  ++ 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
+  + 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
+  + Python module argument_spec now supports custom validation logic 
+    by accepting a callable as the type argument.
+  + 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
+  - please refer to /usr/share/doc/packages/ansible/CHANGELOG.md for 
+    further changes
+- added ansible-inventory and ansible-config binaries and manpages
+- package contrib and examples directories in docdir
+- package all *md files as documentation for now
+- recommend the following new packages for (open)SUSE:
+  + python-httplib2
+  + python-keyczar
+  + python-six
+- enable/fix build for RHEL and Fedora by redefining __python2 and 
+  adding/enhancing the needed (build)requires if needed
+
+-------------------------------------------------------------------
 Tue Aug  8 17:06:10 UTC 2017 - michael@stroeder.com
 
 - update to 2.3.2.0 (final)
Index: ansible.spec
===================================================================
--- ansible.spec (revision 89)
+++ ansible.spec (revision 7)
@@ -24,7 +24,7 @@
 BuildArch:      noarch
 %endif
 Name:           ansible
-Version:        2.3.2.0
+Version:        2.4.0.0
 Release:        0
 Summary:        Radically simple IT automation
 License:        GPL-3.0
@@ -33,14 +33,19 @@
 Source:         https://releases.ansible.com/ansible/ansible-%{version}.tar.gz
 Source99:       ansible-rpmlintrc
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+
+# SuSE/openSuSE
 %if 0%{?suse_version}
 BuildRequires:  python-devel
 BuildRequires:  python-setuptools
-Requires:       python-setuptools
 Recommends:     python-dnspython
 Recommends:     python-dopy
 Recommends:     python-pywinrm
 Recommends:     sshpass
+Recommends:     python-httplib2
+Recommends:     python-keyczar
+Recommends:     python-six
+Requires:       python-setuptools
 %if 0%{?suse_version} >= 01130
 BuildRequires:  python-Jinja2
 BuildRequires:  python-PyYAML
@@ -52,20 +57,52 @@
 Requires:       python-pycrypto >= 2.6
 %endif
 %endif
-# RHEL == 6
-%if 0%{?rhel} == 6
-Requires:       python-crypto2.6
+
+# RHEL <=5
+%if 0%{?rhel} && 0%{?rhel} <= 5
+BuildRequires:  python26-devel
+BuildRequires:  python26-setuptools
+Requires:       python26-PyYAML
+Requires:       python26-httplib2
+Requires:       python26-jinja2
+Requires:       python26-keyczar
+Requires:       python26-paramiko
+Requires:       python26-setuptools
+Requires:       python26-six
+Requires:       sshpass
 %endif
 # RHEL > 5
 %if 0%{?rhel} && 0%{?rhel} >= 5
 BuildRequires:  python-setuptools
 BuildRequires:  python2-devel
 Requires:       PyYAML
+Requires:       python-jinja2
+Requires:       python-paramiko
+Requires:       python-setuptools
+Requires:       python-six
+Requires:       sshpass
+%endif
+# RHEL == 6
+%if 0%{?rhel} == 6
+Requires:       python-crypto
+%endif
+# RHEL >=7
+%if 0%{?rhel} >= 7
+Requires:       python2-cryptography
+BuildRequires:  perl(Exporter)
+%endif
+%if 0%{?fedora} >= 18
+BuildRequires:  python-devel
+BuildRequires:  python-setuptools
+Requires:       PyYAML
 Requires:       python-httplib2
 Requires:       python-jinja2
 Requires:       python-keyczar
 Requires:       python-paramiko
 Requires:       python-setuptools
+Requires:       python-six
+Requires:       sshpass
+%define         __python %{__python2}
 %endif
 
 %description
@@ -76,12 +113,14 @@
 
 %prep
 %setup -q -n ansible-%{version}
+find . -name .git_keep -delete
+find contrib/ -type f -exec chmod 644 {} \;
 
 %build
-python setup.py build
+%{__python} setup.py build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
 mkdir -p %{buildroot}%{_sysconfdir}/ansible/
 cp examples/hosts %{buildroot}%{_sysconfdir}/ansible/
@@ -92,20 +131,24 @@
 
 %files
 %defattr(-,root,root,-)
-%doc COPYING README.md CHANGELOG.md
+%doc COPYING *.md contrib examples
 %{_bindir}/ansible
+%{_bindir}/ansible-config
 %{_bindir}/ansible-connection
 %{_bindir}/ansible-console
-%{_bindir}/ansible-playbook
-%{_bindir}/ansible-pull
 %{_bindir}/ansible-doc
 %{_bindir}/ansible-galaxy
+%{_bindir}/ansible-inventory
+%{_bindir}/ansible-playbook
+%{_bindir}/ansible-pull
 %{_bindir}/ansible-vault
 %{python_sitelib}/*
 %{_mandir}/man1/ansible.1*
+%{_mandir}/man1/ansible-config.1*
 %{_mandir}/man1/ansible-console.1*
 %{_mandir}/man1/ansible-doc.1*
 %{_mandir}/man1/ansible-galaxy.1*
+%{_mandir}/man1/ansible-inventory.1*
 %{_mandir}/man1/ansible-playbook.1*
 %{_mandir}/man1/ansible-pull.1*
 %{_mandir}/man1/ansible-vault.1*
Index: ansible-2.4.0.0.tar.gz
===================================================================
Binary file ansible-2.4.0.0.tar.gz (revision 7) added
Index: ansible-2.3.2.0.tar.gz
===================================================================
Binary file ansible-2.3.2.0.tar.gz (revision 89) deleted

OBS-URL: https://build.opensuse.org/request/show/528397
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=90
2017-09-23 11:37:02 +00:00
Michael Ströder
89cda86ebf Accepting request 515725 from home:stroeder:branches:systemsmanagement
update to upstream release 2.3.2.0

OBS-URL: https://build.opensuse.org/request/show/515725
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=88
2017-08-09 13:56:10 +00:00
Michael Ströder
3f7c7f18a2 Accepting request 501809 from home:elimat:branches:systemsmanagement
- update to 2.3.1.0 (final)
- clean-up of spec file with spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/501809
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=86
2017-06-07 20:41:17 +00:00
Lars Vogdt
a5d4b85a67 - update to 2.3.1 RC1 (package version 2.3.0.1):
* SECURITY (MODERATE): fix for CVE-2017-7481, in which data for 
    lookup plugins used as variables was not being correctly marked
    as "unsafe".

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=84
2017-05-10 22:37:08 +00:00
Michael Ströder
2d49f9b717 Accepting request 487603 from home:stroeder:branches:systemsmanagement
Update to upstream release 2.3.0.0.

I have successfully tested this (and all the release candidates) on Tumbleweed x86_64 with my ansible roles for Æ-DIR setup.

OBS-URL: https://build.opensuse.org/request/show/487603
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=83
2017-04-13 08:25:06 +00:00
Klaus Kämpf
ffe5340b57 Accepting request 482968 from home:stroeder:branches:systemsmanagement
update to 2.2.2.0

OBS-URL: https://build.opensuse.org/request/show/482968
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=81
2017-03-28 08:04:06 +00:00
Michael Ströder
dfcb8836db OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=79 2017-01-16 18:48:47 +00:00
Michael Ströder
1bccdda9e7 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=78 2017-01-16 18:46:42 +00:00
Michael Ströder
ad10c36f37 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=77 2017-01-16 18:41:22 +00:00
Michael Ströder
949123c900 Accepting request 450556 from home:stroeder:branches:systemsmanagement
update to 2.2.1.0 (final release)

OBS-URL: https://build.opensuse.org/request/show/450556
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=75
2017-01-16 18:21:55 +00:00
Michael Ströder
2f5fcd1238 Accepting request 450444 from home:stroeder:branches:systemsmanagement
update to next release candidate ansible-2.2.1.0-0.5.rc5.tar.gz

OBS-URL: https://build.opensuse.org/request/show/450444
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=74
2017-01-15 20:07:41 +00:00
Klaus Kämpf
fe9478b78e Accepting request 449808 from home:bmanojlovic:branches:systemsmanagement
Fixed ~rc tag / version
- security update to rc4 of 2.2.1.0 version
  CVE-2016-9587, CVE-2016-8628 and CVE-2016-8614
  for full list of changes see
  /usr/share/doc/packages/ansible/CHANGELOG.md

OBS-URL: https://build.opensuse.org/request/show/449808
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=73
2017-01-12 14:00:38 +00:00
Klaus Kämpf
17d6787188 Accepting request 438368 from home:stroeder:branches:systemsmanagement
Update to upstream release 2.2.0.0 (note that I've successfully used even the release candidates with my heavy-weight ansible roles. So upgrading does not cause issues.).

OBS-URL: https://build.opensuse.org/request/show/438368
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=71
2016-11-03 08:55:31 +00:00
Klaus Kämpf
68d980e7b5 Accepting request 432070 from home:stroeder:branches:systemsmanagement
update to upstream release 2.1.2.0

OBS-URL: https://build.opensuse.org/request/show/432070
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=69
2016-10-06 06:56:00 +00:00
Klaus Kämpf
16a59de016 Accepting request 415777 from home:stroeder:branches:systemsmanagement
update to 2.1.1.0

OBS-URL: https://build.opensuse.org/request/show/415777
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=67
2016-07-29 12:21:08 +00:00
Klaus Kämpf
8a2411cc1c Accepting request 399051 from home:stroeder:branches:systemsmanagement
update to 2.1.0.0 and recommend package python-dnspython

OBS-URL: https://build.opensuse.org/request/show/399051
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=65
2016-06-01 09:25:07 +00:00
Klaus Kämpf
8d14a2054c Accepting request 394566 from home:stroeder:branches:systemsmanagement
updated pypi download URL (see https://bitbucket.org/pypa/pypi/issues/438/backwards-compatible-un-hashed-package)

OBS-URL: https://build.opensuse.org/request/show/394566
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=63
2016-05-10 06:54:43 +00:00
Klaus Kämpf
16aa74e8be Accepting request 394205 from home:stroeder:branches:systemsmanagement
update to 2.0.2.0

OBS-URL: https://build.opensuse.org/request/show/394205
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=62
2016-05-09 08:35:33 +00:00
Klaus Kämpf
88712c9301 Accepting request 369111 from home:lrupp:branches:systemsmanagement
- update to 2.0.1.0:
  * 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 combined with delegate_to were fixed. In particular, if
    a playbook targetted 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.

OBS-URL: https://build.opensuse.org/request/show/369111
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=60
2016-03-09 15:11:24 +00:00
Boris Manojlovic
263d5d1c8c Accepting request 359468 from home:evshmarnev:branches:systemsmanagement
- fix_zypper_errorhandling.patch is being deleted

OBS-URL: https://build.opensuse.org/request/show/359468
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=58
2016-02-15 23:25:46 +00:00
Klaus Kämpf
0e2d2f3963 Accepting request 359109 from home:rainbowtux:branches:systemsmanagement
Hopefully I got all ducks in a row now, if not please let me know how I can improve the submission. Thanks a lot!

OBS-URL: https://build.opensuse.org/request/show/359109
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=57
2016-02-15 11:28:25 +00:00
Boris Manojlovic
e745f29a9d Accepting request 340548 from home:M0ses:branches:systemsmanagement
OBS-URL: https://build.opensuse.org/request/show/340548
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=55
2015-10-23 13:58:08 +00:00
Lars Vogdt
281ba96cdd - build again on SLE-11-SP4 by ignoring some dependencies that are
not available in the official OBS repository: python-paramiko, 
  python-Jinja2, python-PyYAML, python-pycrypto

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=52
2015-10-11 16:12:47 +00:00
Lars Vogdt
a4b427897c - update to 1.9.4
This release addresses several bugs, most notably those related to
  the yum module (introduced in 1.9.3):
  + 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.

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=51
2015-10-10 12:14:41 +00:00
Klaus Kämpf
0ec73c0543 Accepting request 331610 from home:robinroth:branches:systemsmanagement
update to 1.9.3
added changelog from https://groups.google.com/forum/#!topic/ansible-announce/EacezxHP_M4

OBS-URL: https://build.opensuse.org/request/show/331610
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=49
2015-09-17 09:17:08 +00:00
Lars Vogdt
34adb430df - update to 1.9.2:
- 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

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=46
2015-07-15 09:24:10 +00:00
Boris Manojlovic
99a01906bf Accepting request 304448 from home:bmanojlovic:branches:systemsmanagement
- updated to version 1.9.1
  * 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.

OBS-URL: https://build.opensuse.org/request/show/304448
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=44
2015-04-28 19:22:00 +00:00
Boris Manojlovic
5f891fc25c Accepting request 293762 from home:bmanojlovic:branches:systemsmanagement
Updated to latest release 1.9.0.1

OBS-URL: https://build.opensuse.org/request/show/293762
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=42
2015-03-31 18:54:06 +00:00
Boris Manojlovic
680310579f Accepting request 287344 from home:bmanojlovic:branches:systemsmanagement
New release push

OBS-URL: https://build.opensuse.org/request/show/287344
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=40
2015-02-23 14:50:21 +00:00
Boris Manojlovic
0f4f6c3a30 Accepting request 264168 from home:bmanojlovic:branches:systemsmanagement
- updated to version 1.8.2 from 1.8.1
  * Windows modules should now be packaged correctly.
  * A bug regarding wildcard grant strings in the mysql_user module has been fixed.
  * Several other bugs regarding the postgresql modules have also been fixed.

OBS-URL: https://build.opensuse.org/request/show/264168
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=38
2014-12-05 15:24:45 +00:00
Boris Manojlovic
985da727e8 Accepting request 263661 from home:bmanojlovic:branches:systemsmanagement
Update to 1.8.1 release, use of pypi package sources in future.

OBS-URL: https://build.opensuse.org/request/show/263661
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=37
2014-12-01 18:49:31 +00:00
Boris Manojlovic
b4cc875d8c Accepting request 263657 from home:bmanojlovic:branches:systemsmanagement
- enable build for older RHEL and SLE distributions

OBS-URL: https://build.opensuse.org/request/show/263657
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=35
2014-12-01 18:35:23 +00:00
Boris Manojlovic
612c706a89 Accepting request 263653 from home:bmanojlovic:ansible
- updated package to latest release ## 1.8.1 "You Really Got Me"
  * 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.
  * 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
  * 'ansible vault view filename.yml' opens filename.yml decrypted in a pager.
  * no_log parameter now surpressess data from callbacks/output as well as syslog
  * ansible-galaxy install -f requirements.yml allows advanced options and installs
    from non-galaxy SCM sources and tarballs.
  * 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
  * 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.
  * 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.
  * async jobs started in "fire & forget" mode can now be checked on at a later time.
  * 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
 + New Modules:

OBS-URL: https://build.opensuse.org/request/show/263653
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=33
2014-12-01 18:05:08 +00:00
Klaus Kämpf
4b5e88d141 Accepting request 258481 from home:KGronlund:branches:systemsmanagement
- update to 1.7.2:
  - 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.
  - Fixed a bug where checkmode was not being honored during the templating of files.
  - Other various bug fixes.
- Switch to xz for source package

OBS-URL: https://build.opensuse.org/request/show/258481
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=31
2014-10-28 07:16:12 +00:00
Lars Vogdt
7d1fb61231 - adapt specfile requirements for RedHat and Fedora
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=29
2014-08-17 15:35:44 +00:00
Lars Vogdt
0ee17bf335 - update to 1.7.1:
Major new features:
  + Windows support (alpha) using native PowerShell remoting
  + 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.
  New Modules:
  + cloud: azure
  + cloud: rax_meta
  + cloud: rax_scaling_group
  + cloud: rax_scaling_policy
  + windows: version of setup module
  + windows: version of slurp module
  + windows: win_feature
  + windows: win_get_url
  + windows: win_msi
  + windows: win_ping
  + windows: win_user
  + windows: win_service
  + windows: win_group
  New inventory scripts:
  + SoftLayer
  + Windows Azure
  Docker module bug fixes:
  + Fixed support for specifying rw/ro bind modes for volumes
  + Fixed support for allowing the tag in the image parameter
  Other notable changes:
  + 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

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=28
2014-08-17 15:28:40 +00:00
Lars Vogdt
9166054613 - update to 1.6.6:
* Security updates to further protect against the incorrect 
    execution of untrusted data
  * Additional tweaks to prevent the incorrect execution of 
    untrusted data
  * Security update to prevent local operations from executing as
    the result of specifically crafted untrusted data

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=26
2014-07-10 12:53:54 +00:00
Lars Vogdt
4d86097e4e - update to 1.6.3:
* The deprecated legacy variable templating system has been 
    finally removed. Use {{ foo }} always not $foo or ${foo}.
  * Any data file can also be JSON. Use sparingly -- with great power
    comes great responsibility. Starting file with "{" or "[" denotes JSON.
  * Added 'gathering' param for ansible.cfg to change the default
    gather_facts policy.
  * 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.
  * ansible-playbook now accepts --force-handlers to run handlers
    even if tasks result in failures.
  * Added VMWare support with the vsphere_guest module.
  * many new modules and ther notable changes, please read 
    /usr/share/doc/packages/ansible/CHANGELOG.md for details    
- use new upstream URL(s)
- require python-httplib2 and python-setuptools
- ignore "wrong" permissions of synchronize.py
- ignore rpmlint warning about requiring python-httplib2 explicitely

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=24
2014-06-19 07:48:19 +00:00
Lars Vogdt
f659e13234 - update to 1.5.3:
* Fixes to the git module related to host key checking
  * 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.

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=22
2014-03-20 23:26:35 +00:00
Lars Vogdt
4eac4678ff fix build
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=20
2014-03-08 16:45:38 +00:00
Lars Vogdt
33f54fb95b - update to 1.5:
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.
  * ssh connection plugin is now more efficient if you add 
    'pipelining=True' in ansible.cfg under [ssh_connection], 
    see example.cfg
  * 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.
  * git module has new parameters (accept_hostkey, key_file, ssh_opts) 
    to ease the usage of git and ssh protocols. 
  * when using accelerate mode, the daemon will now be restarted 
    when specifying a different remote_user between plays.
  * added no_log: option for tasks. When used, no logging information 
    will be sent to syslog during the module execution.
  * acl module now handles 'default' and allows for either shorthand 
    entry or specific fields per entry section
  * play_hosts is a new magic variable to provide a list of hosts 
    in scope for the current play.
  * ec2 module now accepts 'exact_count' and 'count_tag' as a way to 
    enforce a running number of nodes by tags.
  * 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.
  * Start of new integration test infrastructure (WIP)

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=19
2014-03-08 11:12:26 +00:00
Lars Vogdt
952f63d5aa - update to 1.4.5:
+ fixed issue with permissions being incorrect on 
    fireball/accelerate keys when the umask setting was too loose.

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=18
2014-02-27 17:39:28 +00:00
Lars Vogdt
6d6bc70150 - update to 1.4.4:
+ Fixed issue with newer versions of pip not having --use-mirrors
  + Fixed role_path parsing from ansible.cfg
  + Fixed default role templates
  + 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

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=17
2014-01-19 03:13:56 +00:00
Lars Vogdt
0c0d415ac4 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=14 2013-12-16 21:26:17 +00:00
Klaus Kämpf
bcdfe9fd79 Accepting request 208814 from home:KGronlund
Upgrade to 1.4, this time without breaking .changes or .spec. Sorry about previous broken SR.

OBS-URL: https://build.opensuse.org/request/show/208814
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=13
2013-12-02 10:39:19 +00:00
Klaus Kämpf
c66dea01e8 Accepting request 205548 from home:KGronlund:branches:systemsmanagement
- Updated .spec file:
  + Remove deprecated fireball and node-fireball packages
  + Add dependency on python-keyczar
  + Add recommends for sshpass
  + Fix build support for RHEL
  + Correct upstream URL
  + Use upstream release package for 1.3.4
  + Re-add CHANGELOG.md
  + Re-added man3 man pages
  + Updated short description to match upstream description

OBS-URL: https://build.opensuse.org/request/show/205548
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=12
2013-11-04 13:01:58 +00:00
Lars Vogdt
28ccd94079 - update to 1.3.4:
Highlighted new features:
  + 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.
  + 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
  + --extra-vars can now take a file as input, e.g., "-e @filename" 
    and can also be formatted as YAML
  + external inventory scripts may now return host variables in one 
    pass, which allows them to be much more efficient for large 
    numbers of hosts
  + 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.
  + added the ability to have tasks execute even during a check

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=11
2013-10-31 17:30:42 +00:00
Lars Vogdt
574ac94240 - update to 1.2:
+ new feature: roles
  + massively improved variable support and conditionals
  + Pre and Post tasks provide greater controls to make rolling 
    updates even smoother
  + added 32 new modules: 
  ++ including a openSUSE package management module
  ++ added team chat notification modules for Flowdock, Hipchat, 
     Campfire, IRC, and more
  ++ added monitoring modules to interact with New Relic, Airbrake, 
     Pingdom, Pagerduty and Monit
- added CHANGELOG.md to /usr/share/doc/packages/ansible/ to have 
  the complete changelog at hand

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=10
2013-06-30 20:24:00 +00:00
Lars Vogdt
3f548aeeac - require python-pyzmq on (open)SUSE
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=9
2013-04-25 08:01:37 +00:00
Lars Vogdt
9fbd8ba61c fix dependency rules
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=8
2013-04-18 08:57:34 +00:00
Lars Vogdt
3334dc3cfa simplify distribution macro lines
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=7
2013-04-18 08:49:44 +00:00
Lars Vogdt
dbe44d5188 fix release number
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=6
2013-04-18 08:46:53 +00:00
Lars Vogdt
1dfcf713da avoid duplication release entry
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=5
2013-04-18 08:29:28 +00:00
Lars Vogdt
1a4fa48670 added ansible-rpmlintrc
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=4
2013-04-18 08:20:25 +00:00
Lars Vogdt
35aaa09c17 fix RHEL 6
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=3
2013-04-18 08:11:26 +00:00