|
1 |
| -[](https://github.com/marketplace/actions/check-ansible-ubuntu-latest) |
2 |
| -[](https://github.com/roles-ansible/check-ansible-ubuntu-latest-action/blob/master/LICENSE) |
| 1 | +[](https://github.com/marketplace/actions/check-ansible-ubuntu-trusty) |
| 2 | +[](https://github.com/roles-ansible/check-ansible-ubuntu-trusty-action/blob/master/LICENSE) |
3 | 3 |
|
4 |
| - Check Ansible Ubuntu latest |
| 4 | + Check Ansible Ubuntu trusty |
5 | 5 | =======================
|
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``. |
7 | 7 |
|
8 | 8 | ## 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. |
10 | 10 |
|
11 | 11 | For example:
|
12 | 12 |
|
13 | 13 | ```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 |
15 | 15 |
|
16 | 16 | on: [push, pull_request]
|
17 | 17 |
|
18 | 18 | jobs:
|
19 | 19 | build:
|
20 | 20 |
|
21 |
| - runs-on: ubuntu-latest |
| 21 | + runs-on: ubuntu-trusty |
22 | 22 |
|
23 | 23 | steps:
|
24 | 24 | # Important: This sets up your GITHUB_WORKSPACE environment variable
|
25 | 25 | - uses: actions/checkout@v2
|
26 | 26 |
|
27 |
| - - name: ansible check with ubuntu:latest |
| 27 | + - name: ansible check with ubuntu:trusty |
28 | 28 | # 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 |
30 | 30 | with:
|
31 | 31 | targets: "./"
|
32 | 32 | # [required]
|
|
41 | 41 | # the group you that we write in our hosts file.
|
42 | 42 | # example:
|
43 | 43 | # group: 'servers'
|
| 44 | + # |
44 | 45 | # hosts: ""
|
45 | 46 | # [optional]
|
46 | 47 | # When testing playbooks you have to give one example
|
|
50 | 51 | # some examples:
|
51 | 52 | # hosts: 'localhost'
|
52 | 53 | # hosts: 'srv01.example.com'
|
53 |
| - # requirements |
| 54 | + # |
| 55 | + # requirements: "" |
54 | 56 | # [optional]
|
55 | 57 | # When testing playbooks and you are using ansible galaxy,
|
56 | 58 | # you may be interested in installing your requirements
|
|
0 commit comments