Skip to content
This repository was archived by the owner on Apr 25, 2023. It is now read-only.

Commit a93d100

Browse files
committed
Add testing for ubuntu:trusty
1 parent a0b9dee commit a93d100

File tree

3 files changed

+19
-17
lines changed

3 files changed

+19
-17
lines changed

Dockerfile

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
FROM ubuntu:latest
1+
FROM ubuntu:trusty
22

33
LABEL "maintainer"="L3D <[email protected]>"
4-
LABEL "repository"="https://github.com/roles-ansible/check-ansible-ubuntu-latest-action.git"
5-
LABEL "homepage"="https://github.com/roles-ansible/check-ansible-ubuntu-latest-action"
4+
LABEL "repository"="https://github.com/roles-ansible/check-ansible-ubuntu-trusty-action.git"
5+
LABEL "homepage"="https://github.com/roles-ansible/check-ansible-ubuntu-trusty-action"
66

7-
LABEL "com.github.actions.name"="check-ansible-ubuntu-latest"
8-
LABEL "com.github.actions.description"="Check ansible role or playbook with Ubuntu latest"
7+
LABEL "com.github.actions.name"="check-ansible-ubuntu-trusty"
8+
LABEL "com.github.actions.description"="Check ansible role or playbook with Ubuntu trusty"
99
LABEL "com.github.actions.icon"="aperture"
1010
LABEL "com.github.actions.color"="green"
1111

README.md

+12-10
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
1-
[![Github Marketplace](https://raw.githubusercontent.com/roles-ansible/check-ansible-ubuntu-latest-action/master/.github/marketplace.svg?sanitize=true)](https://github.com/marketplace/actions/check-ansible-ubuntu-latest)
2-
[![MIT License](https://raw.githubusercontent.com/roles-ansible/check-ansible-ubuntu-latest-action/master/.github/license.svg?sanitize=true)](https://github.com/roles-ansible/check-ansible-ubuntu-latest-action/blob/master/LICENSE)
1+
[![Github Marketplace](https://raw.githubusercontent.com/roles-ansible/check-ansible-ubuntu-trusty-action/master/.github/marketplace.svg?sanitize=true)](https://github.com/marketplace/actions/check-ansible-ubuntu-trusty)
2+
[![MIT License](https://raw.githubusercontent.com/roles-ansible/check-ansible-ubuntu-trusty-action/master/.github/license.svg?sanitize=true)](https://github.com/roles-ansible/check-ansible-ubuntu-trusty-action/blob/master/LICENSE)
33

4-
Check Ansible Ubuntu latest
4+
Check Ansible Ubuntu trusty
55
=======================
6-
This action allows you to test your ansible role or your playbook in a Docker Container with ``ubuntu:latest``.
6+
This action allows you to test your ansible role or your playbook in a Docker Container with ``ubuntu:trusty``.
77

88
## Usage
9-
To use the action simply create an ``ansible-ubuntu-latest.yml`` *(or choose custom ``*.yml`` name)* in the ``.github/workflows/`` directory.
9+
To use the action simply create an ``ansible-ubuntu-trusty.yml`` *(or choose custom ``*.yml`` name)* in the ``.github/workflows/`` directory.
1010

1111
For example:
1212

1313
```yaml
14-
name: Ansible check ubuntu:latest # feel free to pick your own name
14+
name: Ansible check ubuntu:trusty # feel free to pick your own name
1515

1616
on: [push, pull_request]
1717

1818
jobs:
1919
build:
2020

21-
runs-on: ubuntu-latest
21+
runs-on: ubuntu-trusty
2222

2323
steps:
2424
# Important: This sets up your GITHUB_WORKSPACE environment variable
2525
- uses: actions/checkout@v2
2626

27-
- name: ansible check with ubuntu:latest
27+
- name: ansible check with ubuntu:trusty
2828
# replace "master" with any valid ref
29-
uses: roles-ansible/check-ansible-ubuntu-latest-action@master
29+
uses: roles-ansible/check-ansible-ubuntu-trusty-action@master
3030
with:
3131
targets: "./"
3232
# [required]
@@ -41,6 +41,7 @@ jobs:
4141
# the group you that we write in our hosts file.
4242
# example:
4343
# group: 'servers'
44+
#
4445
# hosts: ""
4546
# [optional]
4647
# When testing playbooks you have to give one example
@@ -50,7 +51,8 @@ jobs:
5051
# some examples:
5152
# hosts: 'localhost'
5253
# hosts: 'srv01.example.com'
53-
# requirements
54+
#
55+
# requirements: ""
5456
# [optional]
5557
# When testing playbooks and you are using ansible galaxy,
5658
# you may be interested in installing your requirements

action.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
name: Check Ansible Ubuntu latest
2-
description: Check ansible role or playbook with the ubuntu:latest docker container
1+
name: Check Ansible Ubuntu trusty
2+
description: Check ansible role or playbook with the ubuntu:trusty docker container
33
author: L3D <[email protected]>
44

55
inputs:

0 commit comments

Comments
 (0)