Compare commits
14 Commits
0.1.0
...
83eaefc8b6
Author | SHA1 | Date | |
---|---|---|---|
83eaefc8b6 | |||
923d38cde1 | |||
f5731cc892 | |||
aa928f267d | |||
865ef25d19 | |||
91a4a6ddd0 | |||
676cce9412 | |||
d8bdd38dfe | |||
7b7bc893c5 | |||
06fcf759d3 | |||
cbf351bd18 | |||
65d5e5478f | |||
934b471467 | |||
bb6bf38efe |
@ -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
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: []
|
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
|
||||||
|
@ -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
3
renovate.json
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
|
||||||
|
}
|
@ -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==4.0.0
|
||||||
|
@ -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
|
||||||
|
Reference in New Issue
Block a user