Skip to content

Commit

Permalink
Update LDIF and add tag and force variable
Browse files Browse the repository at this point in the history
Update the LDIF with new password hash and add a tag
and new variable to make it easy to force an update
of the LDIF file on the training nodes.
  • Loading branch information
skoranda committed May 20, 2020
1 parent db7277d commit a2f9c2a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion roles/training/files/config-always-01.ldif
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ objectClass: account
objectClass: simpleSecurityObject
uid: registry_user
description: COmanage Registry user
userPassword: {CRYPT}$6$rounds=5000$RMNH6IpoChSTxPzx$r9c67vaf.vP7HExQTFeR.7kioNEWU5/BiJHfs/.3xjcYmJ9R594IIRpey.IyENS5iBdTnpfBOvOYqS/cCM/8.0
userPassword: {CRYPT}$6$rounds=5000$NONtmZNhW3kDoLfx$qbPetT/IJsOQmS0DqsklGkMKzTHysESz5/66NcEWWZ2ZhS4xo3BcLUbyiV5i4nwyNwxi.fKtj01iFQtBbo3y11

dn: ou=people,o=Training,dc=comanage,dc=incommon,dc=training
changetype: add
Expand Down
3 changes: 3 additions & 0 deletions roles/training/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@
owner: root
group: root
mode: '0644'
force: "{{ force_update_structure_ldif_file }}"
tags:
- update_structure_ldif_file

- name: Copy olcAccess LDIF input file
copy:
Expand Down
3 changes: 2 additions & 1 deletion roles/training/vars/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
force_update_stack_file: no
olc_root_pw: "{CRYPT}$6$rounds=5000$RMNH6IpoChSTxPzx$r9c67vaf.vP7HExQTFeR.7kioNEWU5/BiJHfs/.3xjcYmJ9R594IIRpey.IyENS5iBdTnpfBOvOYqS/cCM/8.0"
force_update_structure_ldif_file: no
olc_root_pw: "{CRYPT}$6$rounds=5000$NONtmZNhW3kDoLfx$qbPetT/IJsOQmS0DqsklGkMKzTHysESz5/66NcEWWZ2ZhS4xo3BcLUbyiV5i4nwyNwxi.fKtj01iFQtBbo3y11"
olc_root_dn_password: !vault |
$ANSIBLE_VAULT;1.1;AES256
39366562316237336539383637633263626163663337303965326336623465636638656437383764
Expand Down

0 comments on commit a2f9c2a

Please sign in to comment.