From f27c92b68c11833de7e2ad33c41e63e5fe7789ac Mon Sep 17 00:00:00 2001 From: jo Date: Fri, 22 Sep 2023 10:09:38 +0200 Subject: [PATCH] refactor: fix forbidden implicit octal value Fix ansible-lint yaml[octal-values] https://ansible.readthedocs.io/projects/lint/rules/risky-octal/ --- molecule/default/create.yml | 2 +- molecule/default/destroy.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/molecule/default/create.yml b/molecule/default/create.yml index b33ceb6c82..c847720b32 100644 --- a/molecule/default/create.yml +++ b/molecule/default/create.yml @@ -34,4 +34,4 @@ {{ instance_conf | to_json | from_json | to_yaml }} dest: "{{ molecule_instance_config }}" - mode: 0600 + mode: "0600" diff --git a/molecule/default/destroy.yml b/molecule/default/destroy.yml index f4493abea5..37137c3de2 100644 --- a/molecule/default/destroy.yml +++ b/molecule/default/destroy.yml @@ -20,5 +20,5 @@ {{ instance_conf | to_json | from_json | to_yaml }} dest: "{{ molecule_instance_config }}" - mode: 0600 + mode: "0600" when: server.changed | default(false) | bool # noqa no-handler