Skip to content

Instantly share code, notes, and snippets.

@tnt
Created April 7, 2015 16:14
Show Gist options
  • Save tnt/4b73dc9caa62adc875cc to your computer and use it in GitHub Desktop.
Save tnt/4b73dc9caa62adc875cc to your computer and use it in GitHub Desktop.
diff --git a/ansible/plays/provision.yml b/ansible/plays/provision.yml
index bdc1e20..ed5011e 100644
--- a/ansible/plays/provision.yml
+++ b/ansible/plays/provision.yml
@@ -8,6 +8,9 @@
- role: debops.users
users: yes
users_list:
+ - name: 'www-data'
+ groups:
+ - 'www-data'
- name: "{{ app_user }}"
groups:
- 'www-data'
@@ -15,12 +18,13 @@
- "{{ lookup('file', '../id_rsa.pub') }}"
state: 'present'
- - dresden-weekly.Rails/ruby/rvm
+ - dresden-weekly.Rails/ruby/rbenv
- dresden-weekly.Rails/ruby/postgresql
- dresden-weekly.Rails/ruby/sqlite3
- dresden-weekly.Rails/rails/folders
- dresden-weekly.Rails/rails/logrotate
+ - dresden-weekly.Rails/selinux
- role: dresden-weekly.Rails/user/profile
rails_user_name: "{{ app_user }}"
@@ -39,6 +43,7 @@
- dresden-weekly.Rails/webrick/upstart
- dresden-weekly.Rails/nginx/server
- dresden-weekly.Rails/nginx/webrick
+ - dresden-weekly.Rails/firewalld
- include: deploy.yml
sudo: yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment