Subject: CVS commit: pkgsrc/sysutils/ansible
From: Blue Rats
Date: 2014-06-15 02:15:08
Message id: 20140615001508.8D80996@cvs.netbsd.org

Log Message:
py-crypto is now a dependency and the package is egg-aware. Update
MASTER_SITES and add pypi to them. Use PREFIX instead of LOCALBASE in one
SUBST_CLASS instead of two. ${PKGMANDIR}/man3 is no longer used. Comment
patches and delint. From CHANGELOG:

1.6.3

    Corrects a regression where handlers were run across all hosts, not just \ 
those that triggered the handler.
    Fixed a bug in which modules did not support properly moving a file \ 
atomically when su was in use.
    Fixed two bugs related to symlinks with directories when using the file module.
    Fixed a bug related to MySQL master replication syntax.
    Corrects a regression in the order of variable merging done by the internal \ 
runner code.
    Various other minor bug fixes.

1.6.2

    If an improper locale is specified, core modules will now automatically \ 
revert to using the 'C' locale.
    Modules using the fetch_url utility will now obey proxy environment variables.
    The SSL validation step in fetch_url will likewise obey proxy settings, \ 
however only proxies using the http protocol are supported.
    Fixed multiple bugs in docker module related to version changes upstream.
    Fixed a bug in the ec2_group module where egress rules were lost when a VPC \ 
was specified.
    Fixed two bugs in the synchronize module:
        a trailing slash might be lost when calculating relative paths, \ 
resulting in an incorrect destination.
        the sync might use the inventory directory incorrectly instead of the \ 
playbook or role directory.
    Files will now only be chown'd on an atomic move if the src/dest uid/gid do \ 
not match.

1.6.1

    Fixed a bug in group_by, where systems were being grouped incorrectly.
    Fixed a bug where file descriptors may leak to a child process when using \ 
accelerate.
    Fixed a bug in apt_repository triggered when python-apt not being \ 
installed/available.
    Fixed a bug in the apache2_module module, where modules were not being \ 
disabled correctly.

1.6

Major features/changes:

    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.

New Modules:

    files: replace
    packaging: cpanm (Perl)
    packaging: portage
    packaging: composer (PHP)
    packaging: homebrew_tap (OS X)
    packaging: homebrew_cask (OS X)
    packaging: apt_rpm
    packaging: layman
    monitoring: logentries
    monitoring: rollbar_deployment
    monitoring: librato_annotation
    notification: nexmo (SMS)
    notification: twilio (SMS)
    notification: slack (Slack.com)
    notification: typetalk (Typetalk.in)
    notification: sns (Amazon)
    system: debconf
    system: ufw
    system: locale_gen
    system: alternatives
    system: capabilities
    net_infrastructure: bigip_facts
    net_infrastructure: dnssimple
    net_infrastructure: lldp
    web_infrastructure: apache2_module
    cloud: digital_ocean_domain
    cloud: digital_ocean_sshkey
    cloud: rax_identity
    cloud: rax_cbs (cloud block storage)
    cloud: rax_cbs_attachments
    cloud: ec2_asg (configure autoscaling groups)
    cloud: ec2_scaling_policy
    cloud: ec2_metric_alarm
    cloud: vsphere_guest

Other notable changes:

    example callback plugin added for hipchat
    added example inventory plugin for vcenter/vsphere
    added example inventory plugin for doing really trivial inventory from SSH \ 
config files
    libvirt module now supports destroyed and paused as states
    s3 module can specify metadata
    security token additions to ec2 modules
    setup module code moved into module_utils/, facts now accessible by other modules
    synchronize module sets relative dirs based on inventory or role path
    misc bugfixes and other parameters
    the ec2_key module now has wait/wait_timeout parameters
    added version_compare filter (see docs)
    added ability for module documentation YAML to utilize shared module \ 
snippets for common args
    apt module now accepts "deb" parameter to install local dpkg files
    regex_replace filter plugin added
    added an inventory script for Docker
    added an inventory script for Abiquo
    the get_url module now accepts url_username and url_password as parameters, \ 
