diff --git a/tasks/deploy_user.yml b/tasks/deploy_user.yml new file mode 100644 index 0000000..163d458 --- /dev/null +++ b/tasks/deploy_user.yml @@ -0,0 +1,15 @@ +--- +- name: jekyll_site | Deploy User | Ensure deploy group exists + group: + name: "{{ deploy_group }}" + state: present + become: yes + +- name: jekyll_site | Deploy User | Ensure deploy user exists. + user: + name: "{{ deploy_user }}" + group: "{{ deploy_group }}" + state: present + create_home: yes + shell: /bin/bash + become: yes \ No newline at end of file