ansible-role-docker

Ansible role for Docker. Available on Ansible Galaxy.

MIT License

Stars
6

Bot releases are hidden (Show)

ansible-role-docker - 3.4.0 Latest Release

Published by darkwizard242 6 months ago

ansible-role-docker - 3.3.0

Published by darkwizard242 over 1 year ago

ansible-role-docker - 3.2.0

Published by darkwizard242 over 1 year ago

Remove support for debian-stretch and updates for molecule v5

Full Changelog: https://github.com/darkwizard242/ansible-role-docker/compare/3.1.0...3.2.0

ansible-role-docker - 3.1.0

Published by darkwizard242 over 1 year ago

What's Changed

Full Changelog: https://github.com/darkwizard242/ansible-role-docker/compare/3.0.0...3.1.0

ansible-role-docker - 3.0.0

Published by darkwizard242 over 2 years ago

What's Changed

Update workflows by @darkwizard242 in https://github.com/darkwizard242/ansible-role-docker/pull/9

  • Set ansible_python_interpreter var in molecule's converge playbook
  • Bump container image in molecule config to ubuntu 20.04
  • Update build-and-test, release github action workflows.
  • Define sonar.python.version=3 in sonarcloud config
  • Remove Ubuntu 16.04 as supported os from role's metadata due to being EOL
  • Add support for EL 8 OS versions

Full Changelog: https://github.com/darkwizard242/ansible-role-docker/compare/2.0.1...3.0.0

ansible-role-docker - 2.0.1

Published by darkwizard242 over 3 years ago

Summary

This Release relates to the enhancement for ISSUE #7 as reported by @blmhemu

  • Remove CI support for Ubuntu 16.04 as EOL.
  • Update build workflow for feature/* branches.
  • Task that will add users to docker group.
  • Logic to handle when a user doesn't wish to add any non-root user to docker group.
  • Variable definitions:
    • docker_add_nonroot_users | Boolean variable. Values can either be true or false. Setting to true will run the task that will add additionally provided users in the variable docker_nonroot_users to the docker group. If set to false, the specific task that adds user to docker group will be skipped.
    • docker_nonroot_users | List of users to add to the docker group
    • README updates
    • molecule to test while setting docker_add_nonroot_users to true and passing www-data, backup as dummy users to docker_nonroot_users

Examples:

For customizing behavior of role (i.e. adding a list of users to be added to docker group - example shown below is adding ubuntu && darkwizard to docker group) in ansible playbooks.

- hosts: servers
  roles:
    - darkwizard242.docker
  vars:
    docker_add_nonroot_users: true
    docker_nonroot_users: 
      - darkwizard242
      - ubuntu

For customizing behavior of role (i.e. skipping the task that adds a list of users to be added to docker group) in ansible playbooks.

- hosts: servers
  roles:
    - darkwizard242.docker
  vars:
    docker_add_nonroot_users: false
ansible-role-docker - 2.0.0

Published by darkwizard242 over 3 years ago

  • PR-6 Refactoring of the role done by @blmhemu to utilize a single debian family system file for Debain and Ubuntu OS's and user/group creation of docker. Utilization of become in tasks.
ansible-role-docker - 1.0.6

Published by darkwizard242 over 3 years ago

  • update author attribute in role's metadata
ansible-role-docker - 1.0.5

Published by darkwizard242 almost 4 years ago

Migrate CI/Release from TravisCI to GitHub Actions

  • Set up a build-and-test workflow that performs sonarcloud code quality check and runs a molecule test for the Ansible Role.
  • Set up a Release workflow to trigger import of role in Ansible Galaxy.
  • Exclusion of .github dir from yamllint scan during molecule execution.
  • Reconfigure sonarcloud config
ansible-role-docker - 1.0.4

Published by darkwizard242 over 4 years ago

  • Refactor task names to be more meaningful and descriptive around the OS family that the playbook is running the tasks on.
  • Bump TravisCI python to 3.8