so sites which require authentication no longer need to have them embedded in \ 
the url
    ... to be filled in from changelogs ...

1.5.5

    Security fix for vault, to ensure the umask is set to a restrictive mode \ 
before creating/editing vault files.
    Backported apt_repository security fixes relating to filename/mode upon \ 
sources list file creation.

1.5.4

    Security fix for safe_eval, which further hardens the checking of the \ 
evaluation function.
    Changing order of variable precendence for system facts, to ensure that \ 
inventory variables take precedence over any facts that may be set on a host.

1.5.3

    Fix validate_certs and run_command errors from previous release
    Fixes to the git module related to host key checking

1.5.2

    Fix module errors in airbrake and apt from previous release

1.5.1

    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.

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, more details TBD)
    if repoquery is unavailble, the yum module will automatically attempt to \ 
install yum-utils
    ansible-vault: a framework for encrypting your playbooks and variable files
    added support for privilege escalation via 'su' into bin/ansible and \ 
bin/ansible-playbook and associated keywords 'su', 'su_user', 'su_pass' for \ 
tasks/plays

New modules:

    cloud: ec2_elb_lb
    cloud: ec2_key
    cloud: ec2_snapshot
    cloud: rax_dns
    cloud: rax_dns_record
    cloud: rax_files
    cloud: rax_files_objects
    cloud: rax_keypair
    cloud: rax_queue
    cloud: docker_image
    messaging: rabbitmq_policy
    system: at
    utilities: assert

Other notable changes (many new module params & bugfixes may not not listed):

    no_reboot is now defaulted to "no" in the ec2_ami module to ensure \ 
filesystem consistency in the resulting AMI.
    sysctl module overhauled
    authorized_key module overhauled
    synchronized module now handles local transport better
    apt_key module now ignores case on keys
    zypper_repository now skips on check mode
    file module now responds to force behavior when dealing with hardlinks
    new lookup plugin 'csvfile'
    fixes to allow hash_merge behavior to work with dynamic inventory
    mysql module will use port argument on dump/import
    subversion module now ignores locale to better intercept status messages
    rax api_key argument is no longer logged
    backwards/forwards compatibility for OpenStack modules, 'quantum' modules \ 
grok neutron renaming
    hosts properly uniqueified if appearing in redundant groups
    hostname module support added for ScientificLinux
    ansible-pull can now show live stdout and pass verbosity levels to \ 
ansible-playbook
    ec2 instances can now be stopped or started
    additional volumes can be created when creating new ec2 instances
    user module can move a home directory
    significant enhancement and cleanup of rackspace modules
    ansible_ssh_private_key_file can be templated
    docker module updated to support docker-py 0.3.0
    various other bug fixes
    md5 logic improved during sudo operation
    support for ed25519 keys in authorized_key module
    ability to set directory permissions during a recursive copy (directory_mode \ 
parameter)

1.4.5

    fixed issue with permissions being incorrect on fireball/accelerate keys \ 
when the umask setting was too loose.

1.4.4

    fixed a minor issue with newer versions of pip dropping the \ 
"use-mirrors" parameter.

Files:
RevisionActionfile
1.11modifypkgsrc/sysutils/ansible/Makefile
1.6modifypkgsrc/sysutils/ansible/PLIST
1.6modifypkgsrc/sysutils/ansible/distinfo
1.3modifypkgsrc/sysutils/ansible/patches/patch-examples_ansible.cfg
1.4modifypkgsrc/sysutils/ansible/patches/patch-lib_ansible_callbacks.py
1.5modifypkgsrc/sysutils/ansible/patches/patch-lib_ansible_constants.py
1.2modifypkgsrc/sysutils/ansible/patches/patch-library-system-ping
1.2modifypkgsrc/sysutils/ansible/patches/patch-library_database_riak
1.2modifypkgsrc/sysutils/ansible/patches/patch-library_monitoring_nagios
1.2modifypkgsrc/sysutils/ansible/patches/patch-library_packaging_pkgin
1.2modifypkgsrc/sysutils/ansible/patches/patch-library_system_setup