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

@ -7,7 +7,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 nextcloud upstream"
- name: Ensure target directory exists
@ -15,14 +15,14 @@
path: "{{ nextcloud_upstream_file_dir }}"
state: directory
mode: '0755'
become: yes
become: true
notify: "update nextcloud upstream"
- name: Move webserver Caddyfile to target dir
ansible.builtin.copy:
src: "Caddyfile"
dest: "{{ nextcloud_upstream_file_dir }}/Caddyfile"
become: yes
become: true
notify: "update nextcloud upstream"
- name: Deploy to swarm
@ -32,7 +32,7 @@
prune: yes
compose:
- "{{ stack_compose }}"
become: yes
become: true
tags:
- docker-swarm
notify: "update nextcloud upstream"