Changeset - 96b84032cb00
[Not reviewed]
0 3 0
Branko Majic (branko) - 8 years ago 2016-06-17 22:22:48
branko@majic.rs
Noticket: No need to add the website admin to user group, this is the admin's main group anyway. Do not define admin variable for testsite wsgihello role."
3 files changed with 0 insertions and 7 deletions:
0 comments (0 inline, 0 general)
roles/php_website/tasks/main.yml
Show inline comments
 
@@ -26,9 +26,6 @@
 
  notify:
 
    - Restart nginx
 

	
 
- name: Add admin to website group
 
  user: name="{{ admin }}" groups="{{ user }}" append="yes"
 

	
 
- name: Install extra packages for website
 
  apt: name="{{ item }}" state=installed
 
  with_items: "{{ packages }}"
roles/wsgi_website/tasks/main.yml
Show inline comments
 
@@ -25,9 +25,6 @@
 
  notify:
 
    - Restart nginx
 

	
 
- name: Add admin to website group
 
  user: name="{{ admin }}" groups="{{ user }}" append="yes"
 

	
 
- name: Install extra packages for website
 
  apt: name="{{ item }}" state=present
 
  with_items: "{{ packages }}"
testsite/playbooks/roles/wsgihello/meta/main.yml
Show inline comments
 
@@ -2,7 +2,6 @@
 

	
 
dependencies:
 
  - role: wsgi_website
 
    admin: admin
 
    fqdn: wsgi.{{ testsite_domain }}
 
    admin_uid: 3001
 
    uid: 2001
0 comments (0 inline, 0 general)