An ansible role that helps you launch containers on a machine
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Julien Cabillot 5c636b59ba Merge pull request 'feature/nolog' (#16) from feature/nolog into master 3 weeks ago
defaults feat: add option `dcontainer_no_log` (default: false) to hide output on the container's start 3 weeks ago
handlers Correction de la syntaxe 1 year ago
meta Correction de la syntaxe 1 year ago
tasks feat: add option `dcontainer_no_log` (default: false) to hide output on the container's start 3 weeks ago
test/integration/default fix: tests 4 months ago
tests fix: typo 4 months ago
vars Correction de la syntaxe 1 year ago
.gitignore Add pre-commit 1 year ago
.pre-commit-config.yaml chore: bump pre-commit hooks 3 weeks ago
CHANGELOG.md feat: add option `dcontainer_no_log` (default: false) to hide output on the container's start 3 weeks ago
Jenkinsfile Ajout du role ansible-role-docker-container 1 year ago
LICENSE Initial commit 1 year ago
README.md Add pre-commit 1 year ago
kitchen.yml maintenance: bump ansible role docker 0.0.4 1 month ago
requirements.yml maintenance: bump ansible role docker 0.0.4 1 month ago

README.md

ansible-role-docker-container

Run docker container for CentOS / RHEL / Amazon Linux 2.

Requirements

N/A

Role Variables

N/A

Dependencies

N/A

Example Playbook

  tasks:
  - name: 'Launch Docker Container'
    vars:
      networks:
      - name: network_test
        driver: bridge
        ipam_options:
          subnet: '10.0.0.0/24'
          gateway: 10.0.0.1

      containers:
      - name: "application"
        image: "localhost:5000/fluentd"
        env: {}
        ports:
          - "24224:24224"
        mac_address: "02:42:c6:3b:dd:fd"
        networks:
          name: "goanywhere-net"
          ipv4_address: "192.168.66.6"
        volumes:
          - "/var/log:/application/log/"
        labels:
          application: "application"
          environment: "production"
        shm_size: ''
        ulimits: []

    include_role:
      name: ansible-role-docker-container

License

MIT

Author Information

FXInnovation Inc