Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Anastasios Lisgaras
GitHubHistory
Commits
03254e63
Commit
03254e63
authored
Mar 13, 2015
by
Paschalis Korosoglou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
argoeu/argo#98 Corrections in webapi play
parent
0825b660
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
16 deletions
+12
-16
roles/has_certificate/tasks/main.yml
roles/has_certificate/tasks/main.yml
+6
-0
roles/repos/tasks/main.yml
roles/repos/tasks/main.yml
+6
-16
No files found.
roles/has_certificate/tasks/main.yml
View file @
03254e63
...
...
@@ -5,3 +5,9 @@
copy
:
src=hostcert.pem
dest={{ cert_path }} backup=yes
owner=root group=root mode=0644
-
name
:
Copy host x509 key onto host
tags
:
certificate
copy
:
src=hostkey.pem
dest={{ key_path }} backup=yes
owner=root group=root mode=0400
\ No newline at end of file
roles/repos/tasks/main.yml
View file @
03254e63
---
-
name
:
Download
epel
-
re
lease package
tags
:
epel_repo
get_url
:
url={{ epel_release_url }}/{{ epel_release_name }} dest=/tmp/{{ epel_release_name }} mode=0644
-
name
:
Install
epel
re
po files
yum
:
name={{ epel_release_url }}{{ epel_release_name }}
state=present
-
name
:
Install epel-release package
tags
:
epel_repo
command
:
yum install -y /tmp/{{ epel_release_name }}
creates=/etc/yum.repos.d/epel.repo
-
name
:
Download arstats package
tags
:
arstats_prod_repo
get_url
:
url={{ arstats_release_url }}/{{ arstats_release_name }} dest=/tmp/{{ arstats_release_name }} mode=0644
-
name
:
Install ar-release package
tags
:
arstats_prod_repo
command
:
yum install -y /tmp/{{ arstats_release_name }}
creates=/etc/yum.repos.d/arstats.repo
-
name
:
Install arstats repo files
yum
:
name={{ arstats_release_url }}{{ arstats_release_name }}
state=present
-
name
:
Install mongodb repo
tags
:
mongodb_repo
...
...
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