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
20c5a8a77c
commit
c347a0d711
@ -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: c0340a399cac04f59310a7c888ad60ccfd8aa8a2b742c8eafac01c38237c7878
|
hmac: 71a2d2321b3783336bef59723e254c6ec405d5144fb40291bba5eb70ed631792
|
||||||
|
|
||||||
...
|
...
|
||||||
|
@ -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:
|
||||||
|
@ -24,3 +24,5 @@ galaxy_info:
|
|||||||
- password
|
- password
|
||||||
- save
|
- save
|
||||||
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:
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
---
|
|
||||||
- src: https://gitea.rknet.org/ansible/xoxys.docker_engine.git
|
|
||||||
name: xoxys.docker_engine
|
|
||||||
scm: git
|
|
||||||
version: master
|
|
||||||
|
|
||||||
- src: https://gitea.rknet.org/ansible/xoxys.postgres.git
|
|
||||||
name: xoxys.postgres
|
|
||||||
scm: git
|
|
||||||
version: master
|
|
16
molecule/requirements.yml
Normal file
16
molecule/requirements.yml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
collections:
|
||||||
|
- name: https://gitea.rknet.org/ansible/xoxys.general/releases/download/v1.1.0/xoxys-general-1.1.0.tar.gz
|
||||||
|
|
||||||
|
- name: community.general
|
||||||
|
|
||||||
|
roles:
|
||||||
|
- src: https://gitea.rknet.org/ansible/xoxys.docker_engine.git
|
||||||
|
name: xoxys.docker_engine
|
||||||
|
scm: git
|
||||||
|
version: master
|
||||||
|
|
||||||
|
- src: https://gitea.rknet.org/ansible/xoxys.postgres.git
|
||||||
|
name: xoxys.postgres
|
||||||
|
scm: git
|
||||||
|
version: master
|
@ -22,7 +22,5 @@
|
|||||||
remove_orphans: yes
|
remove_orphans: yes
|
||||||
stopped: "{{ bitwardenrs_service_stopped }}"
|
stopped: "{{ bitwardenrs_service_stopped }}"
|
||||||
state: present
|
state: present
|
||||||
# temp. disable changes; breaks idempotency for whatever reason
|
|
||||||
changed_when: False
|
|
||||||
become: True
|
become: True
|
||||||
become_user: root
|
become_user: root
|
||||||
|
Loading…
Reference in New Issue
Block a user