Skip to content

Commit

Permalink
update 1
Browse files Browse the repository at this point in the history
  • Loading branch information
bennojoy committed Dec 12, 2013
1 parent 9f214e1 commit a57138a
Show file tree
Hide file tree
Showing 33 changed files with 138 additions and 183 deletions.
1 change: 1 addition & 0 deletions kerberos_client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ None
License
-------

BSD

Author Information
------------------
Expand Down
16 changes: 8 additions & 8 deletions kerberos_client/meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
galaxy_info:
author: "Ansible Employee"
author: "Benno Joy"
company: AnsibleWorks
license: license (GPLv3)
license: license (BSD)
min_ansible_version: 1.4 (or higher)
platforms:
Centos 5/6
Rhel 5/6
Ubuntu 12.x/13.x
Fedora 17
categories:
dependencies:
- Centos 5/6
- Rhel 5/6
- Ubuntu 12.x/13.x
- Fedora 17
categories: []
dependencies: []

4 changes: 3 additions & 1 deletion kerberos_server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ Role Variables

The variables that can be passed to this role and a brief description about them are as follows:

```
realm_name: EXAMPLE.COM # The realm name for the kerneros server
kdc_port: 88 # The port in which kdc should listen
master_db_pass: foobar # Password for the master kerberos database
kadmin_pass: foobar # Password for the kerberos admin
kadmin_user: benz # Username for the kerberos server

```
- Examples

Following is an example which deploys are kerberos server with Realm as BENNO.COM and a admin user "root" and password "foobar"
Expand All @@ -39,6 +40,7 @@ None
License
-------

BSD

Author Information
------------------
Expand Down
13 changes: 0 additions & 13 deletions kerberos_server/kerberos_client/defaults/main.yml

This file was deleted.

21 changes: 0 additions & 21 deletions kerberos_server/kerberos_client/meta/main.yml

This file was deleted.

16 changes: 0 additions & 16 deletions kerberos_server/kerberos_client/tasks/main.yml

This file was deleted.

22 changes: 0 additions & 22 deletions kerberos_server/kerberos_client/templates/krb5.conf.j2

This file was deleted.

14 changes: 0 additions & 14 deletions kerberos_server/kerberos_client/vars/main.yml

This file was deleted.

16 changes: 8 additions & 8 deletions kerberos_server/meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
galaxy_info:
author: "Ansible Employee"
author: "Benno Joy"
company: AnsibleWorks
license: license (GPLv3)
license: license (BSD)
min_ansible_version: 1.4 (or higher)
platforms:
Centos 5/6
Rhel 5/6
Ubuntu 12.x/13.x
Fedora 17
categories:
dependencies:
- Centos 5/6
- Rhel 5/6
- Ubuntu 12.x/13.x
- Fedora 17
categories: []
dependencies: []
6 changes: 4 additions & 2 deletions kerberos_server/tasks/redhat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@

- name: Copy the kdc configuration file
template: src=kdc.conf.j2 dest=/var/kerberos/krb5kdc/kdc.conf
notify: restart kerberos
notify:
- restart kerberos

- name: Copy the kdc acl configuration file
template: src=kadm5.acl.j2 dest=/var/kerberos/krb5kdc/kadm5.acl
notify: restart kerberos
notify:
- restart kerberos

- name: Copy the client configuration file
template: src=krb5.conf.j2 dest=/etc/krb5.conf
Expand Down
6 changes: 4 additions & 2 deletions memcached/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ Role Variables

The variables that can be passed to this role and a brief description about them are as follows:


```
port: 11211 # The port in which memcached server should be listening
max_conn: 1024 # The number of max concurrent connections it shoud accept
cache_size: 64 # The cache size
fs_file_max: 756024 # The kernel paramter for max number of file handles

```
- Example

The following play setup's memcached with a diffrent port number and available memory
Expand All @@ -40,7 +40,9 @@ None
License
-------

BSD

Author Information
------------------

Ansible Staff
16 changes: 8 additions & 8 deletions memcached/meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
galaxy_info:
author: "Ansible Employee"
author: "Benno Joy"
company: AnsibleWorks
license: license (GPLv3)
license: license (BSD)
min_ansible_version: 1.4 (or higher)
platforms:
Centos 5/6
Rhel 5/6
Ubuntu 12.x/13.x
Fedora 17
categories:
dependencies:
- Centos 5/6
- Rhel 5/6
- Ubuntu 12.x/13.x
- Fedora 17
categories: []
dependencies: []

