Skip to content

Commit

Permalink
#6 Add Docker configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose committed Oct 27, 2017
1 parent f7b6061 commit 5acbcd0
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,36 @@ vagrant:
- network_name: private_network
type: dhcp
auto_config: true

docker:
containers:
- name: nginx.vm
ansible_groups:
- group01
image: geerlingguy/docker-debian8-ansible
image_version: latest
privileged: True
cap_add:
- SYS_ADMIN
volume_mounts:
- '/sys/fs/cgroup:/sys/fs/cgroup:ro'
command: '/lib/systemd/systemd'

- name: nginx-old.vm
ansible_groups:
- group01
image: geerlingguy/docker-debian8-ansible
image_version: latest
privileged: True
cap_add:
- SYS_ADMIN
volume_mounts:
- '/sys/fs/cgroup:/sys/fs/cgroup:ro'
command: '/lib/systemd/systemd'

# verifier configuration
verifier:
name: testinfra
options:
connection: ansible
ansible-inventory: .molecule/ansible_inventory

0 comments on commit 5acbcd0

Please sign in to comment.