Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ansible-warpzone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
specki
ansible-warpzone
Commits
cc1f5e74
Commit
cc1f5e74
authored
9 years ago
by
Christian Elberfeld
Browse files
Options
Downloads
Patches
Plain Diff
docker rolle für webserver
parent
bebe2541
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
hosts
+1
-7
1 addition, 7 deletions
hosts
roles/docker/tasks/main.yml
+16
-0
16 additions, 0 deletions
roles/docker/tasks/main.yml
site.yml
+1
-0
1 addition, 0 deletions
site.yml
webserver.yml
+8
-0
8 additions, 0 deletions
webserver.yml
with
26 additions
and
7 deletions
hosts
+
1
−
7
View file @
cc1f5e74
# Externe server
[extranet]
# Webserver
# Webserver
[webserver]
webserver ansible_ssh_host=89.163.231.226
webserver ansible_ssh_host=89.163.231.226
# Interne server
[intranet]
This diff is collapsed.
Click to expand it.
roles/docker/tasks/main.yml
0 → 100644
+
16
−
0
View file @
cc1f5e74
---
-
name
:
add docker repo key
apt_key
:
keyserver=hkp://p80.pool.sks-keyservers.net:80
id=58118E89F3A912897C070ADBF76221572C52609D
-
name
:
install packages
apt
:
pkg
:
"
{{
item
}}"
update_cache
:
yes
state
:
installed
with_items
:
-
docker-engine
-
python
-
python-docker
This diff is collapsed.
Click to expand it.
site.yml
+
1
−
0
View file @
cc1f5e74
---
---
# Hauptdatei, includiert lediglich die einzelnen Playbooks
# Hauptdatei, includiert lediglich die einzelnen Playbooks
-
include
:
all.yml
-
include
:
all.yml
-
include
:
webserver.yml
This diff is collapsed.
Click to expand it.
webserver.yml
0 → 100644
+
8
−
0
View file @
cc1f5e74
---
-
hosts
:
webserver
remote_user
:
root
roles
:
-
docker
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment