migrate dependencies to collections
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
7ad53e56eb
commit
f6df4af2eb
@ -39,8 +39,6 @@ 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,
|
||||||
|
@ -41,8 +41,6 @@ steps:
|
|||||||
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: 3d97504a1809878c4f70d87bf21972d1ca20f3742f6df9b9320274fd904efde9
|
hmac: 793544f2400ca29c285b27151417607a13bc4f5c9474ace7c8614ac3f58fc05e
|
||||||
|
|
||||||
...
|
...
|
||||||
|
@ -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,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:
|
||||||
|
3
molecule/requirements.yml
Normal file
3
molecule/requirements.yml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
collections:
|
||||||
|
- name: https://gitea.rknet.org/ansible/xoxys.general/releases/download/v1.1.0/xoxys-general-1.1.0.tar.gz
|
@ -11,12 +11,12 @@
|
|||||||
|
|
||||||
[registries.search]
|
[registries.search]
|
||||||
#registries = ['registry.access.redhat.com']
|
#registries = ['registry.access.redhat.com']
|
||||||
registries = [{{ dockerengine_secure_registries | wrap | join(',') }}]
|
registries = [{{ dockerengine_secure_registries | xoxys.general.wrap | join(',') }}]
|
||||||
|
|
||||||
# If you need to access insecure registries, add the registry's fully-qualified name.
|
# If you need to access insecure registries, add the registry's fully-qualified name.
|
||||||
# An insecure registry is one that does not have a valid SSL certificate or only does HTTP.
|
# An insecure registry is one that does not have a valid SSL certificate or only does HTTP.
|
||||||
[registries.insecure]
|
[registries.insecure]
|
||||||
registries = [{{ dockerengine_insecure_registries | wrap | join(',') }}]
|
registries = [{{ dockerengine_insecure_registries | xoxys.general.wrap | join(',') }}]
|
||||||
|
|
||||||
|
|
||||||
# If you need to block pull access from a registry, uncomment the section below
|
# If you need to block pull access from a registry, uncomment the section below
|
||||||
@ -24,4 +24,4 @@ registries = [{{ dockerengine_insecure_registries | wrap | join(',') }}]
|
|||||||
#
|
#
|
||||||
# Docker only
|
# Docker only
|
||||||
[registries.block]
|
[registries.block]
|
||||||
registries = [{{ dockerengine_block_registries | wrap | join(',') }}]
|
registries = [{{ dockerengine_block_registries | xoxys.general.wrap | join(',') }}]
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{{ ansible_managed | comment }}
|
{{ ansible_managed | comment }}
|
||||||
# Modify these options if you want to change the way the docker daemon runs
|
# Modify these options if you want to change the way the docker daemon runs
|
||||||
OPTIONS='{{ dockerengine_cli_options | prefix | join(' ') }}{{ ' --userns-remap='+dockerengine_nsremap_user+':'+dockerengine_nsremap_user if dockerengine_usernamespace_enabled | bool else '' }}'
|
OPTIONS='{{ dockerengine_cli_options | xoxys.general.prefix | join(' ') }}{{ ' --userns-remap='+dockerengine_nsremap_user+':'+dockerengine_nsremap_user if dockerengine_usernamespace_enabled | bool else '' }}'
|
||||||
if [ -z "${DOCKER_CERT_PATH}" ]; then
|
if [ -z "${DOCKER_CERT_PATH}" ]; then
|
||||||
DOCKER_CERT_PATH=/etc/docker
|
DOCKER_CERT_PATH=/etc/docker
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user