migrate dependencies to collections
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
8b3cf061a8
commit
1c704847ac
@ -39,11 +39,9 @@ local PipelineDeployment(scenario='centos7') = {
|
|||||||
image: 'xoxys/molecule:3',
|
image: 'xoxys/molecule:3',
|
||||||
environment: {
|
environment: {
|
||||||
DO_API_KEY: { from_secret: 'do_api_key' },
|
DO_API_KEY: { from_secret: 'do_api_key' },
|
||||||
MOLECULE_CUSTOM_MODULES_REPO: 'https://gitea.rknet.org/ansible/custom_modules',
|
|
||||||
MOLECULE_CUSTOM_FILTERS_REPO: 'https://gitea.rknet.org/ansible/custom_filters',
|
|
||||||
},
|
},
|
||||||
commands: [
|
commands: [
|
||||||
'molecule test -s' + scenario,
|
'molecule test -s ' + scenario,
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
@ -37,12 +37,10 @@ steps:
|
|||||||
- name: ansible-molecule
|
- name: ansible-molecule
|
||||||
image: xoxys/molecule:3
|
image: xoxys/molecule:3
|
||||||
commands:
|
commands:
|
||||||
- molecule test -scentos7
|
- molecule test -s centos7
|
||||||
environment:
|
environment:
|
||||||
DO_API_KEY:
|
DO_API_KEY:
|
||||||
from_secret: do_api_key
|
from_secret: do_api_key
|
||||||
MOLECULE_CUSTOM_FILTERS_REPO: https://gitea.rknet.org/ansible/custom_filters
|
|
||||||
MOLECULE_CUSTOM_MODULES_REPO: https://gitea.rknet.org/ansible/custom_modules
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
ref:
|
ref:
|
||||||
@ -146,6 +144,6 @@ depends_on:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 8503c584dab751422cd933fe3b65a58aa6c08e9826d8244a18e66a7c3c33bbec
|
hmac: 2a8cf34022763617746e1bcb7c899d0d99722f8473c93b8d5b9a7301a296d3b8
|
||||||
|
|
||||||
...
|
...
|
||||||
|
@ -3,9 +3,10 @@ ansible:
|
|||||||
custom_modules:
|
custom_modules:
|
||||||
- iptables_raw
|
- iptables_raw
|
||||||
- openssl_pkcs12
|
- openssl_pkcs12
|
||||||
- proxmox_kvm2
|
- proxmox_kvm
|
||||||
- ucr
|
- ucr
|
||||||
- yum_versionlock
|
- corenetworks_dns
|
||||||
|
- corenetworks_token
|
||||||
|
|
||||||
rules:
|
rules:
|
||||||
exclude_files:
|
exclude_files:
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
# Standards: 0.1
|
# Standards: 0.1
|
||||||
---
|
---
|
||||||
galaxy_info:
|
galaxy_info:
|
||||||
# @meta author:value: [Robert Kaussow](https://gitea.rknet.org/xoxys)
|
# @meta author:value: [Robert Kaussow](https://gitea.rknet.org/xoxys)
|
||||||
author: Robert Kaussow <mail@geeklabor.de>
|
author: Robert Kaussow <mail@geeklabor.de>
|
||||||
# @meta description: >
|
# @meta description: >
|
||||||
# [![Source Code](https://img.shields.io/badge/gitea-source%20code-blue?logo=gitea&logoColor=white)](https://gitea.rknet.org/ansible/xoxys.facts)
|
# [![Source Code](https://img.shields.io/badge/gitea-source%20code-blue?logo=gitea&logoColor=white)](https://gitea.rknet.org/ansible/xoxys.facts)
|
||||||
# [![Build Status](https://img.shields.io/drone/build/ansible/xoxys.facts?logo=drone&server=https%3A%2F%2Fdrone.rknet.org)](https://drone.rknet.org/ansible/xoxys.facts)
|
# [![Build Status](https://img.shields.io/drone/build/ansible/xoxys.facts?logo=drone&server=https%3A%2F%2Fdrone.rknet.org)](https://drone.rknet.org/ansible/xoxys.facts)
|
||||||
# [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://gitea.rknet.org/ansible/xoxys.facts/src/branch/master/LICENSE)
|
# [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://gitea.rknet.org/ansible/xoxys.facts/src/branch/master/LICENSE)
|
||||||
#
|
#
|
||||||
# Setup ansible custom facts environment.
|
# Setup ansible custom facts environment.
|
||||||
# @end
|
# @end
|
||||||
description: Setup ansible custom facts environment
|
description: Setup ansible custom facts environment
|
||||||
license: MIT
|
license: MIT
|
||||||
min_ansible_version: 2.8
|
min_ansible_version: 2.8
|
||||||
@ -21,3 +21,5 @@ galaxy_info:
|
|||||||
- facts
|
- facts
|
||||||
- ansible
|
- ansible
|
||||||
dependencies: []
|
dependencies: []
|
||||||
|
collections:
|
||||||
|
- community.general
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
---
|
---
|
||||||
dependency:
|
dependency:
|
||||||
name: galaxy
|
name: galaxy
|
||||||
|
options:
|
||||||
|
role-file: molecule/requirements.yml
|
||||||
|
requirements-file: molecule/requirements.yml
|
||||||
driver:
|
driver:
|
||||||
name: delegated
|
name: delegated
|
||||||
platforms:
|
platforms:
|
||||||
@ -9,7 +12,7 @@ platforms:
|
|||||||
image_id: centos-7-x64
|
image_id: centos-7-x64
|
||||||
size_id: s-1vcpu-1gb
|
size_id: s-1vcpu-1gb
|
||||||
lint: |
|
lint: |
|
||||||
flake8
|
/usr/local/bin/flake8
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
|
5
molecule/requirements.yml
Normal file
5
molecule/requirements.yml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
collections:
|
||||||
|
- name: https://gitea.rknet.org/ansible/xoxys.general/releases/download/v1.1.0/xoxys-general-1.1.0.tar.gz
|
||||||
|
|
||||||
|
- name: community.general
|
Loading…
Reference in New Issue
Block a user