Change 'always_run: yes' to 'check_mode: no'

Removes some deprecation warnings in ansible output
This commit is contained in:
Charlie O'Keefe 2018-03-21 10:50:01 -06:00
parent 1359bb01e2
commit e2b907ba54
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
local_action: command ssh-keyscan -t rsa github.com local_action: command ssh-keyscan -t rsa github.com
register: github_ssh_keyscan_result register: github_ssh_keyscan_result
changed_when: false changed_when: false
always_run: yes check_mode: no
run_once: yes run_once: yes
become: no become: no

View File

@ -8,7 +8,7 @@
failed_when: false failed_when: false
changed_when: false changed_when: false
# Necessary to support --check mode # Necessary to support --check mode
always_run: true check_mode: no
- name: Install sudo. - name: Install sudo.
apt: apt: