AlbanAndrieu.awstats

Nabla roles/alban_andrieu_awstats

This file was generated by Ansigenome. Do not edit this file directly but instead have a look at the files in the ./meta/ directory.

License Travis CI Branch Donate Ansible Galaxy Platforms

Ensures that mod awstats is installed (using apt) on apache.

Installation

This role requires at least Ansible v2.3.0.0. To install it, run:

Using ansible-galaxy:

$ ansible-galaxy install alban.andrieu.awstats

Using arm (Ansible Role Manager):

$ arm install alban.andrieu.awstats

Using git:

$ git clone https://github.com/AlbanAndrieu/ansible-awstats.git

Role dependencies

  • geerlingguy.apache

Documentation

More information about alban.andrieu.awstats can be found in the TODO official alban.andrieu.awstats documentation.

Role variables

List of default variables available in the inventory:

awstats_enabled: yes                       # Enable module

# Package states: present or installed or latest
awstats_pkg_state: present
# Repository states: present or absent
#awstats_repository_state: present

apache_directory : "apache2"
apache_conf_path: "/etc/{{ apache_directory }}"
apache_log_path: "/var/log/{{ apache_directory }}"
#apache_log_path: "${APACHE_LOG_DIR}"

awstats_conf_path: "/etc/awstats"
#awstats_conf_file: "awstats.conf.local"
awstats_domain: "home.nabla.mobi"
awstats_conf_file: "awstats.{{ awstats_sitedomain }}.conf"
#awstats_logfile: "{{ apache_log_path }}/other_vhosts_access.log"
#awstats_logfile: "zip -cd {{ apache_log_path }}/other_vhosts_access.log.*.gz |"
awstats_logfile: "zip -cd {{ apache_log_path }}/other_vhosts_access.log.*.gz |"
awstats_sitedomain: "{{ awstats_domain }}"

apache_awstats_enabled: yes
apache_create_vhosts: yes

apache_vhosts_awstats:
  - {servername: "localhost", serveradmin: "[email protected]", documentroot: "/usr/lib/cgi-bin"}

Detailed usage guide

Describe how to use in more detail...

Testing

$ ansible-galaxy install alban.andrieu.awstats
$ vagrant up

Contributing

The issue tracker is the preferred channel for bug reports, features requests and submitting pull requests.

For pull requests, editor preferences are available in the editor config for easy use in common text editors. Read more and download plugins at http://editorconfig.org.

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests and examples for any new or changed functionality.

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Authors and license

roles/alban_andrieu_awstats role was written by:

License

Feedback, bug-reports, requests, ...

Are welcome!


This role is part of the Nabla project. README generated by Ansigenome.


Alban Andrieu

linkedin

About

Ansible role to install awstats on apache

Install
ansible-galaxy install AlbanAndrieu.awstats
GitHub repository
License
gpl-3.0
Downloads
118
Owner
DevSecOps