Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce force and verbose options in serverless module #43947

Merged
merged 2 commits into from
Aug 10, 2018

Conversation

ssemyonov
Copy link
Contributor

SUMMARY

Allows specifying force and verbose options when executing serverless framework deployment.

Fixes #33688 - Serverless Module - Support Verbose Mode

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

serverless

ANSIBLE VERSION
ansible 2.5.1
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/home/ubuntu/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/dist-packages/ansible
  executable location = /usr/bin/ansible
  python version = 2.7.15rc1 (default, Apr 15 2018, 21:51:34) [GCC 7.3.0]
ADDITIONAL INFORMATION
changed: [localhost] => {
    "changed": true, 
    "command": "/tmp/serverless/serverlessexample/1.0.0.44/unpacked/node_modules/.bin/serverless deploy --force --region eu-west-1 --stage qa7 --verbose ", 
    "invocation": {
        "module_args": {
            "deploy": true, 
            "force": "True", 
            "functions": null, 
            "region": "eu-west-1", 
            "serverless_bin_path": "/tmp/serverless/serverlessexample/1.0.0.44/unpacked/node_modules/.bin/serverless", 
            "service_path": "/tmp/serverless/serverlessexample/1.0.0.44/unpacked", 
            "stage": "qa7", 
            "state": "present", 
            "verbose": "True"
        }
    }, 
    "out": "Serverless: Packaging service...\nServerless: Excluding development dependencies...\nServerless: Uploading CloudFormation file to S3...\nServerless: Uploading artifacts...\nServerless: Uploading service .zip file to S3 (16.42 MB)...\nServerless: Validating template...\nServerless: Updating Stack...\nServerless: Checking Stack update progress...\nCloudFormation - UPDATE_IN_PROGRESS - AWS::CloudFormation::Stack - serverlessexample-qa7\nCloudFormation - UPDATE_IN_PROGRESS - AWS::Lambda::Function - HellopyLambdaFunction\nCloudFormation - UPDATE_IN_PROGRESS - AWS::Lambda::Function - HellojsLambdaFunction\nCloudFormation - UPDATE_COMPLETE - AWS::Lambda::Function - HellopyLambdaFunction\nCloudFormation - UPDATE_COMPLETE - AWS::Lambda::Function - HellojsLambdaFunction\nCloudFormation - UPDATE_COMPLETE_CLEANUP_IN_PROGRESS - AWS::CloudFormation::Stack - serverlessexample-qa7\nCloudFormation - UPDATE_COMPLETE - AWS::CloudFormation::Stack - serverlessexample-qa7\nServerless: Stack update finished...\nService Information\nservice: serverlessexample\nstage: qa7\nregion: eu-west-1\nstack: serverlessexample-qa7\napi keys:\n  None\nendpoints:\n  None\nfunctions:\n  hellojs: serverlessexample-qa7-hellojs\n  hellopy: serverlessexample-qa7-hellopy\n\nServerless: Removing old service artifacts from S3...\n", 
    "service_name": "${file(je.env.yml):feature}-qa7", 
    "state": "present"
}

@ansibot
Copy link
Contributor

ansibot commented Aug 10, 2018

cc @ryansb
click here for bot help

@ansibot ansibot added affects_2.7 This issue/PR affects Ansible v2.7 cloud community_review In order to be merged, this PR must follow the community review workflow. feature This issue/PR relates to a feature request. module This issue/PR relates to a module. needs_triage Needs a first human triage before being processed. new_contributor This PR is the first contribution by a new community member. support:community This issue/PR relates to code supported by the Ansible community. labels Aug 10, 2018
@ryansb ryansb merged commit 7a4517a into ansible:devel Aug 10, 2018
@mkrizek mkrizek removed the needs_triage Needs a first human triage before being processed. label Aug 11, 2018
@ansible ansible locked and limited conversation to collaborators Jul 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.7 This issue/PR affects Ansible v2.7 cloud community_review In order to be merged, this PR must follow the community review workflow. feature This issue/PR relates to a feature request. module This issue/PR relates to a module. new_contributor This PR is the first contribution by a new community member. support:community This issue/PR relates to code supported by the Ansible community.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Serverless Module - Support Verbose Mode
4 participants