Skip to content
Snippets Groups Projects
Commit 4acf38c0 authored by nimrod's avatar nimrod
Browse files

Merge branch 'master' of /home/nimrod/Documents/Shore/Ansible/example

# Conflicts:
#	README.rst
#	molecule.yml
#	tests/playbook.yml
parents 0e3d7c66 d4fa8001
No related branches found
No related tags found
No related merge requests found
......@@ -5,9 +5,14 @@ dist: trusty
sudo: false
group: beta
services: [docker]
cache:
- pip
- directories:
- $HOME/.pre-commit
- $HOME/virtualenv
install:
- pip install -r tests/requirements.txt
- pip install -r tests/requirements.txt | cat
- ansible-galaxy install git+file://$(pwd),$(git rev-parse --abbrev-ref HEAD) -p .molecule/roles
- molecule dependency
- for image in ubuntu:trusty ubuntu:xenial debian:jessie debian:stretch; do docker pull $image; done
......
Debian bootstrap
################
.. image:: https://travis-ci.org/adarnimrod/debian-bootstrap.svg?branch=master
:target: https://travis-ci.org/adarnimrod/debian-bootstrap
Role to bootstrap a Debian or derivative instance (allow Ansible to provision
the instance).
......
......@@ -5,6 +5,7 @@ ansible:
diff: True
config_file: ../ansible.cfg
vagrant:
providers:
- name: virtualbox
......@@ -32,6 +33,12 @@ docker:
- name: debian-bootstrap-xenial
image: ubuntu
image_version: xenial
command: /sbin/init
cap_add:
- SYS_ADMIN
volume_mounts:
- /sys/fs/cgroup:/sys/fs/cgroup
- /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket
environment:
DEBIAN_FRONTEND: noninteractive
- name: debian-bootstrap-trusty
......@@ -42,8 +49,15 @@ docker:
- name: debian-bootstrap-jessie
image: debian
image_version: jessie
command: /sbin/init
cap_add:
- SYS_ADMIN
volume_mounts:
- /sys/fs/cgroup:/sys/fs/cgroup
- /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket
environment:
DEBIAN_FRONTEND: noninteractive
container: docker
- name: debian-bootstrap-stretch
image: debian
image_version: stretch
......
ansible==2.2.0.0
testinfra==1.4.3
molecule==1.14.0
testinfra==1.4.4
molecule==1.15.0
ansible-lint==3.4.4
pre-commit==0.9.3
piprot==0.9.7
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment