Skip to content

Commit

Permalink
docs: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
franklinkim committed May 14, 2019
1 parent 42723c8 commit 2a93b51
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ $ git clone https://github.com/weareinteractive/ansible-apache2.git franklinkim.

## Dependencies

* Ansible >= 2.0
* Ansible >= 2.4

## Variables

Expand Down Expand Up @@ -164,26 +164,28 @@ This is an example playbook:
# this examples uses related roles:
#
# - weareinteractive.apt (https://github.com/weareinteractive/ansible-apt)
# - franklinkim.openssl (https://github.com/weareinteractive/ansible-openssl)
# - franklinkim.htpasswd (https://github.com/weareinteractive/ansible-htpasswd)
# - weareinteractive.openssl (https://github.com/weareinteractive/ansible-openssl)
# - weareinteractive.htpasswd (https://github.com/weareinteractive/ansible-htpasswd)
- hosts: all
become: yes
roles:
- weareinteractive.apt
- franklinkim.openssl
- franklinkim.htpasswd
- weareinteractive.openssl
- weareinteractive.htpasswd
- franklinkim.apache2
vars:
htpasswd:
- name: foobar
users:
- { name: foobar, password: foobar }
apache2_modules:
- { id: ssl, state: present }
- { id: mime, state: present }
- { id: headers, state: present }
- { id: rewrite, state: present }
apache2_remove_default: yes
htpasswd:
- name: foobar
users:
- { name: foobar, password: foobar }
openssl_generate_csr: yes
openssl_self_signed:
- name: 'foobar.local'
country: 'DE'
Expand Down

0 comments on commit 2a93b51

Please sign in to comment.