diff --git a/roles/common/tasks/add_github_ssh_hostkey.yml b/roles/common/tasks/add_github_ssh_hostkey.yml index 1769b58..c08cc95 100644 --- a/roles/common/tasks/add_github_ssh_hostkey.yml +++ b/roles/common/tasks/add_github_ssh_hostkey.yml @@ -3,7 +3,7 @@ local_action: command ssh-keyscan -t rsa github.com register: github_ssh_keyscan_result changed_when: false - always_run: yes + check_mode: no run_once: yes become: no diff --git a/roles/common/tasks/update_everything.yml b/roles/common/tasks/update_everything.yml index 6a0bebc..36af9bd 100644 --- a/roles/common/tasks/update_everything.yml +++ b/roles/common/tasks/update_everything.yml @@ -8,7 +8,7 @@ failed_when: false changed_when: false # Necessary to support --check mode - always_run: true + check_mode: no - name: Install sudo. apt: