-
Notifications
You must be signed in to change notification settings - Fork 10
Added setup-default-docker task role #17
base: master
Are you sure you want to change the base?
Conversation
@chris1984 can you please fix the issues as per these, https://github.com/SatelliteQE/ansible-satellite6/blob/master/CONTRIBUTING.md#standards For now, ignore the suggestion to remove the empty files. |
|
||
- name: "Start docker service" | ||
shell: service docker start | ||
when: ansible_distribution_major_version < "7" |
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 you can manage this block with https://docs.ansible.com/ansible/latest/modules/service_module.html
- name: "Enable Docker service" | ||
systemd: | ||
name: docker.service | ||
enabled: true |
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.
Should this be in the enable_docker
task file?
- include_tasks: docker_group.yml | ||
- include_tasks: enable_docker.yml | ||
|
||
|
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.
Couple of extra blank lines here
Naming wise, for me, |
Adding Ansible role for setup-default-docker Satellite 6 automation-tools task