Skip to content

Conversation

@henrymollman
Copy link

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.

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"

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!

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

screen shot 2016-11-22 at 6 57 11 pm

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

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

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pulling now

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

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 }}"

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?

Copy link
Author

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

@anandkumarpatel
Copy link

This is good to go!

dest: /etc/hosts
insertafter: EOF
block: |
10.4.4.82 registry.runnable.com

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

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

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

of course

@henrymollman henrymollman merged commit 4060d06 into master Nov 29, 2016
@anandkumarpatel anandkumarpatel deleted the new-dock-ami branch January 2, 2017 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants