Init this thing
continuous-integration/drone/push Build was killed Details

This commit is contained in:
decentral1se 2021-07-30 13:24:12 +02:00 committed by decentral1se
commit e623f61f27
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
9 changed files with 111 additions and 0 deletions

9
.drone.yml Normal file
View File

@ -0,0 +1,9 @@
---
kind: pipeline
name: default
steps:
- name: molecule test
image: python
commands:
- pip install -r requirements.txt
- molecule test

9
.envrc.sample Normal file
View File

@ -0,0 +1,9 @@
export ANSIBLE_USER=$REMOTE_USER
export REMOTE_USER=decentral1se
export INSTANCE_UUID=$RANDOM
export MOLECULE_NO_LOG=False
export PASSWORD_STORE_DIR=$(pwd)/../../autonomic/passwords/passwords/
export HCLOUD_TOKEN=$(pass show logins/hetzner/cicd/api_key)

5
README.md Normal file
View File

@ -0,0 +1,5 @@
# serverscoop.capsul
[![Build Status](https://build.coopcloud.tech/api/badges/servers.coop/ansible-capsul/status.svg?ref=refs/heads/main)](https://build.coopcloud.tech/servers.coop/ansible-capsul)
> Provision [Capsul](https://git.cyberia.club/Cyberia/capsul-flask) with [Ansible](https://docs.ansible.com)

View File

@ -0,0 +1 @@
---

View File

@ -0,0 +1,5 @@
---
- name: Converge
hosts: all
roles:
- role: ansible-capsul

View File

@ -0,0 +1,15 @@
---
dependency:
name: galaxy
driver:
name: hetznercloud
platforms:
- name: "ansible-capsul-${INSTANCE_UUID}"
server_type: cx11
image: debian-10
provisioner:
name: ansible
lint: |
set -e
yamllint .
ansible-lint .

View File

@ -0,0 +1 @@
---

9
makefile Normal file
View File

@ -0,0 +1,9 @@
ROLE := ansible-capsul
deps:
@if [ ! -d ".venv" ]; then python3 -m venv .venv && .venv/bin/pip install -r requirements.txt; fi
test:
cd $(ROLE) && ../.venv/bin/molecule test --destroy=never
.PHONY: deps test

57
requirements.txt Normal file
View File

@ -0,0 +1,57 @@
ansible==5.7.1
ansible-compat==2.0.3
ansible-core==2.12.5
ansible-lint==6.1.0
arrow==1.2.2
attrs==21.4.0
bcrypt==3.2.2
binaryornot==0.4.4
bracex==2.2.1
Cerberus==1.3.2
certifi==2021.10.8
cffi==1.15.0
chardet==4.0.0
charset-normalizer==2.0.12
click==8.1.3
click-help-colors==0.9.1
commonmark==0.9.1
cookiecutter==1.7.3
cryptography==37.0.2
enrich==1.2.7
future==0.18.2
hcloud==1.16.0
idna==3.3
iniconfig==1.1.1
Jinja2==3.1.2
jinja2-time==0.2.0
jsonschema==4.5.1
MarkupSafe==2.1.1
molecule==3.6.1
molecule-hetznercloud==1.3.0
packaging==21.3
paramiko==2.10.4
pathspec==0.9.0
pluggy==1.0.0
poyo==0.5.0
py==1.11.0
pycparser==2.21
Pygments==2.12.0
PyNaCl==1.5.0
pyparsing==3.0.9
pyrsistent==0.18.1
pytest==7.1.2
python-dateutil==2.8.2
python-slugify==6.1.2
PyYAML==5.4.1
requests==2.27.1
resolvelib==0.5.4
rich==12.4.1
ruamel.yaml==0.17.21
ruamel.yaml.clib==0.2.6
six==1.16.0
subprocess-tee==0.3.5
text-unidecode==1.3
tomli==2.0.1
urllib3==1.26.9
wcmatch==8.3
yamllint==1.26.3