From 58cb43d0d0726f2fce6de33f3b583f0ca9402230 Mon Sep 17 00:00:00 2001 From: Hadrien Patte Date: Sat, 2 Mar 2019 12:16:43 +0100 Subject: [PATCH] Fix: indentations and spaces Signed-off-by: Hadrien Patte --- group_vars/fleming/ldap_local_replica.yml | 4 +- group_vars/ovh-testing/ldap_local_replica.yml | 2 +- nginx-reverse-proxy.yml | 62 +++++++++---------- roles/baseconfig/tasks/main.yml | 22 +++---- roles/codimd/tasks/main.yml | 16 ++--- roles/ldap-client/tasks/0_install_ldap.yml | 6 +- 6 files changed, 56 insertions(+), 56 deletions(-) diff --git a/group_vars/fleming/ldap_local_replica.yml b/group_vars/fleming/ldap_local_replica.yml index f1e9e74..1a50bfc 100644 --- a/group_vars/fleming/ldap_local_replica.yml +++ b/group_vars/fleming/ldap_local_replica.yml @@ -1,4 +1,4 @@ --- ldap_local_replica_uri: -- 'ldap://ldap-replica-fleming1.adm.auro.re' -- 'ldap://ldap-replica-fleming2.adm.auro.re' + - 'ldap://ldap-replica-fleming1.adm.auro.re' + - 'ldap://ldap-replica-fleming2.adm.auro.re' diff --git a/group_vars/ovh-testing/ldap_local_replica.yml b/group_vars/ovh-testing/ldap_local_replica.yml index 71669e6..55da686 100644 --- a/group_vars/ovh-testing/ldap_local_replica.yml +++ b/group_vars/ovh-testing/ldap_local_replica.yml @@ -1,3 +1,3 @@ --- ldap_local_replica_uri: -- 'ldap://10.128.0.100' + - 'ldap://10.128.0.100' diff --git a/nginx-reverse-proxy.yml b/nginx-reverse-proxy.yml index 1c3fe15..ecbbded 100644 --- a/nginx-reverse-proxy.yml +++ b/nginx-reverse-proxy.yml @@ -3,35 +3,35 @@ - hosts: proxy.adm.auro.re vars: reversed_proxy_subdomains: - - name: re2o - from: re2o.auro.re - to: 10.128.0.10 - - name: intranet - from: intranet.auro.re - to: 10.128.0.10 - - name: pad - from: pad.auro.re - to: 10.128.0.54:9001 - - name: phabricator - from: phabricator.auro.re - to: 10.128.0.50 - - name: wiki - from: wiki.auro.re - to: 10.128.0.51 - - name: www - from: www.auro.re - to: 10.128.0.52 - - name: main - from: auro.re - to: 10.128.0.52 - - name: re2o-test - from: re2o-test.auro.re - to: 10.128.0.100 - - name: riot - from: riot.auro.re - to: riot.adm.auro.re - - name: codimd - from: codimd.auro.re - to: codimd.adm.auro.re:8080 + - name: re2o + from: re2o.auro.re + to: 10.128.0.10 + - name: intranet + from: intranet.auro.re + to: 10.128.0.10 + - name: pad + from: pad.auro.re + to: 10.128.0.54:9001 + - name: phabricator + from: phabricator.auro.re + to: 10.128.0.50 + - name: wiki + from: wiki.auro.re + to: 10.128.0.51 + - name: www + from: www.auro.re + to: 10.128.0.52 + - name: main + from: auro.re + to: 10.128.0.52 + - name: re2o-test + from: re2o-test.auro.re + to: 10.128.0.100 + - name: riot + from: riot.auro.re + to: riot.adm.auro.re + - name: codimd + from: codimd.auro.re + to: codimd.adm.auro.re:8080 roles: - - nginx-reverse-proxy + - nginx-reverse-proxy diff --git a/roles/baseconfig/tasks/main.yml b/roles/baseconfig/tasks/main.yml index c5fd792..2913b08 100644 --- a/roles/baseconfig/tasks/main.yml +++ b/roles/baseconfig/tasks/main.yml @@ -8,17 +8,17 @@ update_cache: yes vars: packages: - - bash-completion # for bash users - - zsh # alternative shell - - sudo # to gain root access - - git # code versioning - - nano # basic text editor - - vim # like nano but more powerful and complex - - htop # better than top - - less # i like cats - - tree # create a graphical tree of files - - ipython # better Python shell - - acl # for Ansible become support + - bash-completion # for bash users + - zsh # alternative shell + - sudo # to gain root access + - git # code versioning + - nano # basic text editor + - vim # like nano but more powerful and complex + - htop # better than top + - less # i like cats + - tree # create a graphical tree of files + - ipython # better Python shell + - acl # for Ansible become support # Pimp my server - name: Customize motd diff --git a/roles/codimd/tasks/main.yml b/roles/codimd/tasks/main.yml index 699ad36..6e88490 100644 --- a/roles/codimd/tasks/main.yml +++ b/roles/codimd/tasks/main.yml @@ -7,14 +7,14 @@ # Download CodiMD # TODO : temporally disabled until 1.3.0 is out (because of uws bug) -#- name: Clone CodiMD project -# git: -# repo: https://github.com/hackmdio/codimd.git -# dest: /var/local/codimd/codimd -# version: 1.2.1 -# become: yes -# become_user: codimd -# notify: Build front-end for CodiMD +# - name: Clone CodiMD project +# git: +# repo: https://github.com/hackmdio/codimd.git +# dest: /var/local/codimd/codimd +# version: 1.2.1 +# become: yes +# become_user: codimd +# notify: Build front-end for CodiMD # Setup dependencies and configs - name: Install CodiMD depedencies diff --git a/roles/ldap-client/tasks/0_install_ldap.yml b/roles/ldap-client/tasks/0_install_ldap.yml index 2b69c52..3019372 100644 --- a/roles/ldap-client/tasks/0_install_ldap.yml +++ b/roles/ldap-client/tasks/0_install_ldap.yml @@ -33,8 +33,8 @@ regexp: "^{{ item.key }}:" line: "{{ item.value }}" with_dict: - passwd: 'passwd: files ldap' - group: 'group: files ldap' - shadow: 'shadow: files ldap' + passwd: 'passwd: files ldap' + group: 'group: files ldap' + shadow: 'shadow: files ldap' sudoers: 'sudoers: files ldap' notify: Restart nslcd service