Change become arguments to boolean

Changed all 'become: ' values from 'yes' to 'true' to satisfy the schema
(and also make the lsp shut up).
This commit is contained in:
Marty Oehme 2022-12-18 16:02:32 +01:00
parent 385cb3859c
commit 7d8408f9f8
Signed by: Marty
GPG key ID: 73BA40D5AFAF49C9
28 changed files with 124 additions and 125 deletions

View file

@ -4,13 +4,13 @@
path: "{{ ntfy_upstream_file_dir }}"
state: directory
mode: '0755'
become: yes
become: true
- name: Move ntfy configuration file to target dir
ansible.builtin.template:
src: "server.yml.j2"
dest: "{{ ntfy_upstream_file_dir }}/server.yml"
become: yes
become: true
notify: "update ntfy upstream"
## install ntfy container
@ -21,7 +21,7 @@
curl localhost:2019/id/{{ stack_name }}_upstream/
register: result
changed_when: (result.stdout | from_json) != (lookup('template', 'upstream.json.j2') | from_yaml)
become: yes
become: true
notify: "update ntfy upstream"
- name: Deploy ntfy to swarm
@ -31,7 +31,7 @@
prune: yes
compose:
- "{{ stack_compose }}"
become: yes
become: true
tags:
- docker-swarm
notify: "update ntfy upstream"