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
8af0597a
Commit
8af0597a
authored
5 years ago
by
Benjamin Graillot
Browse files
Options
Downloads
Patches
Plain Diff
[ninjabot] Load and activate services
parent
cf2963cc
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
README.md
+1
-1
1 addition, 1 deletion
README.md
roles/ninjabot/tasks/main.yml
+14
-0
14 additions, 0 deletions
roles/ninjabot/tasks/main.yml
with
15 additions
and
1 deletion
README.md
+
1
−
1
View file @
8af0597a
...
...
@@ -112,7 +112,7 @@ ansible-playbook base.yml --check
Vous pouvez ensuite enlever
`--check`
si vous voulez appliquer les changements !
Vous pouvez aussi avoir un mode étap
s
e par étape
s
avec
`--step`
.
Vous pouvez aussi avoir un mode étape par étape avec
`--step`
.
Si vous avez des soucis de fingerprint ECDSA, vous pouvez ignorer une
première fois (dangereux !) :
`ANSIBLE_HOST_KEY_CHECKING=0 ansible-playbook...`
.
...
...
This diff is collapsed.
Click to expand it.
roles/ninjabot/tasks/main.yml
+
14
−
0
View file @
8af0597a
...
...
@@ -29,6 +29,20 @@
dest
:
/etc/systemd/system/ninjabot-webhook.service
mode
:
0755
-
name
:
Load and activate NinjaBot service
systemd
:
name
:
ninjabot
daemon_reload
:
true
enabled
:
true
state
:
started
-
name
:
Load and activate NinjaBot webook service
systemd
:
name
:
ninjabot-webhook
daemon_reload
:
true
enabled
:
true
state
:
started
-
name
:
Indicate NinjaBot in motd
template
:
src
:
update-motd.d/05-service.j2
...
...
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