diff --git a/.github/workflows/requirements2png.yml b/.github/workflows/requirements2png.yml index a132e12..f12e0c3 100644 --- a/.github/workflows/requirements2png.yml +++ b/.github/workflows/requirements2png.yml @@ -31,5 +31,5 @@ jobs: uses: ad-m/github-push-action@master with: directory: ${{ github.repository }} - force: yes + force: true branch: png diff --git a/.yamllint b/.yamllint index 10d5946..cc50726 100644 --- a/.yamllint +++ b/.yamllint @@ -11,9 +11,6 @@ rules: line-length: disable truthy: check-keys: no - allowed-values: - - "yes" - - "no" ignore: | .tox/ diff --git a/README.md b/README.md index 3a83a90..17de9f3 100644 --- a/README.md +++ b/README.md @@ -14,8 +14,8 @@ This example is taken from [`molecule/default/converge.yml`](https://github.com/ --- - name: Converge hosts: all - become: yes - gather_facts: yes + become: true + gather_facts: true roles: - role: robertdebock.dovecot @@ -27,8 +27,8 @@ The machine needs to be prepared. In CI this is done using [`molecule/default/pr --- - name: Prepare hosts: all - become: yes - gather_facts: no + become: true + gather_facts: false roles: - role: robertdebock.bootstrap diff --git a/handlers/main.yml b/handlers/main.yml index 9e1106e..3bc77bc 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -5,7 +5,7 @@ ansible.builtin.copy: src: "{{ item.src }}" dest: "{{ item.dest }}" - remote_src: yes + remote_src: true mode: "0640" loop: - src: /usr/share/doc/dovecot/example-config/dovecot.conf diff --git a/molecule/default/converge.yml b/molecule/default/converge.yml index a76f202..fcae15a 100644 --- a/molecule/default/converge.yml +++ b/molecule/default/converge.yml @@ -1,8 +1,8 @@ --- - name: Converge hosts: all - become: yes - gather_facts: yes + become: true + gather_facts: true roles: - role: ansible-role-dovecot diff --git a/molecule/default/prepare.yml b/molecule/default/prepare.yml index f76c7bf..3687735 100644 --- a/molecule/default/prepare.yml +++ b/molecule/default/prepare.yml @@ -1,8 +1,8 @@ --- - name: Prepare hosts: all - become: yes - gather_facts: no + become: true + gather_facts: false roles: - role: robertdebock.bootstrap diff --git a/molecule/default/verify.yml b/molecule/default/verify.yml index 33b4171..d3466b4 100644 --- a/molecule/default/verify.yml +++ b/molecule/default/verify.yml @@ -1,8 +1,8 @@ --- - name: Verify hosts: all - become: yes - gather_facts: no + become: true + gather_facts: false tasks: - name: Check if ports are open diff --git a/tasks/assert.yml b/tasks/assert.yml index 3310c9a..c328ead 100644 --- a/tasks/assert.yml +++ b/tasks/assert.yml @@ -6,7 +6,7 @@ - dovecot_mailbox_location is defined - dovecot_mailbox_location is string - dovecot_mailbox_location is not none - quiet: yes + quiet: true - name: assert | Test dovecot_mail_access_groups ansible.builtin.assert: @@ -14,4 +14,4 @@ - dovecot_mail_access_groups is defined - dovecot_mail_access_groups is string - dovecot_mail_access_groups is not none - quiet: yes + quiet: true diff --git a/tasks/main.yml b/tasks/main.yml index 49077ec..1990a06 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -4,7 +4,7 @@ - name: Import assert.yml ansible.builtin.import_tasks: file: assert.yml - run_once: yes + run_once: true delegate_to: localhost - name: Install dovecot @@ -48,4 +48,4 @@ ansible.builtin.service: name: "{{ dovecot_service }}" state: started - enabled: yes + enabled: true