mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-07-31 11:54:47 +00:00
ipauser playbooks: Add names for tasks
ansible-lint does not like to have tasks without names. The comments have been adapted and transformed into name tags.
This commit is contained in:
@@ -4,8 +4,8 @@
|
|||||||
become: true
|
become: true
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
# Create user pinky
|
- name: Create user pinky
|
||||||
- ipauser:
|
ipauser:
|
||||||
ipaadmin_password: MyPassword123
|
ipaadmin_password: MyPassword123
|
||||||
name: pinky
|
name: pinky
|
||||||
first: pinky
|
first: pinky
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
become: true
|
become: true
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
# Remove user pinky and brain
|
- name: Delete and preserve user pinky
|
||||||
- ipauser:
|
ipauser:
|
||||||
ipaadmin_password: MyPassword123
|
ipaadmin_password: MyPassword123
|
||||||
name: pinky
|
name: pinky
|
||||||
preserve: yes
|
preserve: yes
|
||||||
@@ -4,8 +4,8 @@
|
|||||||
become: true
|
become: true
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
# Remove user pinky and brain
|
- name: Remove user pinky and brain
|
||||||
- ipauser:
|
ipauser:
|
||||||
ipaadmin_password: MyPassword123
|
ipaadmin_password: MyPassword123
|
||||||
name: pinky
|
name: pinky
|
||||||
state: disabled
|
state: disabled
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
become: true
|
become: true
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
# Remove user pinky and brain
|
- name: Disable user pinky
|
||||||
- ipauser:
|
ipauser:
|
||||||
ipaadmin_password: MyPassword123
|
ipaadmin_password: MyPassword123
|
||||||
name: pinky
|
name: pinky
|
||||||
state: disabled
|
state: disabled
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
become: true
|
become: true
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
# Remove user pinky and brain
|
- name: Enable user pinky
|
||||||
- ipauser:
|
ipauser:
|
||||||
ipaadmin_password: MyPassword123
|
ipaadmin_password: MyPassword123
|
||||||
name: pinky
|
name: pinky
|
||||||
state: disabled
|
state: disabled
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
become: true
|
become: true
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
# Remove user pinky and brain
|
- name: Undelete preserved user pinky
|
||||||
- ipauser:
|
ipauser:
|
||||||
ipaadmin_password: MyPassword123
|
ipaadmin_password: MyPassword123
|
||||||
name: pinky
|
name: pinky
|
||||||
state: undeleted
|
state: undeleted
|
||||||
|
|||||||
Reference in New Issue
Block a user