Skip to content

fix(roles): fix check mode on clean install#547

Open
ianlewis wants to merge 1 commit into
k3s-io:mainfrom
ianlewis:ansible-check
Open

fix(roles): fix check mode on clean install#547
ianlewis wants to merge 1 commit into
k3s-io:mainfrom
ianlewis:ansible-check

Conversation

@ianlewis

Copy link
Copy Markdown

Changes

Fix running ansible check mode (dry-run) on a clean install.

Several modules have issues when running on a clean install.

  • ansible.builtin.copy fails when the source file doesn't exist.
  • ansible.builtin.slurp fails when the source file doesn't exist.
  • ansible.builtin.service fails when the service doesn't exist.

Linked Issues

Signed-off-by: Ian Lewis <ian@ianlewis.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant