Enforce String notation for mode

This commit is contained in:
Jérémy Lecour 2022-06-08 15:38:21 +02:00 committed by Jérémy Lecour
parent b677defd97
commit cbe7985814
7 changed files with 10 additions and 8 deletions

View File

@ -18,6 +18,8 @@ The **patch** part changes is incremented if multiple releases happen the same m
### Fixed ### Fixed
* Enforce String notation for mode
### Removed ### Removed
### Security ### Security

View File

@ -102,7 +102,7 @@
create: yes create: yes
owner: root owner: root
group: elasticsearch group: elasticsearch
mode: 0640 mode: "0640"
tags: tags:
- config - config
@ -114,7 +114,7 @@
create: yes create: yes
owner: root owner: root
group: elasticsearch group: elasticsearch
mode: 0640 mode: "0640"
tags: tags:
- config - config

View File

@ -32,7 +32,7 @@
create: yes create: yes
owner: root owner: root
group: elasticsearch group: elasticsearch
mode: 0640 mode: "0640"
notify: notify:
- restart elasticsearch - restart elasticsearch
tags: tags:

View File

@ -5,7 +5,7 @@
src: "{{ item }}" src: "{{ item }}"
dest: "{{ evobackup_client__cron_path }}" dest: "{{ evobackup_client__cron_path }}"
force: true force: true
mode: 0755 mode: "0755"
loop: "{{ query('first_found', templates) }}" loop: "{{ query('first_found', templates) }}"
vars: vars:
templates: templates:

View File

@ -46,7 +46,7 @@
template: template:
src: keepalived.conf.j2 src: keepalived.conf.j2
dest: /etc/keepalived/keepalived.conf dest: /etc/keepalived/keepalived.conf
mode: 0644 mode: "0644"
notify: restart keepalived notify: restart keepalived
tags: tags:
- keepalived - keepalived

View File

@ -13,13 +13,13 @@
copy: copy:
src: phpContainer src: phpContainer
dest: /usr/local/bin/phpContainer dest: /usr/local/bin/phpContainer
mode: 0755 mode: "0755"
# - name: Copy php shim to call phpContainer when the user is a web user # - name: Copy php shim to call phpContainer when the user is a web user
# copy: # copy:
# src: multiphp-shim # src: multiphp-shim
# dest: /usr/local/bin/php # dest: /usr/local/bin/php
# mode: 0755 # mode: "0755"
# - name: Modify bashrc skel file # - name: Modify bashrc skel file
# lineinfile: # lineinfile:

View File

@ -57,6 +57,6 @@
template: template:
src: templates/munin-plugin-instances.conf.j2 src: templates/munin-plugin-instances.conf.j2
dest: '/etc/munin/plugin-conf.d/evolinux.redis_{{ redis_instance_name }}' dest: '/etc/munin/plugin-conf.d/evolinux.redis_{{ redis_instance_name }}'
mode: 0740 mode: "0740"
notify: restart munin-node notify: restart munin-node
tags: redis tags: redis