-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from wireapp/docker2
Migrate from rkt to docker
- Loading branch information
Showing
9 changed files
with
42 additions
and
211 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 0 additions & 20 deletions
20
files/rkt/trustedkeys/prefix.d/quay.io/coreos/bff313cdaa560b16a8987b8f72abf5f6799d33bc
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
files/rkt/trustedkeys/prefix.d/quay.io/prometheus/bff313cdaa560b16a8987b8f72abf5f6799d33bc
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,5 +10,4 @@ | |
|
||
- import_tasks: setup.yml | ||
- import_tasks: system.yml | ||
- import_tasks: rkt.yml | ||
- import_tasks: restund.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,22 @@ | ||
--- | ||
- name: Ensure apt cache is updated | ||
apt: | ||
- name: Ensure docker key is present | ||
apt_key: | ||
url: "{{ docker_ubuntu_repo_gpgkey }}" | ||
tags: | ||
- docker | ||
|
||
- name: Ensure docker repository is present | ||
apt_repository: | ||
repo: | ||
"deb {{ docker_ubuntu_repo_base_url }} {{ ansible_distribution_release }} stable" | ||
update_cache: true | ||
changed_when: false | ||
when: ansible_os_family == 'Debian' | ||
tags: | ||
- docker | ||
|
||
- name: install needed packages | ||
- name: install docker | ||
apt: | ||
name: | ||
- ca-certificates | ||
- curl | ||
- gnupg2 | ||
- htop | ||
- ltrace | ||
- nload | ||
- strace | ||
- systemd-container | ||
- tmux | ||
- unattended-upgrades | ||
- python-openssl | ||
- dnsutils | ||
- iproute2 | ||
- docker-ce | ||
state: latest | ||
when: ansible_os_family == 'Debian' | ||
|
||
- name: populate 'ansible_default_ipv4' | ||
setup: | ||
when: ansible_default_ipv4 is not defined | ||
|
||
- name: Check if inside AWS. | ||
uri: | ||
url: http://169.254.169.254/latest/meta-data | ||
timeout: 2 | ||
register: aws_uri_check | ||
when: is_aws_environment is not defined | ||
failed_when: false | ||
|
||
- name: set is_aws_environment | ||
set_fact: | ||
is_aws_environment: "{{ aws_uri_check.status == 200 }}" | ||
when: is_aws_environment is not defined | ||
tags: | ||
- docker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters