Commit 391ca022 authored by Lars Beckers's avatar Lars Beckers

pyoxldapsync: fix linter issues

parent 3ae9f6fd
Pipeline #1857 passed with stage
in 46 seconds
...@@ -16,4 +16,3 @@ oxldapsync_ca_cert: "" ...@@ -16,4 +16,3 @@ oxldapsync_ca_cert: ""
oxldapsync_domain: "EXAMPLE" oxldapsync_domain: "EXAMPLE"
oxldapsync_ldap_port: 636 oxldapsync_ldap_port: 636
oxldapsync_ldap_user_filter: "(&(objectClass=user)(!(objectClass=computer))(uidNumber=*)(unixHomeDirectory=*)(!(userAccountControl:1.2.840.113556.1.4.803:=2))(!(|(sAMAccountName=subsonic)(sAMAccountName=gk-info))))" oxldapsync_ldap_user_filter: "(&(objectClass=user)(!(objectClass=computer))(uidNumber=*)(unixHomeDirectory=*)(!(userAccountControl:1.2.840.113556.1.4.803:=2))(!(|(sAMAccountName=subsonic)(sAMAccountName=gk-info))))"
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
- name: ensure the deploy key is available - name: ensure the deploy key is available
copy: copy:
src: "{{inventory_dir}}/files/deploy-keys/pyoxldapsync" src: "{{ inventory_dir }}/files/deploy-keys/pyoxldapsync"
dest: "/root/.ssh/pyoxldapsync" dest: "/root/.ssh/pyoxldapsync"
owner: root owner: root
group: root group: root
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
state: directory state: directory
owner: root owner: root
group: root group: root
mode: 0700 mode: '0700'
- name: configure sync - name: configure sync
template: template:
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
dest: /opt/pyoxldapsync/etc/ldapsync.conf dest: /opt/pyoxldapsync/etc/ldapsync.conf
owner: root owner: root
group: root group: root
mode: 0640 mode: '0640'
- name: run pyoxldapsync regularly - name: run pyoxldapsync regularly
copy: copy:
...@@ -39,4 +39,4 @@ ...@@ -39,4 +39,4 @@
dest: /etc/cron.d/pyoxldapsync dest: /etc/cron.d/pyoxldapsync
owner: root owner: root
group: root group: root
mode: 0755 mode: '0755'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment