Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

Added setup-default-docker task role #17

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

chbrown13
Copy link

Adding Ansible role for setup-default-docker Satellite 6 automation-tools task

@kbidarkar
Copy link
Collaborator

kbidarkar commented Jul 30, 2018

@chris1984 can you please fix the issues as per these, https://github.com/SatelliteQE/ansible-satellite6/blob/master/CONTRIBUTING.md#standards
I feel it would be helpful with standards, that we wanna have. :)

For now, ignore the suggestion to remove the empty files.


- name: "Start docker service"
shell: service docker start
when: ansible_distribution_major_version < "7"
Copy link

Choose a reason for hiding this comment

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

- name: "Enable Docker service"
systemd:
name: docker.service
enabled: true
Copy link

Choose a reason for hiding this comment

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

Should this be in the enable_docker task file?

- include_tasks: docker_group.yml
- include_tasks: enable_docker.yml


Copy link

Choose a reason for hiding this comment

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

Couple of extra blank lines here

@ehelms
Copy link

ehelms commented Jul 31, 2018

Naming wise, for me, setup-default part of the role name doesn't add much value. I think you can easily just call this docker since it pertains to managing, installing and setting up docker.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants