Compare commits
17 Commits
0.1.0
...
5ede98068c
Author | SHA1 | Date | |
---|---|---|---|
5ede98068c | |||
dffb78b9be | |||
f87a4b935b | |||
be11953df8 | |||
0708750fc0 | |||
1c5a6e1d7f | |||
a1450c267e | |||
04ec7a2903 | |||
f0af3f7c93 | |||
5f7980f3dd | |||
bc062e2035 | |||
30c77a7b79 | |||
05c8947ebc | |||
f958a51e75 | |||
545a578951 | |||
922fe738a9 | |||
6d71a5bd31 |
@ -3,7 +3,7 @@ kind: pipeline
|
|||||||
name: default
|
name: default
|
||||||
steps:
|
steps:
|
||||||
- name: integration test
|
- name: integration test
|
||||||
image: python:3.9-buster
|
image: python:3.10-buster
|
||||||
environment:
|
environment:
|
||||||
REMOTE_USER: molecule
|
REMOTE_USER: molecule
|
||||||
HCLOUD_TOKEN:
|
HCLOUD_TOKEN:
|
||||||
|
@ -8,9 +8,10 @@
|
|||||||
new_hetzner_server_image: debian-10
|
new_hetzner_server_image: debian-10
|
||||||
new_hetzner_delete_protection: false
|
new_hetzner_delete_protection: false
|
||||||
new_hetzner_rebuild_protection: false
|
new_hetzner_rebuild_protection: false
|
||||||
|
new_hetzner_user_accounts: files/members.yml
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- name: Include resource variables
|
- name: Include resource variables
|
||||||
include_vars: files/members.yml
|
include_vars: "{{ new_hetzner_user_accounts }}"
|
||||||
tasks:
|
tasks:
|
||||||
- name: Run the role under test
|
- name: Run the role under test
|
||||||
block:
|
block:
|
||||||
|
@ -2,12 +2,12 @@
|
|||||||
roles:
|
roles:
|
||||||
- name: autonomic.add-users
|
- name: autonomic.add-users
|
||||||
src: https://git.autonomic.zone/autonomic-cooperative/autonomic.add-users
|
src: https://git.autonomic.zone/autonomic-cooperative/autonomic.add-users
|
||||||
version: 0.1.0
|
version: 0.1.1
|
||||||
scm: git
|
scm: git
|
||||||
|
|
||||||
- name: autonomic.sshd
|
- name: autonomic.sshd
|
||||||
src: https://git.autonomic.zone/autonomic-cooperative/autonomic.sshd
|
src: https://git.autonomic.zone/autonomic-cooperative/autonomic.sshd
|
||||||
version: 0.1.0
|
version: 0.1.1
|
||||||
scm: git
|
scm: git
|
||||||
|
|
||||||
- name: autonomic.ufw
|
- name: autonomic.ufw
|
||||||
@ -32,4 +32,4 @@ roles:
|
|||||||
|
|
||||||
collections:
|
collections:
|
||||||
- name: hetzner.hcloud
|
- name: hetzner.hcloud
|
||||||
version: 1.6.0
|
version: 1.8.1
|
||||||
|
3
renovate.json
Normal file
3
renovate.json
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
|
||||||
|
}
|
@ -1,5 +1,5 @@
|
|||||||
ansible-lint==6.0.0
|
ansible-lint==6.3.0
|
||||||
ansible==5.4.0
|
ansible==6.0.0
|
||||||
molecule-docker==1.1.0
|
molecule-docker==1.1.0
|
||||||
molecule-hetznercloud==1.3.0
|
molecule-hetznercloud==1.3.0
|
||||||
molecule==3.6.1
|
molecule==4.0.0
|
||||||
|
@ -4,13 +4,13 @@
|
|||||||
that: "{{ item }} is defined"
|
that: "{{ item }} is defined"
|
||||||
fail_msg: "You must define the '{{ item }}' variable"
|
fail_msg: "You must define the '{{ item }}' variable"
|
||||||
with_items:
|
with_items:
|
||||||
- members
|
- new_hetzner_user_accounts
|
||||||
- new_hetzner_server_image
|
- new_hetzner_server_image
|
||||||
- new_hetzner_server_name
|
- new_hetzner_server_name
|
||||||
- new_hetzner_server_type
|
- new_hetzner_server_type
|
||||||
|
|
||||||
- name: Include resource variables
|
- name: Include resource variables
|
||||||
include_vars: "{{ members }}"
|
include_vars: "{{ new_hetzner_user_accounts }}"
|
||||||
tags:
|
tags:
|
||||||
- molecule-notest
|
- molecule-notest
|
||||||
|
|
||||||
@ -66,7 +66,7 @@
|
|||||||
|
|
||||||
- name: Run the add-users role on the new instance
|
- name: Run the add-users role on the new instance
|
||||||
vars:
|
vars:
|
||||||
members: "{{ members }}"
|
add_users_user_accounts: "{{ new_hetzner_user_accounts }}"
|
||||||
delegate_to: root-new-instance
|
delegate_to: root-new-instance
|
||||||
import_role:
|
import_role:
|
||||||
name: autonomic.add-users
|
name: autonomic.add-users
|
||||||
@ -74,6 +74,8 @@
|
|||||||
- molecule-notest
|
- molecule-notest
|
||||||
|
|
||||||
- name: Run the sshd role on the new instance
|
- name: Run the sshd role on the new instance
|
||||||
|
vars:
|
||||||
|
sshd_user_accounts: "{{ new_hetzner_user_accounts }}"
|
||||||
delegate_to: root-new-instance
|
delegate_to: root-new-instance
|
||||||
import_role:
|
import_role:
|
||||||
name: autonomic.sshd
|
name: autonomic.sshd
|
||||||
|
Reference in New Issue
Block a user