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
Ivan Tyagov
slapos.package
Commits
ea8a2fd4
Commit
ea8a2fd4
authored
Apr 04, 2016
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook: Fix variable name for centos version
parent
0b3d6502
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
playbook/roles/re6stnet/tasks/daemon.yml
playbook/roles/re6stnet/tasks/daemon.yml
+2
-2
playbook/roles/re6stnet/tasks/main.yml
playbook/roles/re6stnet/tasks/main.yml
+1
-1
No files found.
playbook/roles/re6stnet/tasks/daemon.yml
View file @
ea8a2fd4
---
---
-
name
:
Install Daemon for CentOS
6
-
name
:
Install Daemon for CentOS
6
yum
:
name=http://libslack.org/daemon/download/daemon-0.6.4-1.x86_64.rpm state=present
yum
:
name=http://libslack.org/daemon/download/daemon-0.6.4-1.x86_64.rpm state=present
when
:
ansible_distribution == 'CentOS' and ansible_distribution_version <= '6' and ansible_architecture == 'x86_64'
when
:
ansible_distribution == 'CentOS' and ansible_distribution_
major_
version <= '6' and ansible_architecture == 'x86_64'
-
name
:
Install Daemon for CentOS 6 (i686)
-
name
:
Install Daemon for CentOS 6 (i686)
yum
:
name=http://libslack.org/daemon/download/daemon-0.6.4-1.i686.rpm state=present
yum
:
name=http://libslack.org/daemon/download/daemon-0.6.4-1.i686.rpm state=present
when
:
ansible_distribution == 'CentOS' and ansible_distribution_version <= '6' and ansible_architecture == 'i386'
when
:
ansible_distribution == 'CentOS' and ansible_distribution_
major_
version <= '6' and ansible_architecture == 'i386'
playbook/roles/re6stnet/tasks/main.yml
View file @
ea8a2fd4
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
-
name
:
Create centos 6 init.d missing file
-
name
:
Create centos 6 init.d missing file
copy
:
src=files/centos_6_init_d dest=/etc/init.d/re6stnet
copy
:
src=files/centos_6_init_d dest=/etc/init.d/re6stnet
when
:
ansible_distribution == 'CentOS' and ansible_distribution_version == '6' and recheck_re6stnet_conf.stat.exists == True
when
:
ansible_distribution == 'CentOS' and ansible_distribution_
major_
version == '6' and recheck_re6stnet_conf.stat.exists == True
-
name
:
Start re6st-node service
-
name
:
Start re6st-node service
service
:
name=re6stnet state=started enabled=yes
service
:
name=re6stnet state=started enabled=yes
...
...
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