From 5dfd8eacc546a09322ac6928b1c3218b039e7c31 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Tue, 12 Mar 2019 17:04:06 +0100 Subject: [PATCH] Replace 'yes' by 'true' --- roles/basesecurity/tasks/main.yml | 2 +- roles/codimd/tasks/1_user_group.yml | 4 ++-- roles/etherpad/tasks/1_user_group.yml | 4 ++-- roles/ldap-replica/tasks/main.yml | 2 +- roles/matrix-appservice-discord/tasks/1_user_group.yml | 4 ++-- roles/matrix-appservice-irc/tasks/1_user_group.yml | 4 ++-- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/roles/basesecurity/tasks/main.yml b/roles/basesecurity/tasks/main.yml index 6b0f596..d21ad5e 100644 --- a/roles/basesecurity/tasks/main.yml +++ b/roles/basesecurity/tasks/main.yml @@ -22,4 +22,4 @@ - /usr/bin/chfn # With re2o - /bin/mount # Only root should mount - /bin/umount # Only root should umount - ignore_errors: yes # Sometimes file won't exist + ignore_errors: true # Sometimes file won't exist diff --git a/roles/codimd/tasks/1_user_group.yml b/roles/codimd/tasks/1_user_group.yml index 4d79ee0..8acc968 100644 --- a/roles/codimd/tasks/1_user_group.yml +++ b/roles/codimd/tasks/1_user_group.yml @@ -3,7 +3,7 @@ - name: Create CodiMD system group group: name: codimd - system: yes + system: true state: present # Security #2 @@ -13,7 +13,7 @@ group: codimd home: /var/local/codimd comment: CodiMD - system: yes + system: true state: present # Security #3 diff --git a/roles/etherpad/tasks/1_user_group.yml b/roles/etherpad/tasks/1_user_group.yml index 8c8110c..01c74ff 100644 --- a/roles/etherpad/tasks/1_user_group.yml +++ b/roles/etherpad/tasks/1_user_group.yml @@ -3,7 +3,7 @@ - name: Create EtherPad system group group: name: etherpad - system: yes + system: true state: present # Security #2 @@ -13,7 +13,7 @@ group: etherpad home: /var/local/etherpad comment: EtherPad - system: yes + system: true state: present # Security #3 diff --git a/roles/ldap-replica/tasks/main.yml b/roles/ldap-replica/tasks/main.yml index 4ad968e..45f99c5 100644 --- a/roles/ldap-replica/tasks/main.yml +++ b/roles/ldap-replica/tasks/main.yml @@ -51,7 +51,7 @@ path: "{{ item }}" owner: openldap group: openldap - recurse: yes + recurse: true with_items: - '/var/lib/ldap' - '/etc/ldap/slapd.d' diff --git a/roles/matrix-appservice-discord/tasks/1_user_group.yml b/roles/matrix-appservice-discord/tasks/1_user_group.yml index 2fe23be..42cac54 100644 --- a/roles/matrix-appservice-discord/tasks/1_user_group.yml +++ b/roles/matrix-appservice-discord/tasks/1_user_group.yml @@ -3,7 +3,7 @@ - name: Create matrix-appservice-discord system group group: name: matrix-appservice-discord - system: yes + system: true state: present # Security #2 @@ -13,7 +13,7 @@ group: matrix-appservice-discord home: /var/local/matrix-appservice-discord comment: Matrix Appservice Discord - system: yes + system: true state: present # Security #3 diff --git a/roles/matrix-appservice-irc/tasks/1_user_group.yml b/roles/matrix-appservice-irc/tasks/1_user_group.yml index 1c5d507..4c28899 100644 --- a/roles/matrix-appservice-irc/tasks/1_user_group.yml +++ b/roles/matrix-appservice-irc/tasks/1_user_group.yml @@ -3,7 +3,7 @@ - name: Create matrix-appservice-irc system group group: name: matrix-appservice-irc - system: yes + system: true state: present # Security #2 @@ -13,7 +13,7 @@ group: matrix-appservice-irc home: /var/local/matrix-appservice-irc comment: Matrix Appservice IRC - system: yes + system: true state: present # Security #3