12 Commits

Author SHA1 Message Date
923d38cde1 Merge pull request 'Update dependency ansible to v6 (main)' (#10) from renovate/main-ansible-6.x into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #10
2022-07-19 13:51:07 +02:00
aa928f267d Update dependency ansible to v6
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is passing
2022-06-29 07:04:39 +00:00
865ef25d19 Update dependency ansible to v5.10.0
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is passing
2022-06-29 07:04:27 +00:00
91a4a6ddd0 Update dependency python to v3.10
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is passing
2022-06-17 07:05:23 +00:00
676cce9412 Update dependency ansible-lint to v6.3.0
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is passing
2022-06-17 07:05:09 +00:00
d8bdd38dfe Update dependency ansible-lint to v6.2.2
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is passing
2022-06-09 07:01:53 +00:00
7b7bc893c5 Update dependency ansible to v5.9.0
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is passing
2022-06-09 07:01:44 +00:00
06fcf759d3 Merge pull request 'Configure Renovate' (#4) from renovate/configure into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #4
2022-06-03 09:20:33 +02:00
cbf351bd18 Add renovate.json
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is passing
2022-06-03 07:02:12 +00:00
65d5e5478f use scoped var
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-31 09:14:59 +02:00
934b471467 add proper galaxy info [ci skip] 2022-05-30 10:02:04 +02:00
bb6bf38efe add license
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-30 09:19:51 +02:00
7 changed files with 27 additions and 7 deletions

View File

@ -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:

15
LICENSE Normal file
View File

@ -0,0 +1,15 @@
autonomic.add-users: create system user accounts
Copyright (C) 2022 Autonomic Co-operative <helo@autonomic.zone>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.

View File

@ -1,6 +1,8 @@
--- ---
dependencies: [] dependencies: []
galaxy_info: galaxy_info:
role_name: add_users
namespace: autonomic
author: autonomic author: autonomic
description: Create system user accounts description: Create system user accounts
company: Autonomic company: Autonomic

View File

@ -2,7 +2,7 @@
- name: Converge - name: Converge
hosts: all hosts: all
vars: vars:
members: files/members.yml add_users_user_accounts: files/members.yml
pre_tasks: pre_tasks:
- name: Wait for Hetzner VPS networking to come up - name: Wait for Hetzner VPS networking to come up
pause: pause:
@ -10,7 +10,7 @@
echo: false echo: false
- name: Include resource variables - name: Include resource variables
include_vars: "{{ members }}" include_vars: "{{ add_users_user_accounts }}"
# Note(d1): We create the accounts before the role since we do not make # Note(d1): We create the accounts before the role since we do not make
# molecule test this part of the role under test because we do not setup # molecule test this part of the role under test because we do not setup

3
renovate.json Normal file
View File

@ -0,0 +1,3 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
}

View File

@ -1,4 +1,4 @@
ansible-lint==6.0.0 ansible-lint==6.3.0
ansible==5.4.0 ansible==6.0.0
molecule-hetznercloud==1.3.0 molecule-hetznercloud==1.3.0
molecule==3.6.1 molecule==3.6.1

View File

@ -4,10 +4,10 @@
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 - add_users_user_accounts
- name: Include resource variables - name: Include resource variables
include_vars: "{{ members }}" include_vars: "{{ add_users_user_accounts }}"
tags: tags:
# Note(d1): we already load in converge.yml so skip here # Note(d1): we already load in converge.yml so skip here
- molecule-notest - molecule-notest