Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CONF
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UvA
CONF
Commits
e7a287a9
Commit
e7a287a9
authored
Mar 14, 2020
by
Spiros Koulouzis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move add data-root after installing docker
parent
a8ffaf0d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
12 deletions
+14
-12
install_k8s.yml
ansible_playbooks/install_k8s.yml
+14
-12
No files found.
ansible_playbooks/install_k8s.yml
View file @
e7a287a9
...
...
@@ -105,17 +105,6 @@
-
name
:
Update apt and install docker-ce
apt
:
update_cache=yes name=docker-ce state=latest
-
name
:
Change data-root location in /etc/docker/daemon.json
shell
:
|
echo '{"data-root": "/data"}' > /etc/docker/daemon.json
when
:
mount_volume.stat.exists == True
-
name
:
Restart service docker, in all cases
service
:
name
:
docker
state
:
restarted
ignore_errors
:
yes
when
:
mount_volume.stat.exists == True
-
name
:
Update and upgrade apt packages
apt
:
...
...
@@ -135,3 +124,16 @@
-
name
:
Update apt and install docker-ce
apt
:
update_cache=yes name=kubeadm state=latest
-
name
:
Change data-root location in /etc/docker/daemon.json
shell
:
|
echo '{"data-root": "/data"}' > /etc/docker/daemon.json
when
:
mount_volume.stat.exists == True
-
name
:
Restart service docker, in all cases
service
:
name
:
docker
state
:
restarted
ignore_errors
:
yes
when
:
mount_volume.stat.exists == True
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