Skip to content

Commit

Permalink
Merge pull request #12 from Appsilon/feat/red-hat-support-CU-862j847m2
Browse files Browse the repository at this point in the history
feat: add support for RHEL 8
  • Loading branch information
koralowiec authored Feb 20, 2023
2 parents 90d2fa2 + 0bba87e commit 60d80f2
Show file tree
Hide file tree
Showing 19 changed files with 605 additions and 12 deletions.
1 change: 1 addition & 0 deletions .ansible-lint
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ exclude_paths:
- .github/
- .cache/
- molecule/default
- molecule/aws-ec2
offline: false
use_default_rules: true
parseable: true
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ jobs:
include:
- distro: ubuntu2004
ansible-version: '>=2.11.5'
- distro: rockylinux8
ansible-version: '>=2.11.5'

steps:
- name: Check out the codebase
Expand Down
5 changes: 0 additions & 5 deletions .yamllint
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
# Based on ansible-lint config

extends: default

rules:
Expand Down Expand Up @@ -32,7 +31,3 @@ rules:
type: unix
trailing-spaces: disable
truthy: disable

ignore: |
.tox/
venv
3 changes: 3 additions & 0 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ galaxy_info:
- name: Ubuntu
versions:
- focal
- name: EL
versions:
- "8"
galaxy_tags:
- development
- system
Expand Down
22 changes: 22 additions & 0 deletions molecule/aws-ec2/INSTALL.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
*********************************************
Amazon Web Services driver installation guide
*********************************************

Requirements
============

* An AWS credentials rc file

Install
=======

Please refer to the `Virtual environment`_ documentation for installation best
practices. If not using a virtual environment, please consider passing the
widely recommended `'--user' flag`_ when invoking ``pip``.

.. _Virtual environment: https://virtualenv.pypa.io/en/latest/
.. _'--user' flag: https://packaging.python.org/tutorials/installing-packages/#installing-to-the-user-site

.. code-block:: bash
$ pip install 'molecule-ec2'
11 changes: 11 additions & 0 deletions molecule/aws-ec2/converge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
- name: Converge
hosts: all
become: true
pre_tasks:
- name: Include vars
include_vars: "{{ playbook_dir }}/../../tests/vars/main.yml"
tasks:
- name: "Include ansible-python-install"
include_role:
name: "ansible-python-install"
Loading

0 comments on commit 60d80f2

Please sign in to comment.