11 changes: 6 additions & 5 deletions memcached/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,23 @@

- name: Install the memcached packages
yum: name={{ item }} state=present
with_items: redhat_pkg
with_items: redhat_pkgs
when: ansible_os_family == "RedHat"

- name: Install the memcached packages
apt: name={{ item }} state=present update_cache=yes
with_items: ubuntu_pkg
with_items: ubuntu_pkgs
environment: env
when: ansible_os_family == "Debian"

- name: Copy the client configuration file
template: src=memcached.j2 dest=/etc/sysconfig/memcached
notify: restart memcached
template: src=memcached_redhat.j2 dest=/etc/sysconfig/memcached
notify:
- restart memcached
when: ansible_os_family == "RedHat"

- name: Copy the client configuration file
template: src=memcached.conf.j2 dest=/etc/memcached.conf
template: src=memcached_debian.j2 dest=/etc/memcached.conf
notify: restart memcached
when: ansible_os_family == "Debian"

Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions memcached/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
env:
RUNLEVEL: 1

redhat_pkg:
redhat_pkgs:
- libselinux-python
- memcached

ubuntu_pkg:
ubuntu_pkgs:
- python-selinux
- memcached

Expand Down
6 changes: 6 additions & 0 deletions mysql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Role Variables

The variables that can be passed to this role and a brief description about them are as follows:

```
mysql_port: 3306 # The Port for mysql server to listen
mysql_bind_address: "0.0.0.0" # The bind address for mysql server
mysql_root_db_pass: foobar # The root DB password
Expand All @@ -39,6 +40,8 @@ mysql_repl_user: # If the database is replicated the us
mysql_repl_role: master # The role of db in replication
mysql_db_id: 7 # A unique id for the mysql server (used in replication)
```

- Examples

1) Eg: Install mysql server and set the root password but dont create any database or users.
Expand Down Expand Up @@ -94,7 +97,10 @@ None
License
-------

BSD

Author Information
------------------

Ansible staff

16 changes: 8 additions & 8 deletions mysql/meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
galaxy_info:
author: "Ansible Employee"
author: "Benno Joy"
company: AnsibleWorks
license: license (GPLv3)
license: license (BSD)
min_ansible_version: 1.4 (or higher)
platforms:
Centos 5/6
Rhel 5/6
Ubuntu 12.x/13.x
Fedora 17
categories:
dependencies:
- Centos 5/6
- Rhel 5/6
- Ubuntu 12.x/13.x
- Fedora 17
categories: []
dependencies: []

3 changes: 2 additions & 1 deletion mysql/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@

- name: Copy the my.cnf file
template: src=my.cnf.{{ ansible_os_family }}.j2 dest={{ mysql_conf_dir }}/my.cnf
notify: restart mysql
notify:
- restart mysql

- name: Start the mysql services Redhat
service: name={{ mysql_service }} state=started enabled=yes
Expand Down
5 changes: 4 additions & 1 deletion network/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ Role Variables

The variables that can be passed to this role and a brief description about them are as follows:

```
network_ether_interfaces: [] #The list of ethernet interfaces to be added to the sytem
network_bridge_interfaces: [] #The list of bridge interfaces to be added to the sytem
network_bond_interfaces: [] #The list of bond interfaces to be added to the sytem
```

Note: The values for the list are listed in the example's below.

Expand Down Expand Up @@ -184,8 +186,9 @@ None
License
-------

BSD

Author Information
------------------


Ansible Staff
16 changes: 8 additions & 8 deletions network/meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
galaxy_info:
author: "Ansible Employee"
author: "Benno Joy"
company: AnsibleWorks
license: license (GPLv3)
license: license (BSD)
min_ansible_version: 1.4 (or higher)
platforms:
Centos 5/6
Rhel 5/6
Ubuntu 12.x/13.x
Fedora 17
categories:
dependencies:
- Centos 5/6
- Rhel 5/6
- Ubuntu 12.x/13.x
- Fedora 17
categories: []
dependencies: []

Loading

0 comments on commit a57138a

Please sign in to comment.