summaryrefslogtreecommitdiff
path: root/test/integration/targets/become/tasks
diff options
context:
space:
mode:
authorMartin Krizek <martin.krizek@gmail.com>2017-09-18 15:20:58 +0200
committerBrian Coca <bcoca@users.noreply.github.com>2017-09-19 18:11:22 -0400
commit32d6b1d0e0b27d8e446eefd148e575813942e0b2 (patch)
tree25bac0ead41e5f94b83459f5cd5fd4a0d3fdb567 /test/integration/targets/become/tasks
parent22c8522cbf0d1e804325a4f78fc0f8e170040812 (diff)
downloadansible-32d6b1d0e0b27d8e446eefd148e575813942e0b2.tar.gz
user: fix default non-system user's shell on macOS
Diffstat (limited to 'test/integration/targets/become/tasks')
-rw-r--r--test/integration/targets/become/tasks/su.yml12
1 files changed, 0 insertions, 12 deletions
diff --git a/test/integration/targets/become/tasks/su.yml b/test/integration/targets/become/tasks/su.yml
index e4d37a3959..01e40b6aa7 100644
--- a/test/integration/targets/become/tasks/su.yml
+++ b/test/integration/targets/become/tasks/su.yml
@@ -4,18 +4,6 @@
become_method: su
user:
name: "{{ become_test_user }}"
- when: ansible_distribution != "MacOSX"
-
-
-- name: Create test user (become_method=su)
- become: True
- become_user: root
- become_method: su
- user:
- name: "{{ become_test_user }}"
- # explicitly set user shell since the default shell on OS X is /usr/bin/false
- shell: /bin/bash
- when: ansible_distribution == "MacOSX"
- name: test becoming user (become_method=su)
shell: whoami