mirror of
https://github.com/roles-ansible/ansible_collection_linux.git
synced 2024-09-12 00:04:41 +02:00
Create l3d.linux.packages
This commit is contained in:
parent
648b72ed8a
commit
67b542aa0e
4 changed files with 8 additions and 4 deletions
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule "roles/packages"]
|
||||||
|
path = roles/packages
|
||||||
|
url = https://github.com/roles-ansible/ansible_role_packages.git
|
|
@ -46,13 +46,13 @@ collections:
|
||||||
```
|
```
|
||||||
|
|
||||||
## Include roles in your playbook
|
## Include roles in your playbook
|
||||||
Example Playbook using the l3d.linux.package role:
|
Example Playbook using the l3d.linux.packages role:
|
||||||
```yaml
|
```yaml
|
||||||
---
|
---
|
||||||
- name: "Install NTP Server from collection l3d.linux"
|
- name: "Install NTP Server from collection l3d.linux"
|
||||||
hosts: ntp.example.com
|
hosts: ntp.example.com
|
||||||
roles:
|
roles:
|
||||||
- {role: l3d.linux.ntp, tags: ntp}
|
- {role: l3d.linux.packages, tags: ntp}
|
||||||
vars:
|
vars:
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ authors:
|
||||||
|
|
||||||
### OPTIONAL but strongly recommended
|
### OPTIONAL but strongly recommended
|
||||||
# A short summary description of the collection
|
# A short summary description of the collection
|
||||||
description: Ansible Collection for common linux tasks like package installation
|
description: Ansible Collection for common linux tasks like packages installation
|
||||||
|
|
||||||
# Either a single license or a list of licenses for content inside of a collection. Ansible Galaxy currently only
|
# Either a single license or a list of licenses for content inside of a collection. Ansible Galaxy currently only
|
||||||
# accepts L(SPDX,https://spdx.org/licenses/) licenses. This key is mutually exclusive with 'license_file'
|
# accepts L(SPDX,https://spdx.org/licenses/) licenses. This key is mutually exclusive with 'license_file'
|
||||||
|
@ -40,7 +40,7 @@ tags:
|
||||||
# L(specifiers,https://python-semanticversion.readthedocs.io/en/latest/#requirement-specification). Multiple version
|
# L(specifiers,https://python-semanticversion.readthedocs.io/en/latest/#requirement-specification). Multiple version
|
||||||
# range specifiers can be set and are separated by ','
|
# range specifiers can be set and are separated by ','
|
||||||
dependencies:
|
dependencies:
|
||||||
"community.general": ">=8.0.2"
|
"community.general": ">=8.6.0"
|
||||||
|
|
||||||
# The URL of the originating SCM repository
|
# The URL of the originating SCM repository
|
||||||
repository: https://github.com/roles-ansible/ansible_collection_linux.git
|
repository: https://github.com/roles-ansible/ansible_collection_linux.git
|
||||||
|
|
1
roles/packages
Submodule
1
roles/packages
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 43229cf0d9561248625ada346c86e03f6fee4b71
|
Loading…
Reference in a new issue