Skip to content

Commit

Permalink
Create group before adding nginx user to group
Browse files Browse the repository at this point in the history
  • Loading branch information
santosh committed Nov 26, 2021
1 parent 81a6563 commit 5e24320
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions roles/nginx/tasks/debian.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
- name: install nginx on debian
apt: name=nginx state=present
- name: create nginx group
group: name=nginx state=present
- name: create nginx user
user: name=nginx system=yes create_home=no shell=/bin/false group=nginx state=present

0 comments on commit 5e24320

Please sign in to comment.