Skip to content

Ken24/ansible-role-owncloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role of Owncloud

Install owncloud.

Remarks

Requirements

  • OS: CentOS 6/7

I've checked on CentOS 6.5 and 7.0.

Role Variables

  • owncloud_db_add_on_mysql_enable

    • If you want to create table for external storages, set this variable to true.
    • If you set true, following variables are needed
    • owncloud_db_host: default value is localhost
    • owncloud_db_user: default value is owncloud
    • owncloud_db_pass: default value is owncloud
    • owndloud_db_table
      • name_to_be_created: the default value is owncloud
      • collation: the default value is utf8_general_ci
      • encoding: the default value is utf8
  • owncloud_php_timezone: timezone configuration in /etc/php.ini

  • owncloud_php_default_char: timezone configuration in /etc/php.ini.

Dependencies

  • A package libselinux-python is required in advance if SELinux is installed.
  • magnus919.epel: for installation of EPEL for CentOS systems
  • hostclick.remi_repo: for addition of Remi repository for CentOS systems

Example Playbook

- hosts: owncloud
  sudo: yes
  pre_tasks:
    - name: Ensure preriquisite packages are installed
      yum: name="{{ item }}" state=present
      with_items:
        - libselinux-python
  roles:
    - owncloud
  vars:
    owncloud_db_host: "{{ hostvars['other-db-host']['ansible_eth0']['ipv4']['address'] }}"

License

MIT

Author Information

Kenta Nishimura, data-science infrastructure engineers at a telecommunications company.

About

installation script of owncloud with ansible

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •