Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
Infrastruktur
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Himmel
Infrastruktur
Commits
ac2068a7
Commit
ac2068a7
authored
5 years ago
by
MichiK
Browse files
Options
Downloads
Patches
Plain Diff
Add aliases to users playbook
parent
95baedcc
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
roles/postfix/templates/aliases.j2
+1
-1
1 addition, 1 deletion
roles/postfix/templates/aliases.j2
update-users.yml
+17
-0
17 additions, 0 deletions
update-users.yml
with
18 additions
and
1 deletion
roles/postfix/templates/aliases.j2
+
1
−
1
View file @
ac2068a7
...
...
@@ -12,7 +12,7 @@ postmaster: admins
webmaster: admins
root: admins
{% if postfix_additional_admin_aliases %}
{% if postfix_additional_admin_aliases
is defined and postfix_additional_admin_aliases
%}
# additional admin aliases
{% for alias in postfix_additional_admin_aliases %}
{{ alias }}: admins
...
...
This diff is collapsed.
Click to expand it.
update-users.yml
+
17
−
0
View file @
ac2068a7
...
...
@@ -7,3 +7,20 @@
become
:
yes
roles
:
-
users
-
name
:
update user admin email aliases
hosts
:
all
become
:
yes
tasks
:
-
name
:
load user info
include_vars
:
file
:
"
files/users/users.yml"
name
:
"
user_info"
-
name
:
create aliases
template
:
src
:
"
roles/postfix/templates/aliases.j2"
dest
:
"
/etc/aliases"
notify
:
newaliases
handlers
:
-
name
:
newaliases
command
:
newaliases
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment