style: yaml formatting
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
vincent 2023-08-25 14:12:38 +02:00
parent 8e30abd428
commit 1606797e71
2 changed files with 10 additions and 13 deletions

View File

@ -3,4 +3,3 @@
roles: roles:
- role: ansible-role-sssd - role: ansible-role-sssd
become: true become: true

View File

@ -1,27 +1,25 @@
--- ---
- hosts: all - hosts: all
roles: roles:
- role: ansible-user - role: ansible-user
vars: vars:
user_name: "{{ user.name }}" user_name: '{{ user.name }}'
user_ldap: "{{ sssd_configure}}" user_ldap: '{{ sssd_configure}}'
user_password: "{{ userPassword }}" user_password: '{{ userPassword }}'
user_authorized_key: "{{ user.authorized_keys}}" user_authorized_key: '{{ user.authorized_keys}}'
user_privatekey: "{{ user.privatekey}}" user_privatekey: '{{ user.privatekey}}'
user_shell: "/bin/zsh" user_shell: '/bin/zsh'
user_uid: "{{ user.uid }}" user_uid: '{{ user.uid }}'
user_groups: user_groups:
- docker - docker
become: true become: true
become_user: "{{ user.name }}" become_user: '{{ user.name }}'
- role: user_config - role: user_config
vars: vars:
user_config_username: "{{ user.name }}" user_config_username: '{{ user.name }}'
become_user: "{{ user.name }}" become_user: '{{ user.name }}'
become: true become: true
- role: user_config - role: user_config
vars: vars:
user_config_username: root user_config_username: root
become: true become: true