Skip to content

Instantly share code, notes, and snippets.

@gregorg
Created January 31, 2015 16:59
Show Gist options
  • Save gregorg/4ad9ae89154091099428 to your computer and use it in GitHub Desktop.
Save gregorg/4ad9ae89154091099428 to your computer and use it in GitHub Desktop.
ownCloud role
- name: ownCloud APT key
apt_key: url=http://download.opensuse.org/repositories/isv:ownCloud:community:nightly/Debian_7.0/Release.key state=present
- name: ownCloud APT repository
apt_repository: repo="{{ item }}" state=present update_cache=yes
with_items:
- "deb http://download.opensuse.org/repositories/isv:/ownCloud:/community:/nightly/Debian_7.0/ /"
- name: Install ownCloud package
apt: pkg={{ item }} state=latest
with_items:
- owncloud
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment