mirror of
https://github.com/nicolabs/ansible-role-grub.git
synced 2025-09-07 18:11:07 +02:00
List requirements with their build status.
This commit is contained in:
parent
f25bb96a87
commit
959ee144ab
28
README.md
28
README.md
|
@ -25,7 +25,7 @@ This example is taken from `molecule/resources/converge.yml` and is tested on ea
|
||||||
value: 0
|
value: 0
|
||||||
```
|
```
|
||||||
|
|
||||||
The machine may need to be prepared using `molecule/resources/prepare.yml`:
|
The machine needs to be prepared in CI this is done using `molecule/resources/prepare.yml`:
|
||||||
```yaml
|
```yaml
|
||||||
---
|
---
|
||||||
- name: prepare
|
- name: prepare
|
||||||
|
@ -49,22 +49,6 @@ The machine may need to be prepared using `molecule/resources/prepare.yml`:
|
||||||
mode: "0664"
|
mode: "0664"
|
||||||
```
|
```
|
||||||
|
|
||||||
For verification `molecule/resources/verify.yml` runs after the role has been applied.
|
|
||||||
```yaml
|
|
||||||
---
|
|
||||||
- name: Verify
|
|
||||||
hosts: all
|
|
||||||
become: yes
|
|
||||||
gather_facts: no
|
|
||||||
|
|
||||||
tasks:
|
|
||||||
- name: check that bogus options are in
|
|
||||||
command: grep 'a=1' /etc/default/grub
|
|
||||||
|
|
||||||
- name: check that selected option is in
|
|
||||||
command: grep 'cgroup_enable=memory' /etc/default/grub
|
|
||||||
```
|
|
||||||
|
|
||||||
Also see a [full explanation and example](https://robertdebock.nl/how-to-use-these-roles.html) on how to use these roles.
|
Also see a [full explanation and example](https://robertdebock.nl/how-to-use-these-roles.html) on how to use these roles.
|
||||||
|
|
||||||
## [Role Variables](#role-variables)
|
## [Role Variables](#role-variables)
|
||||||
|
@ -89,13 +73,11 @@ grub_recordfail_timeout: "{{ grub_timeout }}"
|
||||||
- Access to a repository containing packages, likely on the internet.
|
- Access to a repository containing packages, likely on the internet.
|
||||||
- A recent version of Ansible. (Tests run on the current, previous and next release of Ansible.)
|
- A recent version of Ansible. (Tests run on the current, previous and next release of Ansible.)
|
||||||
|
|
||||||
The following roles can be installed to ensure all requirements are met, using `ansible-galaxy install -r requirements.yml`:
|
## [Status of requirements](#status-of-requirements)
|
||||||
|
|
||||||
```yaml
|
| Requirement | Travis | GitHub |
|
||||||
---
|
|-------------|--------|--------|
|
||||||
- robertdebock.bootstrap
|
| [robertdebock.bootstrap](https://galaxy.ansible.com/robertdebock/bootstrap) | [](https://travis-ci.com/robertdebock/ansible-role-bootstrap) | [](https://github.com/robertdebock/ansible-role-bootstrap/actions) |
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
## [Context](#context)
|
## [Context](#context)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue