aboutsummaryrefslogtreecommitdiffstats
path: root/roles/bootstrap/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/bootstrap/tasks')
-rw-r--r--roles/bootstrap/tasks/main.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/bootstrap/tasks/main.yml b/roles/bootstrap/tasks/main.yml
index b737188..24f4c82 100644
--- a/roles/bootstrap/tasks/main.yml
+++ b/roles/bootstrap/tasks/main.yml
@@ -8,6 +8,8 @@
- name: group - check deployment group
command: pw groupshow "{{ deploy_user }}"
register: pw_cmd
+ ignore_errors: true
+ changed_when: false
- name: group - create deployment group
command: pw groupadd "{{ deploy_user }}" -g 999
@@ -16,6 +18,8 @@
- name: user - check deployment user
command: pw usershow "{{ deploy_user }}"
register: pw_cmd
+ ignore_errors: true
+ changed_when: false
- name: user - create deployment user
command: >