diff options
author | Ismaël Bouya <ismael.bouya@fretlink.com> | 2018-11-06 19:05:00 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@fretlink.com> | 2018-11-06 23:35:34 +0100 |
commit | d03cede672edcf559379ca0b12c80fd7b92cfb18 (patch) | |
tree | 8c5837ef90fe33ca0ebfcf33ab1524edd1e00673 /roles/init/tasks | |
parent | b227070796713b671fe499b7a1d3f767b5bb9b58 (diff) | |
download | Ansible-d03cede672edcf559379ca0b12c80fd7b92cfb18.tar.gz Ansible-d03cede672edcf559379ca0b12c80fd7b92cfb18.tar.zst Ansible-d03cede672edcf559379ca0b12c80fd7b92cfb18.zip |
Use check_mode for commands
Diffstat (limited to 'roles/init/tasks')
-rw-r--r-- | roles/init/tasks/main.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/init/tasks/main.yml b/roles/init/tasks/main.yml index edbd820..ce56ec4 100644 --- a/roles/init/tasks/main.yml +++ b/roles/init/tasks/main.yml | |||
@@ -3,6 +3,7 @@ | |||
3 | shell: 'GNUPGHOME=$XDG_CONFIG_HOME/gnupg gpgconf --list-dirs socketdir | sed -e "s@$XDG_RUNTIME_DIR/gnupg/@@"' | 3 | shell: 'GNUPGHOME=$XDG_CONFIG_HOME/gnupg gpgconf --list-dirs socketdir | sed -e "s@$XDG_RUNTIME_DIR/gnupg/@@"' |
4 | changed_when: false | 4 | changed_when: false |
5 | register: gnupg_runtime_dir_cmd | 5 | register: gnupg_runtime_dir_cmd |
6 | check_mode: no | ||
6 | - name: Add pam_environment | 7 | - name: Add pam_environment |
7 | register: pam_environment | 8 | register: pam_environment |
8 | template: | 9 | template: |