Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CONF
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UvA
CONF
Commits
c363ebcd
Commit
c363ebcd
authored
4 years ago
by
Spiros Koulouzis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added more vars
parent
f59bf66e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
ansible_service.py
deployer/service/ansible_service.py
+3
-1
No files found.
deployer/service/ansible_service.py
View file @
c363ebcd
...
@@ -69,7 +69,9 @@ class AnsibleService:
...
@@ -69,7 +69,9 @@ class AnsibleService:
if
attributes
[
'role'
]
==
'master'
:
if
attributes
[
'role'
]
==
'master'
:
master_ip
=
attributes
[
'public_ip'
]
master_ip
=
attributes
[
'public_ip'
]
break
break
arguments
=
'["-u","vm_user","--extra-vars","gluster_cluster_host0=
\'
'
+
master_ip
+
'
\'
gluster_cluster_volume=
\'
gfs0
\'
"]'
arguments
=
'["-u","vm_user","--extra-vars","gluster_cluster_host0=
\'
'
+
master_ip
\
+
'
\'
gluster_cluster_volume=
\'
gfs0
\'
devmode=
\'
false
\'
'
\
'device_path=
\'
/dev/xvdh
\'
gfs_size=
\'
15G
\'
"]'
task_id
=
self
.
run_task
(
name
,
project_id
,
key_id
,
git_url
,
inventory_id
,
playbook_name
,
task_id
=
self
.
run_task
(
name
,
project_id
,
key_id
,
git_url
,
inventory_id
,
playbook_name
,
environment_id
=
environment_id
,
arguments
=
arguments
)
environment_id
=
environment_id
,
arguments
=
arguments
)
count
=
0
count
=
0
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment