From d4d6baed1afba5acf7ef483a93f1088f929c7da9 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Tue, 26 Mar 2019 09:17:46 +0100 Subject: [PATCH] Fix so everything is working fine today --- roles/baseconfig/tasks/main.yml | 4 ++-- roles/basesecurity/tasks/main.yml | 2 +- roles/ldap-client/tasks/0_install_ldap.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/baseconfig/tasks/main.yml b/roles/baseconfig/tasks/main.yml index c3d548e..e0b9dbb 100644 --- a/roles/baseconfig/tasks/main.yml +++ b/roles/baseconfig/tasks/main.yml @@ -61,8 +61,8 @@ # User skeleton - name: Configure user skeleton copy: - src: skel/dot_{{ item.key }} - dest: /etc/skel/.{{ item.value }} + src: "skel/dot_{{ item }}" + dest: "/etc/skel/.{{ item }}" loop: - zshrc - zshrc.local diff --git a/roles/basesecurity/tasks/main.yml b/roles/basesecurity/tasks/main.yml index 6ff69e8..be168f4 100644 --- a/roles/basesecurity/tasks/main.yml +++ b/roles/basesecurity/tasks/main.yml @@ -56,7 +56,7 @@ state: present notify: Restart fail2ban service loop: - - section: DEFAULT + - section: sshd option: ignoreip value: 10.128.0.254 # Whitelist bastion diff --git a/roles/ldap-client/tasks/0_install_ldap.yml b/roles/ldap-client/tasks/0_install_ldap.yml index d21bbb9..21dd6f6 100644 --- a/roles/ldap-client/tasks/0_install_ldap.yml +++ b/roles/ldap-client/tasks/0_install_ldap.yml @@ -33,7 +33,7 @@ lineinfile: dest: /etc/nsswitch.conf regexp: "^{{ item }}:" - line: "{{ item }}: files ldap" + line: "{{ item }}: files ldap" loop: - passwd - group