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

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

# Conflicts:
#	.travis.yml
#	README.rst
#	molecule.yml
#	tests/playbook.yml
parents 80575962 d4fa8001
No related branches found
No related tags found
No related merge requests found
......@@ -5,11 +5,16 @@ dist: trusty
sudo: false
group: beta
services: [docker]
cache:
- pip
- directories:
- $HOME/.pre-commit
- $HOME/virtualenv
install:
- git submodule init
- git submodule update --remote
- 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
......
CA store
########
.. image:: https://travis-ci.org/adarnimrod/ca-store.svg?branch=master
:target: https://travis-ci.org/adarnimrod/ca-store
An Ansible role to setup the CA store. The end goal is too have the same setup
on both OSes, meaning:
......
......@@ -5,7 +5,7 @@ ansible:
diff: True
config_file: ../ansible.cfg
dependencies:
dependency:
name: galaxy
requirements_file: tests/requirements.yml
......@@ -16,7 +16,7 @@ vagrant:
platforms:
- name: openbsd
box: kaorimatz/openbsd-6.0-amd64
- name: debian
- name: jessie
box: debian/jessie64
instances:
- name: ca-store
......@@ -33,8 +33,15 @@ docker:
- name: ca-store-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
container: docker
- name: ca-store-trusty
image: ubuntu
image_version: trusty
......@@ -43,5 +50,12 @@ docker:
- name: ca-store-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
......@@ -3,6 +3,10 @@
gather_facts: false
roles: [adarnimrod.openbsd-bootstrap]
- hosts: ca-store-xenial
gather_facts: false
roles: [adarnimrod.debian-bootstrap]
- hosts: all
roles: [ ca-store ]
post_tasks:
......
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