Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
65d5e5478f | |||
934b471467 | |||
bb6bf38efe |
15
LICENSE
Normal file
15
LICENSE
Normal 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/>.
|
@ -1,6 +1,8 @@
|
||||
---
|
||||
dependencies: []
|
||||
galaxy_info:
|
||||
role_name: add_users
|
||||
namespace: autonomic
|
||||
author: autonomic
|
||||
description: Create system user accounts
|
||||
company: Autonomic
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user