From 65575380e6c3b9299b509f6dedebb6076a6bf58a Mon Sep 17 00:00:00 2001 From: Robert de Bock Date: Sat, 5 Jan 2019 21:55:12 +0000 Subject: [PATCH] Update the description of the role. --- README.md | 18 ++++++++++++------ meta/main.yml | 2 +- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 6e8524a..ccc3b5b 100644 --- a/README.md +++ b/README.md @@ -3,13 +3,13 @@ selinux [![Build Status](https://travis-ci.org/robertdebock/ansible-role-selinux.svg?branch=master)](https://travis-ci.org/robertdebock/ansible-role-selinux) -The purpose of this role is to install and configure selinux and it's required libraries on your system. +Install and configure selinux and it's required libraries on your system. Example Playbook ---------------- This example is taken from `molecule/default/playbook.yml`: -``` +```yaml --- - name: Converge hosts: all @@ -26,7 +26,7 @@ Role Variables -------------- These variables are set in `defaults/main.yml`: -``` +```yaml --- # defaults file for selinux @@ -55,10 +55,12 @@ Requirements The following roles can be installed to ensure all requirements are met, using `ansible-galaxy install -r requirements.yml`: +```yaml --- - robertdebock.bootstrap - robertdebock.reboot +``` Context ------- @@ -112,9 +114,13 @@ To test on Amazon EC2, configure [~/.aws/credentials](https://docs.aws.amazon.co There are many specific scenarios available, please have a look in the `molecule/` directory. Run the [ansible-galaxy](https://github.com/ansible/galaxy-lint-rules) and [my](https://github.com/robertdebock/ansible-lint-rules) lint rules if you want your change to be merges: -``` -ansible-lint -r /path/to/galaxy-lint-rules/rules . -ansible-lint -r /path/to/ansible-lint-rules/rules . + +```shell +git clone https://github.com/ansible/ansible-lint.git /tmp/ansible-lint +ansible-lint -r /tmp/ansible-lint/lib/ansiblelint/rules . + +git clone https://github.com/robertdebock/ansible-lint /tmp/my-ansible-lint +ansible-lint -r /tmp/my-ansible-lint/rules . ``` License diff --git a/meta/main.yml b/meta/main.yml index 391f810..16e6d65 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -2,7 +2,7 @@ galaxy_info: author: Robert de Bock role_name: selinux - description: The purpose of this role is to install and configure selinux and it's required libraries on your system. + description: Install and configure selinux and it's required libraries on your system. license: Apache-2.0 company: none min_ansible_version: 2.6