From c0da14f862aaa7a5d9adac6c65ab1f5f02e76726 Mon Sep 17 00:00:00 2001 From: Niall Byrne Date: Tue, 22 Jun 2021 12:29:51 -0400 Subject: [PATCH] build(POETRY): update ansible to ^4.1.0, make a note about python version --- README.md | 7 ++++++- {{cookiecutter.project_slug}}/pyproject.toml | 5 ++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 94feedea..c6cfd24d 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,12 @@ Ansible Role Development Environment. This template generates a development environment for Ansible Roles with a functional CI/CD template for both Travis CI and Github. -## Getting Started +## Requirements +You'll need [Python](https://www.python.org/) 3.6.1 or later to use this template. + +Warning: [Ansible is moving towards Python 3.8 soon](https://github.com/ansible/ansible/issues/72668). + +## Quick Start Guide - `pip install cookiecutter poetry` - `cookiecutter https://github.com/shared-vision-solutions/ansible-workbench.git --checkout v0.1.0` diff --git a/{{cookiecutter.project_slug}}/pyproject.toml b/{{cookiecutter.project_slug}}/pyproject.toml index ccf69f58..81953e0a 100644 --- a/{{cookiecutter.project_slug}}/pyproject.toml +++ b/{{cookiecutter.project_slug}}/pyproject.toml @@ -1,12 +1,12 @@ [tool.poetry] name = "{{cookiecutter.project_slug}}" -version = "0.1.0" +version = "0.1.1" description = "{{cookiecutter.description}}" authors = ["{{cookiecutter.author}} <{{cookiecutter.email}}>"] [tool.poetry.dependencies] python = ">=3.6.1,<4.0" -ansible = "^3.3.0" +ansible = "^4.1.0" [tool.poetry.dev-dependencies] ansible-lint = "^5.0.8" @@ -14,7 +14,6 @@ commitizen = "^2.17.6" molecule = {extras = ["docker"], version = "^3.3.0"} yamllint = "^1.26.1" - [build-system] requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api"