From 89730dfca4ae79664d05319127c2c2c33d72a35e Mon Sep 17 00:00:00 2001 From: Robert de Bock Date: Wed, 4 Dec 2019 07:20:50 +0100 Subject: [PATCH] Update all generated files --- .ansible-lint | 1 + .github/ISSUE_TEMPLATE/bug_report.md | 27 ++++++++++++++------------- README.md | 1 - molecule.yml | 21 +++++++++++++++++++++ 4 files changed, 36 insertions(+), 14 deletions(-) create mode 100644 molecule.yml diff --git a/.ansible-lint b/.ansible-lint index ee89987..f2934a8 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -1,3 +1,4 @@ exclude_paths: - ./meta/version.yml - ./meta/exception.yml + - ./meta/preferences.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index bd1a0dc..c695b98 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -7,21 +7,22 @@ about: Create a report to help us improve **Describe the bug** A clear and concise description of what the bug is. -**To Reproduce** -Steps to reproduce the behavior: -1. Run this role: -2. See error +**Playbook** +Please paste the playbook you are using. (Consider `requirements.yml` and +optionally the command you've invoked.) + + +```yaml +YOUR PLAYBOOK HERE +``` + +**Output** +Show at least the error, possible related output, maybe just all the output. **Expected behavior** A clear and concise description of what you expected to happen. -**Error** -Please show the resulting error. If applicable a snippet of the playbook including the role ran with `-vvv` - **Environment** -- Control node OS: [e.g. Debian 9] -- Control node Ansible version: [e.g. 2.6.2] -- Managed node OS: [e.g. CentOS 7] - -**Additional context** -Add any other context about the problem here. +- Control node OS: [e.g. Debian 9] (`cat /etc/os-release`) +- Control node Ansible version: [e.g. 2.9.1] (`ansible --version`) +- Managed node OS: [e.g. CentOS 7] (`cat /etc/os-release`) diff --git a/README.md b/README.md index e72fb70..4b24f99 100644 --- a/README.md +++ b/README.md @@ -146,7 +146,6 @@ This role [refers to a version](https://github.com/robertdebock/ansible-role-oms - [OMS Agent for Linux GA](https://github.com/microsoft/OMS-Agent-for-Linux/releases). This version reference means a role may get outdated. Monthly tests occur to see if [bit-rot](https://en.wikipedia.org/wiki/Software_rot) occured. If you however find a problem, please create an issue, I'll get on it as soon as possible. - Testing ------- diff --git a/molecule.yml b/molecule.yml new file mode 100644 index 0000000..636c675 --- /dev/null +++ b/molecule.yml @@ -0,0 +1,21 @@ +--- +dependency: + name: galaxy + options: + role-file: requirements.yml +lint: + name: yamllint +driver: + name: docker +platforms: + - name: "omsagent-${image:-fedora}-${tag:-latest}${TOX_ENVNAME}" + image: "${namespace:-robertdebock}/${image:-fedora}:${tag:-latest}" + command: /sbin/init + volumes: + - /sys/fs/cgroup:/sys/fs/cgroup:ro + privileged: yes + pre_build_image: yes +provisioner: + name: ansible +scenario: + name: default