Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FusionIAM
FusionIAM
Commits
2ee8a86a
Commit
2ee8a86a
authored
Sep 28, 2021
by
David Coutadeur
Browse files
don't duplicate creation of fusioniam user and group
parent
827d7d86
Changes
1
Hide whitespace changes
Inline
Side-by-side
build/centos8/fusiondirectory/ansible/run-ct.sh
View file @
2ee8a86a
#!/bin/sh
set
-e
echo
"fusioniam:x:
$(
id
-u
)
:
$(
id
-g
)
:,,,:
${
HOME
}
:/bin/bash"
>>
/etc/passwd
echo
"fusioniam:x:
$(
id
-G
|
cut
-d
' '
-f
2
)
"
>>
/etc/group
/bin/bash /run-playbook.sh /deploy.yaml
if
[
"
$1
"
=
"nginx"
]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment