Skip to content

Instantly share code, notes, and snippets.

@gregbuehler
Created September 20, 2013 19:05
Show Gist options
  • Save gregbuehler/6642291 to your computer and use it in GitHub Desktop.
Save gregbuehler/6642291 to your computer and use it in GitHub Desktop.
- name: Create the base Ubuntu repository.
file: state=directory path={{ item }} owner=ubuntu group=ubuntu mode=0755 recurse=yes
with_items:
- "/srv/packages/ubuntu/conf"
- "/srv/packages/ubuntu/dists"
- "/srv/packages/ubuntu/dists"
- "/srv/packages/ubuntu/incoming"
- "/srv/packages/ubuntu/indices"
- "/srv/packages/ubuntu/logs"
- "/srv/packages/ubuntu/pool"
- "/srv/packages/ubuntu/project"
- "/srv/packages/ubuntu/tmp"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment