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
0c03ac2e
Commit
0c03ac2e
authored
Mar 10, 2023
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos-proxy: install slapos-node with package role on debian
CentOS has exception, so we keep installing with tasks
parent
38e02386
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
playbook/roles/slapos-proxy/meta/main.yml
playbook/roles/slapos-proxy/meta/main.yml
+1
-0
playbook/roles/slapos-proxy/tasks/main.yml
playbook/roles/slapos-proxy/tasks/main.yml
+0
-4
No files found.
playbook/roles/slapos-proxy/meta/main.yml
View file @
0c03ac2e
---
dependencies
:
-
{
role
:
repository
,
when
:
not slapos_ansible_offline
}
-
{
role
:
package
,
package_name
:
slapos-node
,
package_state
:
present
,
when
:
ansible_distribution != "CentOS"
}
playbook/roles/slapos-proxy/tasks/main.yml
View file @
0c03ac2e
...
...
@@ -10,10 +10,6 @@
state
:
directory
mode
:
0755
-
name
:
Install slapos-node on Debian
apt
:
name=slapos-node state=present update_cache=yes cache_valid_time=3600
when
:
ansible_os_family == "Debian" and not slapos_ansible_offline
-
name
:
Uninstall firewalld on CentOS
yum
:
name=firewalld state=absent update_cache=yes
when
:
ansible_distribution == "CentOS"
...
...
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