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 ...@@ -5,11 +5,16 @@ dist: trusty
sudo: false sudo: false
group: beta group: beta
services: [docker] services: [docker]
cache:
- pip
- directories:
- $HOME/.pre-commit
- $HOME/virtualenv
install: install:
- git submodule init - git submodule init
- git submodule update --remote - 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 - ansible-galaxy install git+file://$(pwd),$(git rev-parse --abbrev-ref HEAD) -p .molecule/roles
- molecule dependency - molecule dependency
......
CA store 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 An Ansible role to setup the CA store. The end goal is too have the same setup
on both OSes, meaning: on both OSes, meaning:
......
...@@ -5,7 +5,7 @@ ansible: ...@@ -5,7 +5,7 @@ ansible:
diff: True diff: True
config_file: ../ansible.cfg config_file: ../ansible.cfg
dependencies: dependency:
name: galaxy name: galaxy
requirements_file: tests/requirements.yml requirements_file: tests/requirements.yml
...@@ -16,7 +16,7 @@ vagrant: ...@@ -16,7 +16,7 @@ vagrant:
platforms: platforms:
- name: openbsd - name: openbsd
box: kaorimatz/openbsd-6.0-amd64 box: kaorimatz/openbsd-6.0-amd64
- name: debian - name: jessie
box: debian/jessie64 box: debian/jessie64
instances: instances:
- name: ca-store - name: ca-store
...@@ -33,8 +33,15 @@ docker: ...@@ -33,8 +33,15 @@ docker:
- name: ca-store-xenial - name: ca-store-xenial
image: ubuntu image: ubuntu
image_version: xenial 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: environment:
DEBIAN_FRONTEND: noninteractive DEBIAN_FRONTEND: noninteractive
container: docker
- name: ca-store-trusty - name: ca-store-trusty
image: ubuntu image: ubuntu
image_version: trusty image_version: trusty
...@@ -43,5 +50,12 @@ docker: ...@@ -43,5 +50,12 @@ docker:
- name: ca-store-jessie - name: ca-store-jessie
image: debian image: debian
image_version: jessie 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: environment:
DEBIAN_FRONTEND: noninteractive DEBIAN_FRONTEND: noninteractive
container: docker
...@@ -3,6 +3,10 @@ ...@@ -3,6 +3,10 @@
gather_facts: false gather_facts: false
roles: [adarnimrod.openbsd-bootstrap] roles: [adarnimrod.openbsd-bootstrap]
- hosts: ca-store-xenial
gather_facts: false
roles: [adarnimrod.debian-bootstrap]
- hosts: all - hosts: all
roles: [ ca-store ] roles: [ ca-store ]
post_tasks: post_tasks:
......
ansible==2.2.0.0 ansible==2.2.0.0
testinfra==1.4.3 testinfra==1.4.4
molecule==1.14.0 molecule==1.15.0
ansible-lint==3.4.4 ansible-lint==3.4.4
pre-commit==0.9.3 pre-commit==0.9.3
piprot==0.9.7 piprot==0.9.7
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment