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

- Forked from the example role.

parent 4040255a
No related branches found
No related tags found
No related merge requests found
Example
Certbot
#######
.. image:: https://travis-ci.org/adarnimrod/example.svg?branch=master
:target: https://travis-ci.org/adarnimrod/example
.. image:: https://travis-ci.org/adarnimrod/certbot.svg?branch=master
:target: https://travis-ci.org/adarnimrod/certbot
An (empty) example Ansible role complete with working tests out of the box. For
more information read the `blog post
<https://www.shore.co.il/blog/ansible-example-role/>`_.
Provision Certbot.
Requirements
------------
......
---
# defaults file for example
# defaults file for certbot
---
# handlers file for example
# handlers file for certbot
galaxy_info:
author: Nimrod Adar
description: An example Ansible role
description: Provision Certbot
company: Shore technologies
license: MIT
min_ansible_version: 2.0
......@@ -8,8 +8,18 @@ galaxy_info:
- name: OpenBSD
versions:
- 6.0
- 5.9
- name: Ubuntu
versions:
- xenial
- trusty
- precise
- name: Debian
versions:
- stretch
- jessie
- wheezy
galaxy_tags: [ ansible ]
dependencies: []
dependencies:
- name: python27
src: adarnimrod.python27
......@@ -33,7 +33,7 @@ vagrant:
- name: wheezy
box: bmorg/debian-wheezy-i386
instances:
- name: example
- name: certbot
options:
append_platform_to_hostname: yes
raw_config_args:
......
---
# tasks file for example
# tasks file for certbot
- name: Assertions
assert:
......
---
- hosts: example-openbsd*
- hosts: certbot-openbsd*
gather_facts: false
roles:
- openbsd-bootstrap
......@@ -8,7 +8,7 @@
users_use_sudo: True
users_lock_root_ssh: False
- hosts: [example-xenial, example-wheezy]
- hosts: [certbot-xenial, certbot-wheezy]
gather_facts: false
roles:
- debian-bootstrap
......@@ -19,4 +19,4 @@
- hosts: all
roles:
- role: example
- role: certbot
---
# vars file for example
# vars file for certbot
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment