-
Notifications
You must be signed in to change notification settings - Fork 0
New dock ami #573
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New dock ami #573
Conversation
ansible/dock.yml
Outdated
| - include: image-builder.yml git_branch="{{ image_builder_version }}" | ||
| - include: krain.yml git_branch="{{ krain_version }}" | ||
| - include: charon.yml git_branch="v4.0.0" | ||
| - include: dock-init.yml git_branch="new-dock-init" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remember to update this to right tag before we push to prod!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 🦃
| become: true | ||
| command: docker pull registry.runnable.com/runnable/image-builder:v4.2.2 | ||
|
|
||
| - name: pulling swarm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also pull weave please, find version in ansible
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pulling now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah still needed
| become: true | ||
| command: docker pull registry.runnable.com/runnable/image-builder:v4.2.2 | ||
|
|
||
| - name: pulling swarm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah still needed
| - include: dock-init.yml git_branch="new-dock-init" | ||
| - include: krain.yml git_branch="v0.3.0" | ||
|
|
||
| - hosts: "{{ host }}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that does this do? where is host set?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think because we need to execute the next block w/ the roles I used the hosts part to specify a new block. there is probably a better way to do this
|
This is good to go! |
| dest: /etc/hosts | ||
| insertafter: EOF | ||
| block: | | ||
| 10.4.4.82 registry.runnable.com |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make this a var, also remove from dock-init if needed
| become: true | ||
| command: docker pull swarm:1.2.5 | ||
|
|
||
| - name: pulling registry |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there are sooo many of these now, lets cleanup?
- name: pulling images
become: true
command: docker pull {{ item }}
with_items:
- "registry:2.3.1"
- "google/cadvisor:v0.24.1"
... list out all images like this instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
of course
79e8d45 to
a644b5c
Compare

This PR creates docker image pull tasks to the standard dock.yml playbook, adds amazon ssm-agent to an ami and fixes a (recently introduced) bug related to parsing strings and the ansible unarchiver.