Change 'always_run: yes' to 'check_mode: no'
Removes some deprecation warnings in ansible output
This commit is contained in:
parent
1359bb01e2
commit
e2b907ba54
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue