summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRussell Harrison <rharriso@redhat.com>2016-01-29 15:46:39 -0500
committerRussell Harrison <rharriso@redhat.com>2016-01-29 15:46:39 -0500
commita871f7f96245cfcfeeb8a82b4137e76ff78b36c5 (patch)
tree884bd611ce1a8f755f5d218724696adbe4dd8f68
parentd11b162f2430c63c8074f938c73c97de15fe838a (diff)
downloadopenshift-a871f7f96245cfcfeeb8a82b4137e76ff78b36c5.tar.gz
openshift-a871f7f96245cfcfeeb8a82b4137e76ff78b36c5.tar.bz2
openshift-a871f7f96245cfcfeeb8a82b4137e76ff78b36c5.tar.xz
openshift-a871f7f96245cfcfeeb8a82b4137e76ff78b36c5.zip
Cleaning up the dyn ansible module for merging
-rw-r--r--roles/lib_dyn/README.md29
-rw-r--r--roles/lib_dyn/defaults/main.yml2
-rw-r--r--roles/lib_dyn/handlers/main.yml2
-rw-r--r--roles/lib_dyn/tasks/main.yml3
-rw-r--r--roles/lib_dyn/vars/main.yml2
5 files changed, 12 insertions, 26 deletions
diff --git a/roles/lib_dyn/README.md b/roles/lib_dyn/README.md
index 225dd44b9..1eec9f81c 100644
--- a/roles/lib_dyn/README.md
+++ b/roles/lib_dyn/README.md
@@ -1,38 +1,27 @@
-Role Name
+lib_dyn
=========
-A brief description of the role goes here.
+A role containing the dyn_record module for managing DNS records through Dyn's
+API
Requirements
------------
-Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required.
-
-Role Variables
---------------
-
-A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well.
-
-Dependencies
-------------
-
-A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles.
+The module requires the `dyn` python module for interacting with the Dyn API.
+https://github.com/dyninc/dyn-python
Example Playbook
----------------
-Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
+To make sure the `dyn_record` module is available for use include the role
+before it is used.
- hosts: servers
roles:
- - { role: username.rolename, x: 42 }
+ - lib_dyn
License
-------
-BSD
-
-Author Information
-------------------
+Apache
-An optional section for the role authors to include contact information, or a website (HTML is not allowed).
diff --git a/roles/lib_dyn/defaults/main.yml b/roles/lib_dyn/defaults/main.yml
deleted file mode 100644
index ccc2e8561..000000000
--- a/roles/lib_dyn/defaults/main.yml
+++ /dev/null
@@ -1,2 +0,0 @@
----
-# defaults file for lib_dyn
diff --git a/roles/lib_dyn/handlers/main.yml b/roles/lib_dyn/handlers/main.yml
deleted file mode 100644
index 2074235d2..000000000
--- a/roles/lib_dyn/handlers/main.yml
+++ /dev/null
@@ -1,2 +0,0 @@
----
-# handlers file for lib_dyn
diff --git a/roles/lib_dyn/tasks/main.yml b/roles/lib_dyn/tasks/main.yml
index 35ee62e81..9b3b1b0b9 100644
--- a/roles/lib_dyn/tasks/main.yml
+++ b/roles/lib_dyn/tasks/main.yml
@@ -1,2 +1,5 @@
---
# tasks file for lib_dyn
+
+- name: Make sure python-dyn is installed
+ yum: name=python-dyn state=present
diff --git a/roles/lib_dyn/vars/main.yml b/roles/lib_dyn/vars/main.yml
deleted file mode 100644
index 4b2f35586..000000000
--- a/roles/lib_dyn/vars/main.yml
+++ /dev/null
@@ -1,2 +0,0 @@
----
-# vars file for lib_dyn