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 154117bf
authored
May 01, 2018
by
ansible
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
1 parent
e3f8f7fc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
14 deletions
roles/install/tasks/system-management.yml
roles/install/tasks/system-management.yml
View file @
154117b
...
...
@@ -18,39 +18,41 @@
-
{
dir
:
'
iConsole'
}
-
{
dir
:
'
json'
}
-
{
dir
:
'
Schedule'
}
-
name
:
Add iConsole Schedule
command
:
/opt/Schedule/add_schedule
shell
:
/opt/Schedule/add_schedule
-
name
:
End Install iConsole-Management System - Deploy iConsole
command
:
cp /tmp/application/{{ app_version }}/iConsole-3.0.6.0.war /opt/stack/admin/wildfly/standalone/deployments/iConsole.war
shell
:
cp /tmp/application/{{ app_version }}/iConsole-3.0.6.0.war /opt/stack/admin/wildfly/standalone/deployments/iConsole.war
-
name
:
Begin Install Security License System
command
:
cp /tmp/source/root.tar.gz /root/root.tar.gz
shell
:
cp /tmp/source/root.tar.gz /root/root.tar.gz
-
name
:
Extract root
command
:
tar -zxvf /root/root.tar.gz -C /root/
shell
:
tar -zxvf /root/root.tar.gz -C /root/
-
name
:
Delete File
command
:
rm /root/root.tar.gz
shell
:
rm /root/root.tar.gz
-
name
:
Gen License Request File
command
:
/root/bin/gen_license_request.py
shell
:
/root/bin/gen_license_request.py
args
:
chdir
:
/root/bin
-
name
:
Gen License File
command
:
/root/bin/gen_license.py /root/bin/request_license.txt /root/bin/license
shell
:
/root/bin/gen_license.py /root/bin/request_license.txt /root/bin/license
-
name
:
Activate License
command
:
cp /root/bin/license.enc /opt/iConsole/security/wdchat.license
shell
:
cp /root/bin/license.enc /opt/iConsole/security/wdchat.license
-
name
:
Delete request_license.txt File
command
:
rm /root/bin/request_license.txt
shell
:
rm /root/bin/request_license.txt
-
name
:
End Install Security License System
command
:
rm /root/bin/license.enc
shell
:
rm /root/bin/license.enc
-
name
:
Begin Install Default Certificate
command
:
cp /tmp/configuration/beebuddy.ssl/server.crt /opt/stack/nginx/conf/ssl/server.crt
shell
:
cp /tmp/configuration/beebuddy.ssl/server.crt /opt/stack/nginx/conf/ssl/server.crt
-
name
:
End Install Default Certificate
command
:
cp /tmp/configuration/beebuddy.ssl/server.key /opt/stack/nginx/conf/ssl/server.key
shell
:
cp /tmp/configuration/beebuddy.ssl/server.key /opt/stack/nginx/conf/ssl/server.key
-
name
:
Begin Install NTP Configuration
command
:
cp /tmp/configuration/ntp.conf /etc/ntp.conf
shell
:
cp /tmp/configuration/ntp.conf /etc/ntp.conf
-
name
:
End Install NTP service
command
:
systemctl restart ntp.service
shell
:
systemctl restart ntp.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