From 1606797e71e2e2d443b804f16fd476ba0a86efd8 Mon Sep 17 00:00:00 2001 From: vincent Date: Fri, 25 Aug 2023 14:12:38 +0200 Subject: [PATCH] style: yaml formatting --- ansible/playbooks/sssd.yml | 1 - ansible/playbooks/user_config.yml | 22 ++++++++++------------ 2 files changed, 10 insertions(+), 13 deletions(-) diff --git a/ansible/playbooks/sssd.yml b/ansible/playbooks/sssd.yml index 086ca14..6940f4c 100644 --- a/ansible/playbooks/sssd.yml +++ b/ansible/playbooks/sssd.yml @@ -3,4 +3,3 @@ roles: - role: ansible-role-sssd become: true - diff --git a/ansible/playbooks/user_config.yml b/ansible/playbooks/user_config.yml index f88f133..b0b605a 100644 --- a/ansible/playbooks/user_config.yml +++ b/ansible/playbooks/user_config.yml @@ -1,27 +1,25 @@ --- - hosts: all - roles: - role: ansible-user vars: - user_name: "{{ user.name }}" - user_ldap: "{{ sssd_configure}}" - user_password: "{{ userPassword }}" - user_authorized_key: "{{ user.authorized_keys}}" - user_privatekey: "{{ user.privatekey}}" - user_shell: "/bin/zsh" - user_uid: "{{ user.uid }}" + user_name: '{{ user.name }}' + user_ldap: '{{ sssd_configure}}' + user_password: '{{ userPassword }}' + user_authorized_key: '{{ user.authorized_keys}}' + user_privatekey: '{{ user.privatekey}}' + user_shell: '/bin/zsh' + user_uid: '{{ user.uid }}' user_groups: - docker become: true - become_user: "{{ user.name }}" + become_user: '{{ user.name }}' - role: user_config vars: - user_config_username: "{{ user.name }}" - become_user: "{{ user.name }}" + user_config_username: '{{ user.name }}' + become_user: '{{ user.name }}' become: true - role: user_config vars: user_config_username: root become: true -