3 Commits
0.1.0 ... 0.1.1

Author SHA1 Message Date
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
4 changed files with 21 additions and 4 deletions

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: []
galaxy_info:
role_name: add_users
namespace: autonomic
author: autonomic
description: Create system user accounts
company: Autonomic

View File

@ -2,7 +2,7 @@
- name: Converge
hosts: all
vars:
members: files/members.yml
add_users_user_accounts: files/members.yml
pre_tasks:
- name: Wait for Hetzner VPS networking to come up
pause:
@ -10,7 +10,7 @@
echo: false
- 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
# molecule test this part of the role under test because we do not setup

View File

@ -4,10 +4,10 @@
that: "{{ item }} is defined"
fail_msg: "You must define the '{{ item }}' variable"
with_items:
- members
- add_users_user_accounts
- name: Include resource variables
include_vars: "{{ members }}"
include_vars: "{{ add_users_user_accounts }}"
tags:
# Note(d1): we already load in converge.yml so skip here
- molecule-notest