Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Ansible
Manage
Activity
Members
Labels
Plan
Issues
3
Issue boards
Milestones
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nounous
Ansible
Commits
887a3f2e
Commit
887a3f2e
authored
5 years ago
by
Benjamin Graillot
Browse files
Options
Downloads
Patches
Plain Diff
[scripts] Added role to clone scripts
parent
4f7d3a6a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
base.yml
+5
-0
5 additions, 0 deletions
base.yml
roles/scripts/tasks/main.yml
+23
-0
23 additions, 0 deletions
roles/scripts/tasks/main.yml
with
28 additions
and
0 deletions
base.yml
+
5
−
0
View file @
887a3f2e
...
...
@@ -51,6 +51,11 @@
roles
:
-
ldap-client
# Install scripts on all servers
-
hosts
:
server
roles
:
-
scripts
# Document servers
-
hosts
:
voyager.adm.crans.org
# test only on voyager for now
vars
:
...
...
This diff is collapsed.
Click to expand it.
roles/scripts/tasks/main.yml
0 → 100644
+
23
−
0
View file @
887a3f2e
---
-
name
:
Create scripts directory
file
:
path
:
/usr/scripts
state
:
directory
mode
:
'
2775'
owner
:
root
group
:
nounou
-
name
:
Set ACL for scripts directory
acl
:
path
:
/usr/scripts
default
:
yes
entity
:
nounou
etype
:
group
permissions
:
rwx
state
:
query
-
name
:
Clone scripts repository
git
:
repo
:
'
http://gitlab.adm.crans.org/nounous/scripts.git'
dest
:
/usr/scripts
umask
:
'
002'
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