Skip to content

Commit 88b2b5a

Browse files
jimrightwmudge
authored andcommitted
Remove initialize tasks in sudoers role (#42)
Signed-off-by: Jim Enright <jenright@cloudera.com>
1 parent 51a3d46 commit 88b2b5a

File tree

3 files changed

+0
-40
lines changed

3 files changed

+0
-40
lines changed

roles/sudoers/tasks/initialize.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

roles/sudoers/tasks/main.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
# Find the current CDP username.
18-
- name: Find and set env_admin_username
19-
include_tasks: initialize.yml
20-
2117
# If don't want to purge existing users from the FreeIPA group,
2218
# we'll query the group to get current users
2319
- name: Query sudoers group for list of users

roles/sudoers/tasks/teardown.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
# Find the current CDP username.
18-
- name: Find and set env_admin_username
19-
include_tasks: initialize.yml
20-
2117
# Remove the FreeIPA sudo rule
2218
- name: Remove sudo rule for passwordless sudo
2319
community.general.ipa_sudorule:

0 commit comments

Comments
 (0)