Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Łukasz Nowak
slapos.package
Commits
8357d587
Commit
8357d587
authored
Nov 09, 2017
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[playbook] Share vars for ERP5ish playbooks
parent
6e80bdb6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
19 deletions
+14
-19
playbook/erp5-standalone.yml
playbook/erp5-standalone.yml
+2
-10
playbook/roles/standalone-shared/tasks/main.yml
playbook/roles/standalone-shared/tasks/main.yml
+3
-0
playbook/roles/standalone-shared/vars/erp5-common.yml
playbook/roles/standalone-shared/vars/erp5-common.yml
+8
-0
playbook/wendelin-standalone.yml
playbook/wendelin-standalone.yml
+1
-9
No files found.
playbook/erp5-standalone.yml
View file @
8357d587
...
...
@@ -4,16 +4,8 @@
vars
:
software_release_url
:
https://lab.node.vifib.com/nexedi/slapos/raw/1.0.56/software/erp5/software.cfg
frontend_software_release_url
:
https://lab.node.vifib.com/nexedi/slapos/raw/1.0.56/software/apache-frontend/software.cfg
startup_playbook_id
:
erp5-standalone.yml
playbook_name
:
erp5
request_instance_template
:
request-erp5.j2
request_frontend_template
:
request-erp5-frontend.j2
firewall_setup_template
:
setup-firewall.j2
frontend_master_reference
:
master-frn-{{ playbook_name }}
frontend_slave_reference
:
slave-srn-{{ playbook_name }}
backend_url_path
:
/tmp/playbook-{{ playbook_name }}-backend-url
public_ipv4_path
:
/tmp/playbook-{{ playbook_name }}-public_ipv4
bt5_list
:
erp5_full_text_myisam_catalog erp5_configurator_standard
startup_playbook_id
:
erp5-standalone.yml
playbook_name
:
erp5
roles
:
-
standalone-shared
playbook/roles/standalone-shared/tasks/main.yml
View file @
8357d587
---
-
name
:
fetch shared vars
include_vars
:
erp5-common.yml
-
name
:
Fetch public IPv4
shell
:
ifconfig `route -n | grep '^0\.0\.0\.0' | head -n 1 | awk '{print $NF}'` | { IFS=' :';read r;read r r a r;echo $a; }
register
:
public_ipv4
...
...
playbook/roles/standalone-shared/vars/erp5-common.yml
0 → 100644
View file @
8357d587
frontend_software_release_url
:
https://lab.node.vifib.com/nexedi/slapos/raw/1.0.56/software/apache-frontend/software.cfg
request_instance_template
:
request-erp5.j2
request_frontend_template
:
request-erp5-frontend.j2
firewall_setup_template
:
setup-firewall.j2
frontend_master_reference
:
master-frn-{{ playbook_name }}
frontend_slave_reference
:
slave-srn-{{ playbook_name }}
backend_url_path
:
/tmp/playbook-{{ playbook_name }}-backend-url
public_ipv4_path
:
/tmp/playbook-{{ playbook_name }}-public_ipv4
playbook/wendelin-standalone.yml
View file @
8357d587
...
...
@@ -4,17 +4,9 @@
vars
:
software_release_url
:
https://lab.node.vifib.com/nexedi/slapos/raw/1.0.56/software/wendelin/software.cfg
frontend_software_release_url
:
https://lab.node.vifib.com/nexedi/slapos/raw/1.0.56/software/apache-frontend/software.cfg
bt5_list
:
erp5_full_text_myisam_catalog erp5_configurator_standard erp5_wendelin_configurator
startup_playbook_id
:
wendelin-standalone.yml
playbook_name
:
wendelin
request_instance_template
:
request-erp5.j2
request_frontend_template
:
request-erp5-frontend.j2
firewall_setup_template
:
setup-firewall.j2
frontend_master_reference
:
master-frn-{{ playbook_name }}
frontend_slave_reference
:
slave-srn-{{ playbook_name }}
backend_url_path
:
/tmp/playbook-{{ playbook_name }}-backend-url
public_ipv4_path
:
/tmp/playbook-{{ playbook_name }}-public_ipv4
bt5_list
:
erp5_full_text_myisam_catalog erp5_configurator_standard erp5_wendelin_configurator
roles
:
-
standalone-shared
-
{
role
:
package
,
package_name
:
socat
,
package_state
:
present
}
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