Compare commits
2 Commits
wtome-devs
...
windows_ch
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
666165b5b5 | ||
|
|
12f3f1cc5d |
@@ -1,16 +1,13 @@
|
||||
---
|
||||
schemaVersion: 2.2.2
|
||||
schemaVersion: 2.2.0
|
||||
metadata:
|
||||
name: product-demos
|
||||
components:
|
||||
- name: tooling-container
|
||||
- name: product-demos-ee
|
||||
container:
|
||||
image: quay.io/ansible-product-demos/apd-ee-25 # ghcr.io/ansible/ansible-devspaces:latest
|
||||
image: quay.io/mloriedo/ansible-creator-ee:latest # workaround for https://github.com/eclipse/che/issues/21778
|
||||
memoryRequest: 256M
|
||||
memoryLimit: 5Gi
|
||||
cpuRequest: 250m
|
||||
cpuLimit: 2000m
|
||||
args:
|
||||
- 'tail'
|
||||
- '-f'
|
||||
- '/dev/null'
|
||||
args: ['tail', '-f', '/dev/null']
|
||||
|
||||
@@ -90,6 +90,13 @@
|
||||
containerBuildConfiguration:
|
||||
openShiftSecurityContextConstraint: container-build
|
||||
disableContainerBuildCapabilities: true
|
||||
defaultEditor: che-incubator/che-code/insiders
|
||||
defaultComponents:
|
||||
- container:
|
||||
image: >-
|
||||
registry.redhat.io/devspaces/udi-rhel8@sha256:aa39ede33bcbda6aa2723d271c79ab8d8fd388c7dfcbc3d4ece745b7e9c84193
|
||||
sourceMapping: /projects
|
||||
name: universal-developer-image
|
||||
defaultNamespace:
|
||||
autoProvision: true
|
||||
template: <username>-devspaces
|
||||
|
||||
18
windows/change_ad_user_pass.yml
Normal file
18
windows/change_ad_user_pass.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
- name: Create Active Directory domain
|
||||
hosts: "{{ _hosts | default('os_windows') }}"
|
||||
gather_facts: false
|
||||
vars:
|
||||
ad_user_name: "UserA" # Specify the user whose password you want to change
|
||||
new_password: "{{ lookup('community.general.random_string', min_lower=1, min_upper=1, min_special=1, min_numeric=1) }}"
|
||||
|
||||
tasks:
|
||||
- name: Update user password in Active Directory
|
||||
microsoft.ad.user:
|
||||
name: "{{ ad_user_name }}"
|
||||
password: "{{ new_password }}"
|
||||
update_password: always
|
||||
retries: 5
|
||||
delay: 10
|
||||
register: ad_user_update
|
||||
until: ad_user_update is succeeded
|
||||
Reference in New Issue
Block a user