change syntax "become: [yes,no]" → "become: [true,false]"
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2593|3|2590|23|:+1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/280//ansiblelint">Evolix » ansible-roles » unstable #280</a>
gitea/ansible-roles/pipeline/head This commit looks good
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2593|3|2590|23|:+1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/280//ansiblelint">Evolix » ansible-roles » unstable #280</a>
gitea/ansible-roles/pipeline/head This commit looks good
This commit is contained in:
parent
18f160fb83
commit
a6bac1f20b
10 changed files with 20 additions and 19 deletions
|
@ -21,7 +21,8 @@ The **patch** part changes is incremented if multiple releases happen the same m
|
|||
|
||||
### Changed
|
||||
|
||||
* all: change syntax "force: [yes,no]" → "force [true,false]"
|
||||
* all: change syntax "force: [yes,no]" → "force: [true,false]"
|
||||
* all: change syntax "become: [yes,no]" → "become: [true,false]"
|
||||
* elasticsearch: improve networking configuration
|
||||
* evolinux-users: remove Stretch references in tasks that also apply to next Debian versions
|
||||
* mysql: improve shell syntax for mysql_skip script
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
- name: Install Evolinux
|
||||
hosts: launched-instances
|
||||
become: yes
|
||||
become: true
|
||||
|
||||
vars_files:
|
||||
- 'vars/secrets.yml'
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
environment:
|
||||
TMPDIR: "{{ elasticsearch_plugin_head_tmp_dir }}"
|
||||
become_user: "{{ elasticsearch_plugin_head_owner }}"
|
||||
become: yes
|
||||
become: true
|
||||
|
||||
- name: Elasticsearch HTTP/CORS are enabled
|
||||
ansible.builtin.lineinfile:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
- hosts: default
|
||||
gather_facts: yes
|
||||
become: yes
|
||||
become: true
|
||||
|
||||
roles:
|
||||
# - squid
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- hosts: all
|
||||
become: yes
|
||||
become: true
|
||||
# gather_facts: no
|
||||
roles:
|
||||
- role: fail2ban
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
args:
|
||||
chdir: /srv/java-package
|
||||
creates: /srv/java-package/oracle-java8-server-jre_8u192_amd64.deb
|
||||
become: False
|
||||
become: false
|
||||
tags:
|
||||
- java
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
state: present
|
||||
loop:
|
||||
- "fr_FR.UTF-8"
|
||||
become: yes
|
||||
become: true
|
||||
notify: reconfigure locales
|
||||
|
||||
- name: set default locale
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
- block:
|
||||
- name: Create nrpe user
|
||||
become: yes
|
||||
become: true
|
||||
become_user: postgres
|
||||
community.postgresql.postgresql_user:
|
||||
name: nrpe
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
accept_hostkey: yes
|
||||
force: true
|
||||
become_user: "{{ username }}"
|
||||
become: yes
|
||||
become: true
|
||||
tags:
|
||||
- rbenv
|
||||
|
||||
|
@ -48,7 +48,7 @@
|
|||
create: yes
|
||||
loop: '{{ rbenv_default_gems }}'
|
||||
become_user: "{{ username }}"
|
||||
become: yes
|
||||
become: true
|
||||
tags:
|
||||
- rbenv
|
||||
|
||||
|
@ -57,7 +57,7 @@
|
|||
path: '{{ rbenv_root }}/plugins'
|
||||
state: directory
|
||||
become_user: "{{ username }}"
|
||||
become: yes
|
||||
become: true
|
||||
tags:
|
||||
- rbenv
|
||||
|
||||
|
@ -70,7 +70,7 @@
|
|||
force: true
|
||||
loop: "{{ rbenv_plugins }}"
|
||||
become_user: "{{ username }}"
|
||||
become: yes
|
||||
become: true
|
||||
tags:
|
||||
- rbenv
|
||||
|
||||
|
@ -82,7 +82,7 @@
|
|||
export PATH="{{ rbenv_root }}/bin:$PATH"
|
||||
eval "$(rbenv init -)"
|
||||
become_user: "{{ username }}"
|
||||
become: yes
|
||||
become: true
|
||||
tags:
|
||||
- rbenv
|
||||
|
||||
|
@ -94,7 +94,7 @@
|
|||
check_mode: False
|
||||
register: ruby_installed
|
||||
become_user: "{{ username }}"
|
||||
become: yes
|
||||
become: true
|
||||
tags:
|
||||
- rbenv
|
||||
|
||||
|
@ -103,7 +103,7 @@
|
|||
cmd: /bin/bash -lc "TMPDIR=~/tmp rbenv install {{ rbenv_ruby_version }}"
|
||||
when: ruby_installed.rc != 0
|
||||
become_user: "{{ username }}"
|
||||
become: yes
|
||||
become: true
|
||||
tags:
|
||||
- rbenv
|
||||
|
||||
|
@ -115,7 +115,7 @@
|
|||
failed_when: False
|
||||
check_mode: False
|
||||
become_user: "{{ username }}"
|
||||
become: yes
|
||||
become: true
|
||||
tags:
|
||||
- rbenv
|
||||
|
||||
|
@ -124,6 +124,6 @@
|
|||
cmd: /bin/bash -lc "rbenv global {{ rbenv_ruby_version }} && rbenv rehash"
|
||||
when: ruby_selected.rc != 0
|
||||
become_user: "{{ username }}"
|
||||
become: yes
|
||||
become: true
|
||||
tags:
|
||||
- rbenv
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
args:
|
||||
chdir: "/home/{{ redmine_user }}/www"
|
||||
become_user: "{{ redmine_user }}"
|
||||
become: yes
|
||||
become: true
|
||||
tags:
|
||||
- redmine
|
||||
|
||||
|
@ -72,7 +72,7 @@
|
|||
args:
|
||||
chdir: "/home/{{ redmine_user }}/www"
|
||||
become_user: "{{ redmine_user }}"
|
||||
become: yes
|
||||
become: true
|
||||
tags:
|
||||
- redmine
|
||||
|
||||
|
|
Loading…
Reference in a new issue