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
1837a8a9
Verified
Commit
1837a8a9
authored
3 years ago
by
shirenn
🌊
Committed by
ynerant
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[crans-scripts] move the scripts to /usr/local/src/scripts
parent
86fd6187
No related branches found
Branches containing commit
No related tags found
1 merge request
!254
Cachan
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
group_vars/server/crans_scripts.yml
+2
-0
2 additions, 0 deletions
group_vars/server/crans_scripts.yml
host_vars/zamok.adm.crans.org.yml
+5
-0
5 additions, 0 deletions
host_vars/zamok.adm.crans.org.yml
roles/crans-scripts/tasks/main.yml
+5
-5
5 additions, 5 deletions
roles/crans-scripts/tasks/main.yml
with
12 additions
and
5 deletions
group_vars/server/crans_scripts.yml
+
2
−
0
View file @
1837a8a9
---
---
glob_crans_scripts
:
glob_crans_scripts
:
remote
:
https://gitlab.adm.crans.org/nounous/scripts.git
remote
:
https://gitlab.adm.crans.org/nounous/scripts.git
group
:
_nounou
version
:
master
version
:
master
dest
:
/usr/local/src/scripts
This diff is collapsed.
Click to expand it.
host_vars/zamok.adm.crans.org.yml
+
5
−
0
View file @
1837a8a9
...
@@ -14,3 +14,8 @@ loc_thelounge:
...
@@ -14,3 +14,8 @@ loc_thelounge:
oidentd
:
"
\"
/usr/local/lib/thelounge/.oidentd.conf
\"
"
oidentd
:
"
\"
/usr/local/lib/thelounge/.oidentd.conf
\"
"
reverseProxy
:
"
true"
reverseProxy
:
"
true"
ldap_enable
:
"
true"
ldap_enable
:
"
true"
loc_crans_scripts
:
group
:
nounou
dests
:
-
/usr/scripts
This diff is collapsed.
Click to expand it.
roles/crans-scripts/tasks/main.yml
+
5
−
5
View file @
1837a8a9
---
---
-
name
:
Create scripts directory
-
name
:
Create scripts directory
file
:
file
:
path
:
/usr/scripts
path
:
"
{{
crans_scripts.dest
}}"
state
:
directory
state
:
directory
mode
:
"
2775"
mode
:
"
2775"
owner
:
root
owner
:
root
group
:
_nounou
group
:
"
{{
crans_scripts.group
}}"
-
name
:
Set ACL for scripts directory
-
name
:
Set ACL for scripts directory
acl
:
acl
:
path
:
/usr/scripts
path
:
"
{{
crans_scripts.dest
}}"
default
:
true
default
:
true
entity
:
_nounou
entity
:
"
{{
crans_scripts.group
}}"
etype
:
group
etype
:
group
permissions
:
rwx
permissions
:
rwx
state
:
query
state
:
query
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
-
name
:
Clone scripts repository
-
name
:
Clone scripts repository
git
:
git
:
repo
:
"
{{
crans_scripts.remote
}}"
repo
:
"
{{
crans_scripts.remote
}}"
dest
:
/usr/scripts
dest
:
"
{{
crans_scripts.dest
}}"
version
:
"
{{
crans_scripts.version
}}"
version
:
"
{{
crans_scripts.version
}}"
umask
:
"
002"
umask
:
"
002"
register
:
git_result
register
:
git_result
...
...
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