Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
ansible
/
dma-playbook
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit ea5534c1
authored
Apr 26, 2018
by
ansible
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
1 parent
c0ac9127
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
5 deletions
roles/install/tasks/system-manangement.yml
roles/install/tasks/system-manangement.yml
View file @
ea5534c
...
...
@@ -52,11 +52,23 @@
-
name
:
End Install NTP service
command
:
systemctl restart ntp.service
-
import_tasks
:
stackscript-dma.yml
when
:
app_name == 'dma'
-
import_tasks
:
stackscript-wdchat.yml
when
:
app_name == 'wdchat'
-
name
:
Install Stack Management Script
unarchive
:
src
:
/tmp/source/stackscript.singlehost.zip
dest
:
/opt/stack
remote_src
:
yes
group
:
wdadmin
owner
:
wdadmin
mode
:
0711
-
file
:
path
:
'
/opt/stack/{{
item.dir
}}'
group
:
wdadmin
owner
:
wdadmin
mode
:
0755
state
:
directory
recurse
:
yes
with_items
:
-
{
dir
:
'
script'
}
-
name
:
Begin Setup System Service
command
:
/opt/stack/script/add_service.sh /opt/stack/script/engine.service
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment