Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 7B59B2004F5 for ; Fri, 1 Sep 2017 22:32:21 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7826316DB07; Fri, 1 Sep 2017 20:32:21 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BE1F816DB05 for ; Fri, 1 Sep 2017 22:32:20 +0200 (CEST) Received: (qmail 35692 invoked by uid 500); 1 Sep 2017 20:32:18 -0000 Mailing-List: contact users-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cloudstack.apache.org Delivered-To: mailing list users@cloudstack.apache.org Received: (qmail 35677 invoked by uid 99); 1 Sep 2017 20:32:17 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Sep 2017 20:32:17 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 935A1C2169 for ; Fri, 1 Sep 2017 20:32:17 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.5 X-Spam-Level: X-Spam-Status: No, score=0.5 tagged_above=-999 required=6.31 tests=[KAM_NUMSUBJECT=0.5] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id GrofXHlmAMrw for ; Fri, 1 Sep 2017 20:32:15 +0000 (UTC) Received: from ns2.ngine.ch (ns2.ngine.ch [151.236.17.33]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 1F74961031 for ; Fri, 1 Sep 2017 20:32:15 +0000 (UTC) Received: from web01.ngine.ch (web01.ngine.ch [37.139.11.202]) by ns2.ngine.ch (Postfix) with ESMTP id 0DD9F82340C for ; Fri, 1 Sep 2017 22:32:10 +0200 (CEST) Received: from [192.168.123.40] (109-60-239-77.dyn.cable.fcom.ch [77.239.60.109]) (Authenticated sender: mail@renemoser.net) by web01.ngine.ch (Postfix) with ESMTPSA id B75A78A684 for ; Fri, 1 Sep 2017 20:32:12 +0000 (UTC) To: "users@cloudstack.apache.org" From: Rene Moser Subject: CloudStack modules in Ansible 2.4 Message-ID: <3f65064d-4bb9-bc49-75da-600a172093ca@renemoser.net> Date: Fri, 1 Sep 2017 22:32:06 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit archived-at: Fri, 01 Sep 2017 20:32:21 -0000 Hi Ansible 2.4 is in feature freeze and to be released in a couple of days. Let me give you a summary about the CloudStack related changes: # New Modules We have a handful of new modules: cs_instance_nic cs_instance_nic_secondaryip cs_network_acl cs_network_acl_rule cs_storage_pool cs_vpn_gateway The module cs_nic, introduced in 2.3 is maked as deprecated and replaced by cs_instance_nic_secondaryip. For a full overview of all modules, head over to the official docs http://docs.ansible.com/ansible/latest/list_of_cloud_modules.html#cloudstack # Automated Integration tests I am very proud to present Ansible's fully automated integration test suite of a cloudstack simulator, currently in versino 4.9.2, in docker. This means, a new PR against a ansible cloudstack modules starts a cloudsatck simulator and runs the integration test, fully automated. But this is also for you, having docker installed you are a few commands away to run a test run locally. To make it clear, this does it all for you: It downloads the docker image, waits until booted, setup 2 cloudstack zones (basic, advanced, configures auth to run ansible against the API. How does this work? ## Get latest Ansible as virtual env (in the current terminal session) $ git clone git@github.com:ansible/ansible.git $ cd ansible $ source ./hacking/env-setup ## Run the full test suite $ cd test/integration/ $ ansible-test integration cloud/cs -v --diff ## Run a subset e.g. cs_instance $ ansible-test integration cloud/cs/cs_instance -v --diff The docker image is located at the ansible project or https://github.com/resmo/docker-cloudstack-simulator-for-ansible. I am currently working to upgrade it to 4.10, which needs some adjustments in the creationals handling as this as been changed. # Full log of CloudStack related changes See https://gist.github.com/resmo/5e5fcf0bd941421682c4771e28112e05 for a full log of cloudstack related changes. Thanks for all contributors Take care René