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

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

# Conflicts:
#	README.rst
#	defaults/main.yml
#	handlers/main.yml
#	molecule.yml
#	tasks/main.yml
#	tests/playbook.yml
#	vars/main.yml
parents 61ee4d35 03c5a8c2
Branches
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@ group: beta
services: [docker]
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
......@@ -17,3 +17,4 @@ script:
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/
email: false
Python 2.7
##########
.. image:: https://travis-ci.org/adarnimrod/python27.svg?branch=master
:target: https://travis-ci.org/adarnimrod/python27
Install Python 2.7, pip and packages to enable SSL SNI support (if needed).
Requirements
------------
See :code:`meta/main.yml`, :code:`tests/requirements.yml` and assertions at
the top of :code:`tasks/main.yml`.
See :code:`meta/main.yml` and assertions at the top of :code:`tasks/main.yml`.
Role Variables
--------------
......
---
# defaults file for ansible-role-python27
# defaults file for python27
---
# handlers file for ansible-role-python27
# handlers file for python27
galaxy_info:
author: Nimrod Adar
description: An example Ansible role
description: Install Python 2.7, pip and packages to enable SSL SNI support (if needed)
company: Shore technologies
license: MIT
min_ansible_version: 2.0
......@@ -20,5 +20,5 @@ galaxy_info:
versions:
- trusty
- xenial
galaxy_tags: [ ansible ]
galaxy_tags: [ ansible, python ]
dependencies: []
......@@ -25,7 +25,7 @@ vagrant:
- name: jessie
box: debian/jessie64
instances:
- name: ansible-role-python27
- name: python27
options:
append_platform_to_hostname: yes
raw_config_args:
......@@ -36,18 +36,23 @@ vagrant:
docker:
containers:
- name: ansible-role-python27-xenial
- name: python27-xenial
image: ubuntu
image_version: xenial
environment:
DEBIAN_FRONTEND: noninteractive
- name: ansible-role-python27-trusty
- name: python27-trusty
image: ubuntu
image_version: trusty
environment:
DEBIAN_FRONTEND: noninteractive
- name: ansible-role-python27-jessie
- name: python27-jessie
image: debian
image_version: jessie
environment:
DEBIAN_FRONTEND: noninteractive
- name: python27-stretch
image: debian
image_version: stretch
environment:
DEBIAN_FRONTEND: noninteractive
---
# tasks file for ansible-role-python27
# tasks file for python27
- name: Assertions
assert:
that:
......
---
- hosts: ansible-role-python27-openbsd*
- hosts: python27-openbsd*
gather_facts: False
roles: [openbsd_bootstrap]
roles: [adarnimrod.openbsd-bootstrap]
- hosts: ansible-role-python27-xenial
- hosts: python27-xenial
gather_facts: False
roles: [debian_bootstrap]
roles: [adarnimrod.debian-bootstrap]
- hosts: all
roles: [ansible-role-python27]
roles: [python27]
---
- src: https://github.com/adarnimrod/ansible-role-openbsd-bootstrap
scm: git
name: openbsd_bootstrap
- src: https://github.com/adarnimrod/ansible-role-debian-bootstrap
scm: git
name: debian_bootstrap
- src: adarnimrod.openbsd-bootstrap
- src: adarnimrod.debian-bootstrap
---
# vars file for ansible-role-python27
# vars file for python27
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment